struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nick (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4911) JSONResult exception in struts2-json-plugin-2.5.14.1.jar
Date Mon, 22 Jan 2018 20:02:01 GMT

    [ https://issues.apache.org/jira/browse/WW-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334815#comment-16334815
] 

nick commented on WW-4911:
--------------------------

{color:#008080}<?{color}{color:#3f7f7f}xml{color} {color:#7f007f}version{color}=_{color:#2a00ff}"1.0"{color}_
{color:#7f007f}encoding{color}=_{color:#2a00ff}"UTF-8"{color}_{color:#008080}?>{color}

{color:#008080}<!{color}{color:#3f7f7f}DOCTYPE{color} {color:#008080}struts{color} {color:#808080}PUBLIC{color}

{color:#008080}"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"{color}

{color:#3f7f5f}"http://struts.apache.org/dtds/struts-2.5.dtd"{color}{color:#008080}>{color}
 

{color:#008080}<{color}{color:#3f7f7f}struts{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}constant{color} {color:#7f007f}name{color}=_{color:#2a00ff}"struts.devMode"{color}_
{color:#7f007f}value{color}=_{color:#2a00ff}"${env.STRUTS_DEV_MODE:true}"{color}_ {color:#008080}/>{color}

{color:#008080}<{color}{color:#3f7f7f}constant{color} {color:#7f007f}name{color}=_{color:#2a00ff}"struts.enable.DynamicMethodInvocation"{color}_
{color:#7f007f}value{color}=_{color:#2a00ff}"true"{color}_ {color:#008080}/>{color}

{color:#008080}<{color}{color:#3f7f7f}constant{color} {color:#7f007f}name{color}=_{color:#2a00ff}"struts.custom.i18n.resources"{color}_
{color:#7f007f}value{color}=_{color:#2a00ff}"ApplicationResources"{color}_ {color:#008080}/>{color}

{color:#008080}<{color}{color:#3f7f7f}constant{color} {color:#7f007f}name{color}=_{color:#2a00ff}"struts.action.extension"{color}_
{color:#7f007f}value{color}=_{color:#2a00ff}"action"{color}_{color:#008080}/>{color}

{color:#008080}<{color}{color:#3f7f7f}constant{color} {color:#7f007f}name{color}=_{color:#2a00ff}"struts.multipart.saveDir"{color}_
{color:#7f007f}value{color}=_{color:#2a00ff}"${env.JBOSS_HOME}"{color}_ {color:#008080}/>{color}
 

{color:#008080}<{color}{color:#3f7f7f}package{color} {color:#7f007f}name{color}=_{color:#2a00ff}"fasAction"{color}_
{color:#7f007f}namespace{color}=_{color:#2a00ff}"/"{color}_ {color:#7f007f}extends{color}=_{color:#2a00ff}"struts-default"{color}_{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}global-results{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}result{color} {color:#7f007f}name{color}=_{color:#2a00ff}"error"{color}_
{color:#7f007f}type{color}=_{color:#2a00ff}"redirect"{color}_{color:#008080}>{color}/ErrorPage.jsp{color:#008080}</{color}{color:#3f7f7f}result{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}result{color} {color:#7f007f}name{color}=_{color:#2a00ff}"home"{color}_
{color:#7f007f}type{color}=_{color:#2a00ff}"redirectAction"{color}_{color:#008080}>{color}UserHome.action{color:#008080}</{color}{color:#3f7f7f}result{color}{color:#008080}>{color}

{color:#008080}</{color}{color:#3f7f7f}global-results{color}{color:#008080}>{color}
 

{color:#008080}<{color}{color:#3f7f7f}global-exception-mappings{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}exception-mapping{color} {color:#7f007f}exception{color}=_{color:#2a00ff}"java.lang.Exception"{color}_
{color:#7f007f}result{color}=_{color:#2a00ff}"error"{color}_{color:#008080}/>{color}

{color:#008080}<{color}{color:#3f7f7f}exception-mapping{color} {color:#7f007f}exception{color}=_{color:#2a00ff}"java.sql.SQLIntegrityConstraintViolationException"{color}_
{color:#7f007f}result{color}=_{color:#2a00ff}"error"{color}_{color:#008080}/>{color}

{color:#008080}</{color}{color:#3f7f7f}global-exception-mappings{color}{color:#008080}> {color}

{color:#008080} {color}

{color:#008080}<{color}{color:#3f7f7f}action{color} {color:#7f007f}name{color}=_{color:#2a00ff}"requestTestLoadAction"{color}_
{color:#7f007f}class{color}=_{color:#2a00ff}"com.nick.action.RequestTestDataAction"{color}_
{color:#7f007f}method{color}=_{color:#2a00ff}"requestTestLoadAction"{color}_ {color:#008080}>{color}

 

{color:#008080}<{color}{color:#3f7f7f}result{color} {color:#7f007f}name{color}=_{color:#2a00ff}"success"{color}_{color:#008080}>{color}/requestTest.jsp{color:#008080}</{color}{color:#3f7f7f}result{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}result{color} {color:#7f007f}name{color}=_{color:#2a00ff}"error"{color}_{color:#008080}>{color}/ErrorPage.jsp{color:#008080}</{color}{color:#3f7f7f}result{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}result{color} {color:#7f007f}name{color}=_{color:#2a00ff}"input"{color}_{color:#008080}>{color}/RequestTest.jsp{color:#008080}</{color}{color:#3f7f7f}result{color}{color:#008080}>{color}

{color:#008080}</{color}{color:#3f7f7f}action{color}{color:#008080}>{color}

{color:#008080}</{color}{color:#3f7f7f}package{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}package{color} {color:#7f007f}name{color}=_{color:#2a00ff}"json-default"{color}_
{color:#7f007f}namespace{color}=_{color:#2a00ff}"/"{color}_ {color:#7f007f}extends{color}=_{color:#2a00ff}"struts-default"{color}_{color:#008080}>{color}
 

{color:#008080}<{color}{color:#3f7f7f}result-types{color}{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}result-type{color} {color:#7f007f}name{color}=_{color:#2a00ff}"json"{color}_
{color:#7f007f}class{color}=_{color:#2a00ff}"org.apache.struts2.json.JSONResult"{color}_{color:#008080}/>{color}

{color:#008080}</{color}{color:#3f7f7f}result-types{color}{color:#008080}>{color}
 

{color:#008080}<{color}{color:#3f7f7f}action{color} {color:#7f007f}name{color}=_{color:#2a00ff}"jsonTestAction"{color}_
{color:#7f007f}class{color}=_{color:#2a00ff}"com.nick.action.TestAction"{color}_{color:#008080}>{color}

{color:#008080}<{color}{color:#3f7f7f}result{color} {color:#7f007f}type{color}=_{color:#2a00ff}"json"{color}_{color:#008080}>{color}/Test.jsp{color:#008080}</{color}{color:#3f7f7f}result{color}{color:#008080}>{color}

{color:#008080}</{color}{color:#3f7f7f}action{color}{color:#008080}>{color}
 
{color:#008080}</{color}{color:#3f7f7f}package{color}{color:#008080}>{color}

{color:#008080}</{color}{color:#3f7f7f}struts{color}{color:#008080}>{color}
 

> JSONResult exception in struts2-json-plugin-2.5.14.1.jar 
> ---------------------------------------------------------
>
>                 Key: WW-4911
>                 URL: https://issues.apache.org/jira/browse/WW-4911
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - JSON
>    Affects Versions: 2.5.14.1
>         Environment: Java, JSON, Hibernate, Struts2
>            Reporter: nick
>            Priority: Critical
>              Labels: easyfix
>             Fix For: 2.5.15
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Error log:
> 12:09:16,381 ERROR [stderr] (http-/127.0.0.1:8080-4) ERROR DefaultActionInvocation There
was an exception while instantiating the result of type org.apache.struts2.json.JSONResult
> 12:09:16,397 ERROR [stderr] (http-/127.0.0.1:8080-4)  com.opensymphony.xwork2.inject.DependencyException:
com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found
for dependency [type=org.apache.struts2.json.JSONUtil, name='default'] in public void org.apache.struts2.json.JSONResult.setJsonUtil(org.apache.struts2.json.JSONUtil).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message