cancel
Showing results for 
Search instead for 
Did you mean: 

Export Modeler Error in Weblogic 12c

pksahoo
Champ in-the-making
Champ in-the-making
I deployed Activiti explorer in weblogic 12c environment. I got error while export modeler.

Any thought??

Error 500–Internal Server Error

java.lang.NullPointerException
   at org.activiti.explorer.ExplorerApp.terminalError(ExplorerApp.java:239)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleURI(AbstractCommunicationManager.java:2310)
   at com.vaadin.terminal.gwt.server.CommunicationManager.handleURI(CommunicationManager.java:377)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.handleURI(AbstractApplicationServlet.java:1099)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:535)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:844)
   at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
   at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
   at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
   at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
   at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
   at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
   at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:74)
   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
   at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
   at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
   at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
   at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
   at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
   at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2089)
   at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
   at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
   at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:254)
   at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
   at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
7 REPLIES 7

jbarrez
Star Contributor
Star Contributor
Not really. The exception only gives the Vaadin side of things, not the Activiti side. Any more stacktraces in there, that has the org.activiti package in it? (not org.activiti.explorer)

pksahoo
Champ in-the-making
Champ in-the-making
No more stack available. I got this error in screen. It works fine if I deploy in Tomcat, but it failed in Weblogic 12c. I am thinking about some weblogic security is not allow to download stream the export file.

jbarrez
Star Contributor
Star Contributor
Hmm that would indeed be a very weblogic thing to do :s But without more exception stacktrace it is looking for a needle in a haystack :s

pksahoo
Champ in-the-making
Champ in-the-making
I have done few round of testing with Activiti Modeler export Issue. Here is my test result below:

Tomcat + Activiti 5.15.1 + (Oracle, H2) =  Modeler Export SUCCESS
Tomcat + Activiti 5.17.0 + H2 =  Modeler Export SUCCESS

Weblogic 12c + Activiti 5.15.1 + (Oracle, H2) =  Modeler Export FAILED (looks like Weblogic security Issue)
Weblogic 12c + Activiti 5.17.0 + H2 =  Modeler Export SUCCESS

jbarrez
Star Contributor
Star Contributor
Hmmm it does indeed look like a weird combination of the Oracle driver and weblogic. Surely Activiti can't be the only one suffering from this behaviour on weblogic?

pksahoo
Champ in-the-making
Champ in-the-making
Error only in Actviti 5.15.1 and not in Activiti 5.17.0

jbarrez
Star Contributor
Star Contributor
So .. good news that the most recent versions works, right 😉