我有一个非常大的网络项目,运行良好的deltaspike 0.5和os890 @viewaccesscoped实现。
现在,我一直试图升级到DS 0.7,但遇到了相当大的挑战。 我试图在另一个项目中重现错误,但我没能得到NPE。
无论如何,我只是想知道是否有人见过类似的东西,或者可以给我一个提示,从哪里开始调试:
stacktrace:
java.lang.NullPointerException
org.apache.deltaspike.jsf.impl.injection.AbstractBeanStorage.add(AbstractBeanStorage.java:35)
org.apache.deltaspike.jsf.impl.injection.RequestDependentBeanStorage.add(RequestDependentBeanStorage.java:24)
org.apache.deltaspike.jsf.impl.injection.ManagedArtifactResolver.getContextualReference(ManagedArtifactResolver.java:87)
org.apache.deltaspike.jsf.impl.injection.ManagedArtifactResolver.resolveManagedConverter(ManagedArtifactResolver.java:53)
org.apache.deltaspike.jsf.impl.injection.InjectionAwareApplicationWrapper.managedOrDefaultConverter(InjectionAwareApplicationWrapper.java:74)
org.apache.deltaspike.jsf.impl.injection.InjectionAwareApplicationWrapper.createConverter(InjectionAwareApplicationWrapper.java:54)
org.primefaces.config.ConfigContainer.initConfig(ConfigContainer.java:100)
org.primefaces.config.ConfigContainer.<init>(ConfigContainer.java:82)
org.primefaces.context.DefaultApplicationContext.<init>(DefaultApplicationContext.java:35)
org.primefaces.context.DefaultRequestContext.getApplicationContext(DefaultRequestContext.java:227)
org.primefaces.metadata.ComponentMetadataTransformerListener.processEvent(ComponentMetadataTransformerListener.java:40)
javax.faces.event.SystemEvent.processListener(SystemEvent.java:43)
org.apache.myfaces.application.ApplicationImpl._traverseListenerList(ApplicationImpl.java:2493)
org.apache.myfaces.application.ApplicationImpl.access$000(ApplicationImpl.java:120)
org.apache.myfaces.application.ApplicationImpl$SystemListenerEntry.publish(ApplicationImpl.java:2684)
org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:601)
org.apache.myfaces.application.ApplicationImpl.publishEvent(ApplicationImpl.java:616)
javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:336)
javax.faces.application.ApplicationWrapper.publishEvent(ApplicationWrapper.java:336)
org.apache.deltaspike.jsf.impl.injection.InjectionAwareApplicationWrapper.publishEvent(InjectionAwareApplicationWrapper.java:121)
org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:283)
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:170)
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
org.apache.deltaspike.jsf.impl.listener.request.DeltaSpikeLifecycleWrapper.execute(DeltaSpikeLifecycleWrapper.java:89)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
祝你好运, HW