JBoss Community

Help: Error happened when access "http://localhost:8080/gwt-console-server/rs/process/instance/1/dataset"

created by he jack in jBPM - View the full document

Can any body give me help? Thanks very much.

 

org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException

org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:319)

org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:230)

org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:206)

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:360)

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)

javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)

org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

 

 

 

root cause

java.lang.RuntimeException: Could not initialize stateful knowledge session: java.lang.reflect.InvocationTargetException
     org.jbpm.integration.console.CommandDelegate.newStatefulKnowledgeSession(CommandDelegate.java:185)
     org.jbpm.integration.console.CommandDelegate.getSession(CommandDelegate.java:193)
     org.jbpm.integration.console.CommandDelegate.<init>(CommandDelegate.java:71)
     org.jbpm.integration.console.ProcessManagement.<init>(ProcessManagement.java:35)
     org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:22)
     org.jbpm.integration.console.ManagementFactory.createProcessManagement(ManagementFactory.java:19)
     org.jboss.bpm.console.server.ProcessMgmtFacade.getProcessManagement(ProcessMgmtFacade.java:98)
     org.jboss.bpm.console.server.ProcessMgmtFacade.getInstanceData(ProcessMgmtFacade.java:222)
     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     java.lang.reflect.Method.invoke(Method.java:597)
     org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117)
     org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232)
     org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166)
     org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356)
     org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93)
     org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68)
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
     org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
     org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

.....

Caused by: java.lang.ClassCastException: org.h2.index.PageDataLeaf cannot be cast to org.h2.index.PageBtree

at org.h2.index.PageBtreeIndex.getPage(PageBtreeIndex.java:139)

at org.h2.index.PageBtreeIndex.<init>(PageBtreeIndex.java:60)

at org.h2.table.TableData.addIndex(TableData.java:209)

at org.h2.store.PageStore.addMeta(PageStore.java:1339)

at org.h2.store.PageStore.redo(PageStore.java:1185)

at org.h2.store.PageLog.recover(PageLog.java:285)

at org.h2.store.PageStore.recover(PageStore.java:1051)

at org.h2.store.PageStore.openExisting(PageStore.java:310)

at org.h2.store.PageStore.open(PageStore.java:268)

at org.h2.engine.Database.getPageStore(Database.java:2305)

at org.h2.engine.Database.open(Database.java:624)

at org.h2.engine.Database.openDatabase(Database.java:227)

... 6 more

Comment by going to Community

Create a new document in jBPM at Community