Details
-
Bug
-
Status: Closed
-
High
-
Resolution: Fixed
-
None
-
None
-
None
Description
The stampede test currently shows some of these exceptions:
13.10.2011 09:51:00 ERROR [org.hippoecm.repository.RandomActionTest$RandomActionRunner.handleThrowable():304] FAILURE in thread thr1 performing action DepublishAction on path null : java.lang.NullPointerException: null
java.lang.NullPointerException
at org.hippoecm.repository.ocm.ColumnResolverImpl.resolveProperty(ColumnResolverImpl.java:75)
at org.hippoecm.repository.ocm.ValueMappingStrategy.fetchValueField(ValueMappingStrategy.java:192)
at org.hippoecm.repository.ocm.ValueMappingStrategy.fetchStringField(ValueMappingStrategy.java:306)
at org.hippoecm.repository.ocm.ValueMappingStrategy.fetch(ValueMappingStrategy.java:120)
at org.hippoecm.repository.ocm.FetchFieldManager.fetchObjectField(FetchFieldManager.java:56)
at org.hippoecm.repository.ocm.FetchFieldManager.fetchStringField(FetchFieldManager.java:70)
at org.datanucleus.state.AbstractStateManager.replacingStringField(AbstractStateManager.java:1186)
at org.hippoecm.repository.api.Document.jdoReplaceField(Document.java)
at org.hippoecm.repository.reviewedactions.PublishableDocument.jdoReplaceField(PublishableDocument.java)
at org.hippoecm.repository.api.Document.jdoReplaceFields(Document.java)
at org.datanucleus.jdo.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2983)
at org.datanucleus.jdo.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:3003)
at org.datanucleus.state.ObjectProviderImpl.replaceFields(ObjectProviderImpl.java:70)
at org.hippoecm.repository.ocm.JcrPersistenceHandler.fetchObject(JcrPersistenceHandler.java:306)
at org.datanucleus.jdo.state.JDOStateManagerImpl.loadFieldsFromDatastore(JDOStateManagerImpl.java:2028)
at org.datanucleus.jdo.state.JDOStateManagerImpl.loadUnloadedFieldsInFetchPlan(JDOStateManagerImpl.java:1759)
at org.datanucleus.jdo.state.JDOStateManagerImpl.isLoaded(JDOStateManagerImpl.java:2102)
at org.hippoecm.repository.reviewedactions.PublishableDocument.jdoGetstate(PublishableDocument.java)
at org.hippoecm.repository.reviewedactions.PublishableDocument.setState(PublishableDocument.java:86)
at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.doDepublish(FullReviewedActionsWorkflowImpl.java:227)
at org.hippoecm.repository.reviewedactions.FullReviewedActionsWorkflowImpl.depublish(FullReviewedActionsWorkflowImpl.java:220)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.hippoecm.repository.impl.WorkflowManagerImpl$WorkflowInvocationHandler.invoke(WorkflowManagerImpl.java:632)
at $Proxy16.depublish(Unknown Source)
at org.hippoecm.repository.action.DepublishAction.doExecute(DepublishAction.java:29)
at org.hippoecm.repository.action.Action.execute(Action.java:38)
at org.hippoecm.repository.RandomActionTest$RandomActionRunner.step(RandomActionTest.java:261)
at org.hippoecm.repository.RandomActionTest$RandomActionRunner.run(RandomActionTest.java:194)
at java.lang.Thread.run(Thread.java:619)
The reason for this is that the method in question is called with a null value for the Node argument.