Java.io.IOException: Server Returned HTTP Response Code: : 500 (Doc ID 1578406.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Demantra Demand Management - Version 7.3.1 and later
Information in this document applies to any platform.

Symptoms

On : 7.3.1 version, Workflow

When attempting to edit any Workflow , or open any worksheet it fails.

In java console output:
the following error occurs:

ERROR
-----------------------
[thread applet-com.demantra.workflow.gui.editor.WorkflowSchemaEditor.class-1] ERROR workflow.schemaEditor :: Server returned HTTP response code: 500 for URL: http://gbwdcapp09.yourcompany.co.uk:8080/uat_working/SchemaEditorServlet?action=5
java.io.IOException: Server returned HTTP response code: 500 for URL: http://gbwdcapp09.yourcompany.co.uk:8080/uat_working/SchemaEditorServlet?action=5
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.demantra.workflow.gui.editor.WorkflowSchemaEditor.getMetaData(WorkflowSchemaEditor.java:474)
at com.demantra.workflow.gui.editor.WorkflowSchemaEditor.init(WorkflowSchemaEditor.java:457)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException
at com.demantra.workflow.gui.editor.WorkflowSchemaEditor.init(WorkflowSchemaEditor.java:461)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NullPointerException




In collaborator.log file:
the following error occurs:

ERROR
-----------------------
ERROR appserver.error:
java.lang.NullPointerException
at com.demantra.applicationServer.services.generationServices.DemantraEntityGraphBuilder.getExtendedEntitiesGenaralLevel(DemantraEntityGraphBuilder.java:1419)
at com.demantra.applicationServer.services.generationServices.DemantraEntityGraphBuilder.loadEdgesGeneralLevel(DemantraEntityGraphBuilder.java:1254)
at com.demantra.applicationServer.services.generationServices.DemantraEntityGraphBuilder.loadEdges(DemantraEntityGraphBuilder.java:629)
at com.demantra.applicationServer.services.generationServices.DemantraEntityGraphBuilder.loadGraph(DemantraEntityGraphBuilder.java:241)
at com.demantra.applicationServer.services.generationServices.DemantraEntityGraphBuilder.(DemantraEntityGraphBuilder.java:221)
at com.demantra.applicationServer.metaDataObjects.component.ComponentsList.getDemantraEntityGraphBuilder(ComponentsList.java:1583)
at com.demantra.applicationServer.services.generationServices.QueryRequester.loadRequester(QueryRequester.java:952)
at com.demantra.applicationServer.services.generationServices.QueryRequester.(QueryRequester.java:310)
at com.demantra.applicationServer.services.queryrun.QueryRunnerFactory.getRequester(QueryRunnerFactory.java:156)
at com.demantra.applicationServer.services.queryrun.QueryRunnerFactory.getSelectBuilder(QueryRunnerFactory.java:113)
at com.demantra.applicationServer.services.queryrun.QueryRunnerFactory.getCombHandler(QueryRunnerFactory.java:222)
at com.demantra.applicationServer.services.queryrun.QueryRunnerFactory.getCombRunner(QueryRunnerFactory.java:205)
at com.demantra.common.beans.ObjectBrowserBean.(ObjectBrowserBean.java:104)
at com.demantra.portal.beans.ObjectBrowserCache$UserCache.get(ObjectBrowserCache.java:99)
at com.demantra.portal.beans.ObjectBrowserCache$UserCache.access$100(ObjectBrowserCache.java:84)
at com.demantra.portal.beans.ObjectBrowserCache.get(ObjectBrowserCache.java:54)
at org.apache.jsp.portal.objectbrowser_jsp._jspService(objectbrowser_jsp.java:291)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.demantra.common.utils.ParamEncodingFilter.doFilter(ParamEncodingFilter.java:27)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:361)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. clear java cache, browser cache, application server cache
2. restart the application server
3. log into Wokrflow Manager
4. click on any worflow to edit it
5. got error

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot edit the workflow

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