Olá pessoal, boa tarde.
Estou utilizando o webwork2/xwork1.3 há algum tempo, e recebo a seguinte exceção quando faço algumas requisições ao server (tomcat ou jboss/tomcat):
[http9909-Processor23] ERROR com.opensymphony.xwork.util.XWorkConverter - Problem loading properties for java.io.Serializable
java.lang.NullPointerException
Como disse, em algumas outras requisições o mesmo não acontece. Tentei bastante, mas não consegui identificar as diferenças entre as classes.
Bizarro é que, mesmo com o erro, todas as requisições são completadas normalmente, sem nenhum dado corrompido.
Procurei no google, e absolutamente nada
O stack trace completo:
7:47:53,250 [http9909-Processor23] ERROR com.opensymphony.xwork.util.XWorkConverter - Problem loading properties for java.io.Serializable
ava.lang.NullPointerException
at com.opensymphony.util.ClassLoaderUtil.getResource(ClassLoaderUtil.java:48)
at com.opensymphony.util.FileManager.loadFile(FileManager.java:64)
at com.opensymphony.xwork.util.XWorkConverter.addConverterMapping(XWorkConverter.java:323)
at com.opensymphony.xwork.util.XWorkConverter.buildConverterMapping(XWorkConverter.java:374)
at com.opensymphony.xwork.util.XWorkConverter.getConverter(XWorkConverter.java:165)
at com.opensymphony.xwork.util.XWorkConverter.convertValue(XWorkConverter.java:117)
at ognl.OgnlRuntime.getConvertedType(OgnlRuntime.java:660)
at ognl.OgnlRuntime.getConvertedTypes(OgnlRuntime.java:676)
at ognl.OgnlRuntime.getConvertedMethodAndArgs(OgnlRuntime.java:699)
at ognl.OgnlRuntime.getAppropriateMethod(OgnlRuntime.java:756)
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:767)
at ognl.OgnlRuntime.setMethodValue(OgnlRuntime.java:937)
at ognl.ObjectPropertyAccessor.setPossibleProperty(ObjectPropertyAccessor.java:76)
at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:132)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
at com.opensymphony.xwork.util.CompoundRootAccessor.setProperty(CompoundRootAccessor.java:45)
at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:180)
at ognl.SimpleNode.setValue(SimpleNode.java:230)
at ognl.Ognl.setValue(Ognl.java:476)
at com.opensymphony.xwork.util.OgnlValueStack.setValue(OgnlValueStack.java:114)
at com.opensymphony.xwork.util.OgnlValueStack.setValue(OgnlValueStack.java:98)
at com.opensymphony.xwork.interceptor.ParametersInterceptor.before(ParametersInterceptor.java:66)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:34)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.TimerInterceptor.intercept(TimerInterceptor.java:63)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)
at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.serviceAction(ServletDispatcher.java:273)
at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:243)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at com.opensymphony.webwork.lifecycle.RequestLifecycleFilter.doFilter(RequestLifecycleFilter.java:67)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
at java.lang.Thread.run(Thread.java:536)
Valeu pessoal