NullPointerException while retrieving audit trail of an instance in BPM (Doc ID 1289963.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Business Process Management Suite - Version 6.0.5 and later
Information in this document applies to any platform.
***Checked for relevance on 06-Jul-2012***

Symptoms

While trying to access audit trail of an instance in workspace, it gives NullPointerException. Following error is seen in workspace.log:


[ (cont) ] Main: Process execution engine execution error.
[ (cont) ] Main: Caused by: Process execution engine execution error.
[ (cont) ] Main: Caused by: java.lang.NullPointerException
[ (cont) ] Main: fuego.web.exception.WapiOperationException: Process execution engine execution error.
[ (cont) ] Main: at fuego.workspace.model.common.PapiBean.getAuditTrail(PapiBean.java:1947)
[ (cont) ] Main: at fuego.workspace.model.view.ViewTableInstanceBean.getAuditTrailTreeModel(ViewTableInstanceBean.java:906)
[ (cont) ] Main: at sun.reflect.GeneratedMethodAccessor1523.invoke(Unknown Source)
[ (cont) ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ (cont) ] Main: at java.lang.reflect.Method.invoke(Method.java:585)
[ (cont) ] Main: at com.sun.faces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:79)
[ (cont) ] Main: at fuego.workspace.application.WorkspacePropertyResolver.getValue(WorkspacePropertyResolver.java:121)
[ (cont) ] Main: at com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:141)
[ (cont) ] Main: at com.sun.el.parser.AstValue.getValue(AstValue.java:96)
[ (cont) ] Main: at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183)
[ (cont) ] Main: at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
[ (cont) ] Main: at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
[ (cont) ] Main: at javax.faces.component.UIData.getValue(UIData.java:527)
[ (cont) ] Main: at javax.faces.component.UIData.getDataModel(UIData.java:848)
[ (cont) ] Main: at javax.faces.component.UIData.setRowIndex(UIData.java:379)
[ (cont) ] Main: at com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:65)
[ (cont) ] Main: at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:675)
[ (cont) ] Main: at javax.faces.component.UIData.encodeBegin(UIData.java:681)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderComponent(JSFUtility.java:145)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderChildren(JSFUtility.java:126)
[ (cont) ] Main: at com.bea.opencontrols.ajax.XPRefreshRenderer.RenderContents(XPRefreshRenderer.java:69)
[ (cont) ] Main: at com.bea.opencontrols.XPRenderer.encodeChildren(XPRenderer.java:190)
[ (cont) ] Main: at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderComponent(JSFUtility.java:150)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderChildren(JSFUtility.java:126)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderComponent(JSFUtility.java:154)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderChildren(JSFUtility.java:126)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderComponent(JSFUtility.java:154)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderChildren(JSFUtility.java:126)
[ (cont) ] Main: at com.bea.opencontrols.ajax.XPRefreshRenderer.RenderContents(XPRefreshRenderer.java:69)
[ (cont) ] Main: at com.bea.opencontrols.XPRenderer.encodeChildren(XPRenderer.java:190)
[ (cont) ] Main: at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderComponent(JSFUtility.java:150)
[ (cont) ] Main: at com.bea.opencontrols.faces.JSFUtility.renderControlRefresh(JSFUtility.java:327)
[ (cont) ] Main: at com.bea.opencontrols.ajax.XPRefreshRenderer.Refresh(XPRefreshRenderer.java:46)
[ (cont) ] Main: at com.bea.opencontrols.layout.RefreshPanel.Refresh(RefreshPanel.java:53)
[ (cont) ] Main: at com.bea.opencontrols.ajax.XPAjaxResponse$ControlRefreshAction.DoRefresh(XPAjaxResponse.java:586)
[ (cont) ] Main: at com.bea.opencontrols.ajax.XPAjaxResponse.ProcessControlRefreshHTML(XPAjaxResponse.java:550)
[ (cont) ] Main: at com.bea.opencontrols.ajax.AjaxRefreshPhaseListener.beforePhase(AjaxRefreshPhaseListener.java:146)
[ (cont) ] Main: at fuego.workspace.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:126)
[ (cont) ] Main: at fuego.workspace.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:76)
[ (cont) ] Main: at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at fuego.web.filter.NoCacheNoStoreFilter.doFilter(NoCacheNoStoreFilter.java:39)
[ (cont) ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at fuego.web.filter.SingleThreadPerSessionFilter.doFilter(SingleThreadPerSessionFilter.java:64)
[ (cont) ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at fuego.web.filter.CharsetFilter.doFilter(CharsetFilter.java:48)
[ (cont) ] Main: at fuego.web.filter.BaseFilter.doFilter(BaseFilter.java:63)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
[ (cont) ] Main: at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
[ (cont) ] Main: at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
[ (cont) ] Main: at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
[ (cont) ] Main: at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
[ (cont) ] Main: at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
[ (cont) ] Main: at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
[ (cont) ] Main: at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
[ (cont) ] Main: at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
[ (cont) ] Main: at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
[ (cont) ] Main: at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
[ (cont) ] Main: at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
[ (cont) ] Main: at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
[ (cont) ] Main: at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
[ (cont) ] Main: at java.lang.Thread.run(Thread.java:595)
[ (cont) ] Main: Caused by: fuego.papi.impl.EngineExecutionException: Process execution engine execution error.
[ (cont) ] Main: at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:139)
[ (cont) ] Main: at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
[ (cont) ] Main: at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
[ (cont) ] Main: at fuego.server.AbstractProcessBean.getInstanceEvents(AbstractProcessBean.java:1511)
[ (cont) ] Main: at sun.reflect.GeneratedMethodAccessor338.invoke(Unknown Source)
[ (cont) ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ (cont) ] Main: at java.lang.reflect.Method.invoke(Method.java:585)
[ (cont) ] Main: at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
[ (cont) ] Main: at fuego.lang.JavaObject.invoke(JavaObject.java:227)
[ (cont) ] Main: at fuego.component.Message.process(Message.java:585)
[ (cont) ] Main: at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
[ (cont) ] Main: at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
[ (cont) ] Main: at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
[ (cont) ] Main: at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
[ (cont) ] Main: at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
[ (cont) ] Main: at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
[ (cont) ] Main: at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
[ (cont) ] Main: at fuego.component.CustomExecution.next(CustomExecution.java:176)
[ (cont) ] Main: at fuego.component.ExecutorClient.invoke(ExecutorClient.java:133)
[ (cont) ] Main: at fuego.papi.impl.rmi.ProcessControlProxy.getInstanceEvents(ProcessControlProxy.java:486)
[ (cont) ] Main: at fuego.papi.impl.rmi.ProcessControlProxyWrapper.getInstanceEvents(ProcessControlProxyWrapper.java:803)
[ (cont) ] Main: at sun.reflect.GeneratedMethodAccessor1602.invoke(Unknown Source)
[ (cont) ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ (cont) ] Main: at java.lang.reflect.Method.invoke(Method.java:585)
[ (cont) ] Main: at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
[ (cont) ] Main: at fuego.papi.impl.rmi.RMIProcessControlHandler.invoke(RMIProcessControlHandler.java:165)
[ (cont) ] Main: at $Proxy30.getInstanceEvents(Unknown Source)
[ (cont) ] Main: at fuego.papi.impl.ProcessInstanceOperation.getInstanceEvents(ProcessInstanceOperation.java:98)
[ (cont) ] Main: at fuego.papi.impl.ProcessServiceSessionImpl.instanceGetEvents(ProcessServiceSessionImpl.java:2334)
[ (cont) ] Main: at fuego.papi.impl.ProcessServiceSessionImpl.instanceGetEvents(ProcessServiceSessionImpl.java:2340)
[ (cont) ] Main: at fuego.papi.utils.AuditTrail.load(AuditTrail.java:164)
[ (cont) ] Main: at fuego.workspace.model.common.PapiBean.getAuditTrail(PapiBean.java:1935)
[ (cont) ] Main: ... 68 more
[ (cont) ] Main: Caused by: java.lang.NullPointerException
[ (cont) ] Main: at fuego.directory.PartialDirHumanParticipant.<init>(PartialDirHumanParticipant.java:30)
[ (cont) ] Main: at fuego.directory.DirHumanParticipant.fetch(DirHumanParticipant.java:453)
[ (cont) ] Main: at fuego.metadata.ParticipantManager.findIdForIn(ParticipantManager.java:502)
[ (cont) ] Main: at fuego.server.persistence.jdbc.JdbcServerActivityPersMgr.createProcessInstanceEventObject(JdbcServerActivityPersMgr.java:697)
[ (cont) ] Main: at fuego.server.persistence.jdbc.JdbcServerActivityPersMgr.getInstanceEvents(JdbcServerActivityPersMgr.java:386)
[ (cont) ] Main: at fuego.server.persistence.Persistence.getInstanceEvents(Persistence.java:310)
[ (cont) ] Main: at fuego.server.ProcessInstanceManager.getInstanceEvents(ProcessInstanceManager.java:56)
[ (cont) ] Main: at fuego.server.AbstractProcessBean$29.execute(AbstractProcessBean.java:1517)
[ (cont) ] Main: at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
[ (cont) ] Main: at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
[ (cont) ] Main: at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
[ (cont) ] Main: at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
[ (cont) ] Main: at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
[ (cont) ] Main: at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
[ (cont) ] Main: at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
[ (cont) ] Main: at fuego.server.AbstractProcessBean.getInstanceEvents(AbstractProcessBean.java:1511)
[ (cont) ] Main: at sun.reflect.GeneratedMethodAccessor338.invoke(Unknown Source)
[ (cont) ] Main: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[ (cont) ] Main: at java.lang.reflect.Method.invoke(Method.java:585)
[ (cont) ] Main: at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
[ (cont) ] Main: at fuego.lang.JavaObject.invoke(JavaObject.java:227)
[ (cont) ] Main: at fuego.component.Message.process(Message.java:585)
[ (cont) ] Main: at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:780)
[ (cont) ] Main: at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:755)
[ (cont) ] Main: at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
[ (cont) ] Main: at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
[ (cont) ] Main: at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:244)
[ (cont) ] Main: at fuego.component.ExecutionThread.work(ExecutionThread.java:839)
[ (cont) ] Main: at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
[ (cont) ] Main:


