[
https://issues.apache.org/jira/browse/WW-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16340603#comment-16340603
]
nick commented on WW-4911:
--------------------------
00:24:57,662 INFO [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss
EAP 6.4.0.GA (AS 7.5.0.Final-redhat-21) started in 44983ms - Started 490 of 547
services (81 services are lazy, passive or on-demand)
00:25:36,387 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-bean-validation-plugin-2.5.14.1.jar/struts-plugin.xml
00:25:36,387 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-embeddedjsp-plugin-2.5.14.1.jar/struts-plugin.xml
00:25:36,387 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-gxp-plugin-2.5.14.1.jar/struts-plugin.xml
00:25:36,403 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-jasperreports-plugin-2.5.14.1.jar/struts-plugin.xml
00:25:36,419 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-jfreechart-plugin-2.5.14.1.jar/struts-plugin.xml
00:25:36,419 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-json-plugin-2.5.14.1.jar/struts-plugin.xml
00:25:36,419 INFO [stdout] (http-/127.0.0.1:8080-2) COPY ME:
vfs:/C:/TOOLS/jboss-eap-6.4/bin/content/NXFolio.war/WEB-INF/lib/struts2-tiles-plugin-2.5.14.1.jar/struts-plugin.xml
---
I checked the code and saw one JsonResult jsonResponse list as Map <String,
String>. Not sure if Map list is conflicted.
$.getJSON('RequestTrackerAction.action', function (jsonResponse) {
$.each(jsonResponse.subjectRegionLinkedMap, function (key, value) {
$('<option>').val(key).text(value).appendTo($('#subjectRegion'));
$('<option>').val(key).text(value).appendTo($('#AS_subjectRegion'));
});
> 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: test
> Fix For: 2.5.15
>
> Attachments: server.log.json14
>
> 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)