[
https://issues.apache.org/jira/browse/WW-4911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342854#comment-16342854
]
nick commented on WW-4911:
--------------------------
22:40:04,650 INFO [stdout] (http-/127.0.0.1:8080-6) LOAD COPY ME BEGIN
22:40:04,650 INFO [stdout] (http-/127.0.0.1:8080-6) <?xml version="1.0"
encoding="UTF-8" ?>
22:40:04,650 INFO [stdout] (http-/127.0.0.1:8080-6) <!--
22:40:04,650 INFO [stdout] (http-/127.0.0.1:8080-6) /*
22:40:04,658 INFO [stdout] (http-/127.0.0.1:8080-6) * Licensed to the Apache
Software Foundation (ASF) under one
22:40:04,658 INFO [stdout] (http-/127.0.0.1:8080-6) * or more contributor
license agreements. See the NOTICE file
22:40:04,658 INFO [stdout] (http-/127.0.0.1:8080-6) * distributed with this
work for additional information
22:40:04,658 INFO [stdout] (http-/127.0.0.1:8080-6) * regarding copyright
ownership. The ASF licenses this file
22:40:04,666 INFO [stdout] (http-/127.0.0.1:8080-6) * to you under the Apache
License, Version 2.0 (the
22:40:04,666 INFO [stdout] (http-/127.0.0.1:8080-6) * "License"); you may not
use this file except in compliance
22:40:04,666 INFO [stdout] (http-/127.0.0.1:8080-6) * with the License. You
may obtain a copy of the License at
22:40:04,666 INFO [stdout] (http-/127.0.0.1:8080-6) *
22:40:04,666 INFO [stdout] (http-/127.0.0.1:8080-6) *
http://www.apache.org/licenses/LICENSE-2.0
22:40:04,674 INFO [stdout] (http-/127.0.0.1:8080-6) *
22:40:04,674 INFO [stdout] (http-/127.0.0.1:8080-6) * Unless required by
applicable law or agreed to in writing,
22:40:04,674 INFO [stdout] (http-/127.0.0.1:8080-6) * software distributed
under the License is distributed on an
22:40:04,674 INFO [stdout] (http-/127.0.0.1:8080-6) * "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY
22:40:04,682 INFO [stdout] (http-/127.0.0.1:8080-6) * KIND, either express or
implied. See the License for the
22:40:04,682 INFO [stdout] (http-/127.0.0.1:8080-6) * specific language
governing permissions and limitations
22:40:04,689 INFO [stdout] (http-/127.0.0.1:8080-6) * under the License.
22:40:04,689 INFO [stdout] (http-/127.0.0.1:8080-6) */
22:40:04,689 INFO [stdout] (http-/127.0.0.1:8080-6) -->
22:40:04,689 INFO [stdout] (http-/127.0.0.1:8080-6) <!DOCTYPE struts PUBLIC
22:40:04,689 INFO [stdout] (http-/127.0.0.1:8080-6) "-//Apache Software
Foundation//DTD Struts Configuration 2.5//EN"
22:40:04,697 INFO [stdout] (http-/127.0.0.1:8080-6)
"http://struts.apache.org/dtds/struts-2.5.dtd">
22:40:04,697 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,697 INFO [stdout] (http-/127.0.0.1:8080-6) <struts>
22:40:04,697 INFO [stdout] (http-/127.0.0.1:8080-6) <bean
type="org.apache.struts2.json.JSONWriter" name="struts"
class="org.apache.struts2.json.DefaultJSONWriter"
22:40:04,697 INFO [stdout] (http-/127.0.0.1:8080-6)
scope="prototype"/>
22:40:04,705 INFO [stdout] (http-/127.0.0.1:8080-6) <constant
name="struts.json.writer" value="struts"/>
22:40:04,705 INFO [stdout] (http-/127.0.0.1:8080-6) <!-- TODO: Make
DefaultJSONWriter thread-safe to remove "prototype"s -->
22:40:04,705 INFO [stdout] (http-/127.0.0.1:8080-6) <bean
class="org.apache.struts2.json.JSONUtil" scope="prototype"/>
22:40:04,705 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,713 INFO [stdout] (http-/127.0.0.1:8080-6) <package
name="json-default" extends="struts-default">
22:40:04,713 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,713 INFO [stdout] (http-/127.0.0.1:8080-6) <result-types>
22:40:04,713 INFO [stdout] (http-/127.0.0.1:8080-6) <result-type
name="json" class="org.apache.struts2.json.JSONResult"/>
22:40:04,721 INFO [stdout] (http-/127.0.0.1:8080-6) <result-type
name="jsonActionRedirect"
class="org.apache.struts2.json.JSONActionRedirectResult"/>
22:40:04,721 INFO [stdout] (http-/127.0.0.1:8080-6) </result-types>
22:40:04,721 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,721 INFO [stdout] (http-/127.0.0.1:8080-6) <interceptors>
22:40:04,721 INFO [stdout] (http-/127.0.0.1:8080-6) <interceptor
name="json" class="org.apache.struts2.json.JSONInterceptor"/>
22:40:04,728 INFO [stdout] (http-/127.0.0.1:8080-6) <interceptor
name="jsonValidation"
class="org.apache.struts2.json.JSONValidationInterceptor"/>
22:40:04,728 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,728 INFO [stdout] (http-/127.0.0.1:8080-6) <!-- Sample
JSON validation stack -->
22:40:04,728 INFO [stdout] (http-/127.0.0.1:8080-6)
<interceptor-stack name="jsonValidationWorkflowStack">
22:40:04,728 INFO [stdout] (http-/127.0.0.1:8080-6)
<interceptor-ref name="basicStack"/>
22:40:04,728 INFO [stdout] (http-/127.0.0.1:8080-6)
<interceptor-ref name="validation">
22:40:04,736 INFO [stdout] (http-/127.0.0.1:8080-6) <param
name="excludeMethods">input,back,cancel</param>
22:40:04,736 INFO [stdout] (http-/127.0.0.1:8080-6)
</interceptor-ref>
22:40:04,736 INFO [stdout] (http-/127.0.0.1:8080-6)
<interceptor-ref name="jsonValidation"/>
22:40:04,736 INFO [stdout] (http-/127.0.0.1:8080-6)
<interceptor-ref name="workflow"/>
22:40:04,736 INFO [stdout] (http-/127.0.0.1:8080-6)
</interceptor-stack>
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6) </interceptors>
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6) </package>
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6) </struts>
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6)
22:40:04,744 INFO [stdout] (http-/127.0.0.1:8080-6) COPY ME END
> 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)