Same underlying error may be seen while trying to access audit trail of an instance through a standalone java PAPI client.

For e.g. while trying to execute PAPI API ProcessServiceSession.instanceGetEvents(String instanceId), following error is seen:


Could not perform the requested operation
fuego.papi.impl.EngineExecutionException: Process execution engine execution error.
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:139)
at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
at fuego.server.AbstractProcessBean.getInstanceEvents(AbstractProcessBean.java:1284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:587)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)
at fuego.component.CustomExecution.next(CustomExecution.java:176)
at fuego.component.ExecutorClient.invoke(ExecutorClient.java:118)
at fuego.papi.impl.rmi.ProcessControlProxy.getInstanceEvents(ProcessControlProxy.java:486)
at fuego.papi.impl.rmi.ProcessControlProxyWrapper.getInstanceEvents(ProcessControlProxyWrapper.java:803)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.papi.impl.AbstractProcessControlHandler.invokeInternal(AbstractProcessControlHandler.java:72)
at fuego.papi.impl.rmi.RMIProcessControlHandler.invoke(RMIProcessControlHandler.java:165)
at $Proxy14.getInstanceEvents(Unknown Source)
at fuego.papi.impl.ProcessInstanceOperation.getInstanceEvents(ProcessInstanceOperation.java:82)
at fuego.papi.impl.ProcessServiceSessionImpl.instanceGetEvents(ProcessServiceSessionImpl.java:2118)
at TestAudit.main(TestAudit.java:38)
Caused by: java.lang.NullPointerException
at fuego.directory.PartialDirHumanParticipant.<init>(PartialDirHumanParticipant.java:30)
at fuego.directory.DirHumanParticipant.fetch(DirHumanParticipant.java:453)
at fuego.metadata.ParticipantManager.findIdForIn(ParticipantManager.java:503)
at fuego.server.persistence.jdbc.JdbcServerActivityPersMgr.createProcessInstanceEventObject(JdbcServerActivityPersMgr.java:692)
at fuego.server.persistence.jdbc.JdbcServerActivityPersMgr.getInstanceEvents(JdbcServerActivityPersMgr.java:385)
at fuego.server.persistence.Persistence.getInstanceEvents(Persistence.java:314)
at fuego.server.ProcessInstanceManager.getInstanceEvents(ProcessInstanceManager.java:58)
at fuego.server.AbstractProcessBean$25.execute(AbstractProcessBean.java:1290)
at fuego.server.execution.DefaultEngineExecution$AtomicExecutionTA.runTransaction(DefaultEngineExecution.java:304)
at fuego.transaction.TransactionAction.startBaseTransaction(TransactionAction.java:470)
at fuego.transaction.TransactionAction.startTransaction(TransactionAction.java:551)
at fuego.transaction.TransactionAction.start(TransactionAction.java:212)
at fuego.server.execution.DefaultEngineExecution.executeImmediate(DefaultEngineExecution.java:123)
at fuego.server.execution.DefaultEngineExecution.executeWithoutComponentImmediate(DefaultEngineExecution.java:199)
at fuego.server.execution.EngineExecution.executeWithoutComponentImmediate(EngineExecution.java:95)
at fuego.server.AbstractProcessBean.getInstanceEvents(AbstractProcessBean.java:1284)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at fuego.lang.JavaClass.invokeMethod(JavaClass.java:1410)
at fuego.lang.JavaObject.invoke(JavaObject.java:227)
at fuego.component.Message.process(Message.java:587)
at fuego.component.ExecutionThread.processMessage(ExecutionThread.java:778)
at fuego.component.ExecutionThread.processBatch(ExecutionThread.java:753)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:142)
at fuego.component.ExecutionThread.doProcessBatch(ExecutionThread.java:134)
at fuego.fengine.FEngineProcessBean.processBatch(FEngineProcessBean.java:248)
at fuego.component.ExecutionThread.work(ExecutionThread.java:837)
at fuego.component.ExecutionThread.run(ExecutionThread.java:408)

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