Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Eclipse Process Manager (Stardust) » NullPointerException in UserUserGroupLink#delete
NullPointerException in UserUserGroupLink#delete [message #1069696] Tue, 16 July 2013 12:14 Go to next message
Marcus Fihlon is currently offline Marcus FihlonFriend
Messages: 2
Registered: June 2013
Location: Switzerland
Junior Member

Hello,

does anbody know something about this NullPointerException? The pk 1794 seems to be a workflowuser oid which is existing in the database. All workflowusers and all usergroups found in the user_usergroup table are existing in their corresponding tables. Any ideas about this problem?

Failed finding object with pk 1794. Statement: null
java.lang.NullPointerException
	at org.eclipse.stardust.engine.core.runtime.beans.UserUserGroupLink.delete(UserUserGroupLink.java:106)
	at org.eclipse.stardust.engine.core.runtime.beans.UserGroupBean.removeUser(UserGroupBean.java:420)
	at org.eclipse.stardust.engine.core.runtime.beans.SynchronizationService.synchronizeUserGroupMemberships(SynchronizationService.java:1134)
	at org.eclipse.stardust.engine.core.runtime.beans.SynchronizationService.synchronizeUnguarded(SynchronizationService.java:684)
	at org.eclipse.stardust.engine.core.runtime.beans.SynchronizationService.synchronizeUnguarded(SynchronizationService.java:627)
	at org.eclipse.stardust.engine.core.runtime.beans.SynchronizationService.synchronize(SynchronizationService.java:97)
	at org.eclipse.stardust.engine.core.runtime.beans.UserLoader.load(UserLoader.java:37)
	at org.eclipse.stardust.engine.core.persistence.jdbc.Session.findByOID(Session.java:3423)
	at org.eclipse.stardust.engine.core.persistence.jdbc.Session.fetchLink(Session.java:2206)
	at org.eclipse.stardust.engine.core.persistence.jdbc.DefaultPersistenceController.fetchLink(DefaultPersistenceController.java:157)
	at org.eclipse.stardust.engine.core.persistence.jdbc.PersistentBean.fetchLink(PersistentBean.java:63)
	at org.eclipse.stardust.engine.core.runtime.beans.UserUserGroupLink.getUser(UserUserGroupLink.java:113)
	at org.eclipse.stardust.engine.core.runtime.beans.UserGroupBean$1.execute(UserGroupBean.java:344)
	at org.eclipse.stardust.common.TransformingIterator.next(TransformingIterator.java:52)
	at org.eclipse.stardust.engine.core.runtime.audittrail.management.ActivityInstanceUtils.assertNotInUserWorklist(ActivityInstanceUtils.java:222)
	at org.eclipse.stardust.engine.core.runtime.beans.WorkflowServiceImpl.internalDelegateToParticipant(WorkflowServiceImpl.java:1095)
	at org.eclipse.stardust.engine.core.runtime.beans.WorkflowServiceImpl.delegateToParticipant(WorkflowServiceImpl.java:1082)
	at org.eclipse.stardust.engine.core.runtime.beans.WorkflowServiceImpl.suspendToParticipant(WorkflowServiceImpl.java:1024)
	at org.eclipse.stardust.engine.core.runtime.beans.WorkflowServiceImpl.suspendToUser(WorkflowServiceImpl.java:1059)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.CallingInterceptor.invoke(CallingInterceptor.java:29)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.api.ejb2.beans.interceptors.SessionBeanExceptionHandler.invoke(SessionBeanExceptionHandler.java:54)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.RuntimeExtensionsInterceptor.invoke(RuntimeExtensionsInterceptor.java:34)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.GuardingInterceptor.invoke(GuardingInterceptor.java:55)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.AbstractLoginInterceptor.performCall(AbstractLoginInterceptor.java:171)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.LoginInterceptor.performCall(LoginInterceptor.java:34)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.AbstractLoginInterceptor.invoke(AbstractLoginInterceptor.java:109)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.J2eeSecurityLoginInterceptor.invoke(J2eeSecurityLoginInterceptor.java:69)
	at org.eclipse.stardust.engine.api.ejb2.beans.interceptors.SessionBeanLoginInterceptor.invoke(SessionBeanLoginInterceptor.java:100)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.api.ejb2.beans.interceptors.CMTSessionInterceptor.invoke(CMTSessionInterceptor.java:121)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.api.ejb2.beans.interceptors.ContainerConfigurationInterceptor.invoke(ContainerConfigurationInterceptor.java:78)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.PropertyLayerProviderInterceptor.invoke(PropertyLayerProviderInterceptor.java:129)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.beans.interceptors.DebugInterceptor.invoke(DebugInterceptor.java:55)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.proceed(MethodInvocationImpl.java:130)
	at org.eclipse.stardust.engine.core.runtime.interceptor.MethodInvocationImpl.execute(MethodInvocationImpl.java:68)
	at org.eclipse.stardust.engine.core.runtime.beans.InvocationManager.invoke(InvocationManager.java:53)
	at $Proxy63.suspendToUser(Unknown Source)
	at org.eclipse.stardust.engine.api.ejb2.beans.RemoteWorkflowServiceImpl.suspendToUser(RemoteWorkflowServiceImpl.java:877)
	at org.eclipse.stardust.engine.api.ejb2.EJSLocalCSLWorkflowService_123afcc4.suspendToUser(EJSLocalCSLWorkflowService_123afcc4.java)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:611)
	at org.eclipse.stardust.engine.api.ejb2.ClientInvocationHandler.invoke(ClientInvocationHandler.java:145)
	at $Proxy63.suspendToUser(Unknown Source)


Thanks a lot
Marcus
Re: NullPointerException in UserUserGroupLink#delete [message #1070046 is a reply to message #1069696] Wed, 17 July 2013 06:33 Go to previous message
Robert Emsbach is currently offline Robert EmsbachFriend
Messages: 186
Registered: October 2011
Location: Singapore
Senior Member

Marcus,

under what circumstances did you get the exception? Does it persist / is it reproducible?

Could it be that at the time of the error the information you found in the DB was still uncommitted?

Best regards

Rob
Previous Topic:Worklist Table not synchron with Activity Table
Next Topic:Customize the workflow execution left panel
Goto Forum:
  


Current Time: Wed Apr 24 14:26:45 GMT 2024

Powered by FUDForum. Page generated in 0.03093 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top