0

I am migrating to GateIn 3.6( JBOSS7) . The following error occurs since my project war have a dependancy with exo.ws.rest.core-2.3.3-GA since it is deployed in JBOSS7(GateIn3.6)

Caused by: java.lang.reflect.InvocationTargetException

18:36:02,711 ERROR [stderr] (http--0.0.0.0-8087-1) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at java.lang.reflect.Method.invoke(Method.java:597)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:457)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) ... 302 more

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) Caused by: org.apache.cxf.jaxrs.client.ClientWebApplicationException: java.lang.NullPointerException

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.handleResponse(WebClient.java:839)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:816)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:743)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.doInvoke(WebClient.java:717)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.invoke(WebClient.java:344)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.get(WebClient.java:469)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at com.radiant.cisms.services.WorkflowProcessService.getBusinessRuleList(WorkflowProcessService.java:489)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at com.radiant.cisms.services.WorkflowProcessService$$FastClassByCGLIB$$b715c2f2.invoke()

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:700)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:635)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at com.radiant.cisms.services.WorkflowProcessService$$EnhancerByCGLIB$$14154f1.getBusinessRuleList()

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at com.radiant.cisms.view.bean.BusinessRuleBean.getBusinessRuleList(BusinessRuleBean.java:69)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) ... 307 more

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) Caused by: java.lang.NullPointerException

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.exoplatform.services.rest.impl.ResponseImpl$ResponseBuilderImpl.(ResponseImpl.java:217)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.exoplatform.services.rest.impl.ResponseImpl$ResponseBuilderImpl.clone(ResponseImpl.java:284)

18:36:02,727 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.AbstractClient.setResponseBuilder(AbstractClient.java:381)

18:36:02,742 ERROR [stderr] (http--0.0.0.0-8087-1) at org.apache.cxf.jaxrs.client.WebClient.handleResponse(WebClient.java:829)

18:36:02,742 ERROR [stderr] (http--0.0.0.0-8087-1) ... 322 more

expecting a solution...

4

1 回答 1

0

正如我在gatein pom.xml中看到的,Gatein 3.6.x 使用的 exo.ws 版本是

    <org.exoplatform.ws.version>2.3.4-GA</org.exoplatform.ws.version>

所以我认为升级你对 exo.ws 的依赖可以解决你的问题。

罗曼

于 2013-11-04T14:40:49.580 回答