JBoss Community

Re: Errors starting JBoss with jBPM

created by Laura delli Paoli in jBPM - View the full discussion

Thanks, now I can access both consoles, but I still get an error:

15:27:04,229 ERROR [org.drools.guvnor.server.files.PackageDeploymentServlet] (http-localhost-127.0.0.1-8080-4) null: java.lang.NullPointerException

          at java.io.OutputStream.write(Unknown Source) [rt.jar:1.6.0_32]

          at org.drools.guvnor.server.files.FileManagerService.loadBinaryPackage(FileManagerService.java:195) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.FileManagerService$Proxy$_$$_WeldClientProxy.loadBinaryPackage(FileManagerService$Proxy$_$$_WeldClientProxy.java) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:260) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:58) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:139) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.1.Final.jar:3.1.1.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.1.Final.jar:3.1.1.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

 

 

15:27:04,261 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/drools-guvnor].[PackageDeploymentServlet]] (http-localhost-127.0.0.1-8080-4) Servlet.service() for servlet PackageDeploymentServlet threw exception: java.lang.NullPointerException

          at java.io.OutputStream.write(Unknown Source) [rt.jar:1.6.0_32]

          at org.drools.guvnor.server.files.FileManagerService.loadBinaryPackage(FileManagerService.java:195) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.FileManagerService$Proxy$_$$_WeldClientProxy.loadBinaryPackage(FileManagerService$Proxy$_$$_WeldClientProxy.java) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.PackageDeploymentServlet$1.execute(PackageDeploymentServlet.java:260) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.RepositoryServlet.doAuthorizedAction(RepositoryServlet.java:58) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at org.drools.guvnor.server.files.PackageDeploymentServlet.doGet(PackageDeploymentServlet.java:139) [guvnor-webapp-core-5.4.0-SNAPSHOT.jar:5.4.0-SNAPSHOT]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.1.Final.jar:3.1.1.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.1.Final.jar:3.1.1.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897) [jbossweb-7.0.13.Final.jar:]

          at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626) [jbossweb-7.0.13.Final.jar:]

          at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039) [jbossweb-7.0.13.Final.jar:]

          at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]

 

 

15:27:04,289 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) java.lang.RuntimeException: KnowledgeAgent exception while trying to deserialize KnowledgeDefinitionsPackage 

 

 

15:27:04,291 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:776)

 

 

15:27:04,292 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.agent.impl.KnowledgeAgentImpl.incrementalBuildResources(KnowledgeAgentImpl.java:955)

 

 

15:27:04,293 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.agent.impl.KnowledgeAgentImpl.buildKnowledgeBase(KnowledgeAgentImpl.java:675)

 

 

15:27:04,294 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:203)

 

 

15:27:04,295 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.agent.impl.KnowledgeAgentImpl.applyChangeSet(KnowledgeAgentImpl.java:182)

 

 

15:27:04,296 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.loadKnowledgeBase(StatefulKnowledgeSessionUtil.java:200)

 

 

15:27:04,297 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.initializeStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:144)

 

 

15:27:04,299 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil$SessionHolder.<clinit>(StatefulKnowledgeSessionUtil.java:127)

 

 

15:27:04,300 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.StatefulKnowledgeSessionUtil.getStatefulKnowledgeSession(StatefulKnowledgeSessionUtil.java:131)

 

 

15:27:04,301 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.SessionInitializer.<init>(SessionInitializer.java:25)

 

 

15:27:04,302 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.TaskManagement.<init>(TaskManagement.java:51)

 

 

15:27:04,303 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:26)

 

 

15:27:04,304 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jbpm.integration.console.ManagementFactory.createTaskManagement(ManagementFactory.java:19)

 

 

15:27:04,305 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.bpm.console.server.TaskListFacade.getTaskManagement(TaskListFacade.java:72)

 

 

15:27:04,306 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:101)

 

 

15:27:04,307 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

 

15:27:04,308 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

 

 

15:27:04,309 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

 

 

15:27:04,310 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at java.lang.reflect.Method.invoke(Unknown Source)

 

 

15:27:04,311 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

 

 

15:27:04,312 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)

 

 

15:27:04,313 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)

 

 

15:27:04,314 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

 

 

15:27:04,315 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

 

 

15:27:04,316 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

 

 

15:27:04,317 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

 

 

15:27:04,318 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

 

 

15:27:04,320 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

 

 

15:27:04,321 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)

 

 

15:27:04,323 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

 

 

15:27:04,326 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)

 

 

15:27:04,328 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

 

 

15:27:04,329 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

 

 

15:27:04,330 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)

 

 

15:27:04,331 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)

 

 

15:27:04,334 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)

 

 

15:27:04,335 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)

 

 

15:27:04,336 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)

 

 

15:27:04,337 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)

 

 

15:27:04,338 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)

 

 

15:27:04,340 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

 

 

15:27:04,341 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

 

 

15:27:04,342 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)

 

 

15:27:04,343 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:897)

 

 

15:27:04,345 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:626)

 

 

15:27:04,346 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)

 

 

15:27:04,347 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at java.lang.Thread.run(Unknown Source)

 

 

15:27:04,373 ERROR [stderr] (http-localhost-127.0.0.1-8080-1) Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/package/defaultPackage/LATEST

 

 

15:27:04,376 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

 

 

15:27:04,377 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.io.impl.UrlResource.grabStream(UrlResource.java:210)

 

 

15:27:04,378 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.io.impl.UrlResource.getInputStream(UrlResource.java:146)

 

 

15:27:04,379 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           at org.drools.agent.impl.KnowledgeAgentImpl.createPackageFromResource(KnowledgeAgentImpl.java:748)

 

 

15:27:04,380 ERROR [stderr] (http-localhost-127.0.0.1-8080-1)           ... 46 more

Reply to this message by going to Community

Start a new discussion in jBPM at Community