'java.lang.NullPointerException' when using JSP from workspace in 5.7 (Doc ID 1337159.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version: 5.7.3 and later   [Release: and later ]
Information in this document applies to any platform.

Symptoms

  Following error when using a JSP
: The task could not be successfully executed. Reason: 'java.lang.NullPointerException'.
(cont) ] Main: Reason: 'java.lang.NullPointerException'.
[ (cont) ] Main: Caused by: java.lang.NullPointerException
[ (cont) ] Main:
[ (cont) ] Main: fuego.lang.ComponentExecutionException: The task could not be successfully executed.
[ (cont) ] Main: Reason: 'java.lang.NullPointerException'.
[ (cont) ] Main: at fuego.portal.wapi.InteractiveExecution.setExecutionError(InteractiveExecution.java:430)
[ (cont) ] Main: at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:177)
[ (cont) ] Main: at fuego.portal.wapi.WebInteractiveExecution.process(WebInteractiveExecution.java:56)
[ (cont) ] Main: at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:200)
[ (cont) ] Main: at fuego.portal.servlet.ExecutionDispatcher.runGlobalActivity(ExecutionDispatcher.java:681)
[ (cont) ] Main: at fuego.portal.servlet.ExecutionDispatcher.processRequest(ExecutionDispatcher.java:144)
[ (cont) ] Main: at fuego.portal.servlet.ExecutionDispatcher.doPost(ExecutionDispatcher.java:105)
[ (cont) ] Main: at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
[ (cont) ] Main: at fuego.portal.servlet.AuthenticatedWamServlet.service(AuthenticatedWamServlet.java:1056)
[ (cont) ] Main: at fuego.portal.servlet.SingleThreadPerSession.service(SingleThreadPerSession.java:73)
[ (cont) ] Main: at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
[ (cont) ] Main: at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
[ (cont) ] Main: at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
[ (cont) ] Main: at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
[ (cont) ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
[ (cont) ] Main: at fuego.servlet.multipart.BaseMultipartFilter.doFilter(BaseMultipartFilter.java:57)
[ (cont) ] Main: at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
[ (cont) ] Main: at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3251)
[ (cont) ] Main: at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
[ (cont) ] Main: at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
[ (cont) ] Main: at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
[ (cont) ] Main: at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
[ (cont) ] Main: at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
[ (cont) ] Main: at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
[ (cont) ] Main: at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
[ (cont) ] Main: Caused by: java.lang.NullPointerException
[ (cont) ] Main: at java.io.File.<init>(File.java:204)
[ (cont) ] Main: at fuego.portal.components.WebUtils.downloadWebRootResources(WebUtils.java:82)
[ (cont) ] Main: at fuegoblock.net.WebNewJSP.getPathToJsp(WebNewJSP.java:132)
[ (cont) ] Main: at fuegoblock.net.WebNewJSP.getUrlToForward(WebNewJSP.java:161)
[ (cont) ] Main: at fuegoblock.net.WebNewJSP.access$000(WebNewJSP.java:60)
[ (cont) ] Main: at fuegoblock.net.WebNewJSP$1.prepare(WebNewJSP.java:283)
[ (cont) ] Main: at fuego.portal.wapi.WebInvocation.prepare(WebInvocation.java:111)
[ (cont) ] Main: at fuego.portal.wapi.InteractiveExecution.invokePrepare(InteractiveExecution.java:455)
[ (cont) ] Main: at fuego.portal.wapi.InteractiveExecution.process(InteractiveExecution.java:172)
[ (cont) ] Main: ... 23 more
  Project that uses a screenflow without JSP code  works fine, but when adding JSP code to it, it fails

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms