History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CIB-1687
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: 3 3
Assignee: Unassigned
Reporter: Daniel Ostermeier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Pulse

Both TriggerManager and ProjectManagers attempt to clean up project related triggers on delete.

Created: 28/Oct/08 03:20 AM   Updated: 03/Nov/08 05:40 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0.15

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
and at the moment, it is the trigger manager that fails since it happens second - during the post delete callback.

The Trigger Manager should be the one handling this since it is in charge of triggers. However, is there a reason for the Project Manager to be cleaning up the triggers? or is this just historical.


Oct 28, 2008 2:16:10 PM com.zutubi.events.SynchronousDispatcher dispatch
SEVERE: Exception generated by com.zutubi.events.DemultiplexingListener@2f594d.handleEvent(Post Delete Event: projects/grrrr/triggers/scm trigger)
java.lang.NullPointerException
at com.zutubi.pulse.master.scheduling.DefaultScheduler.assertScheduled(DefaultScheduler.java:273)
at com.zutubi.pulse.master.scheduling.DefaultScheduler.unschedule(DefaultScheduler.java:147)
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:585)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:203)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:162)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:209)
at $Proxy61.unschedule(Unknown Source)
at com.zutubi.pulse.master.tove.config.project.triggers.TriggerManager.delete(TriggerManager.java:59)
at com.zutubi.pulse.master.tove.config.project.triggers.TriggerManager.access$000(TriggerManager.java:19)
at com.zutubi.pulse.master.tove.config.project.triggers.TriggerManager$1.postDelete(TriggerManager.java:31)
at com.zutubi.pulse.master.tove.config.project.triggers.TriggerManager$1.postDelete(TriggerManager.java:34)
at com.zutubi.tove.config.TypeListener.handleConfigurationEvent(TypeListener.java:57)
at com.zutubi.tove.config.DefaultConfigurationProvider$Listener.handleEvent(DefaultConfigurationProvider.java:245)
at com.zutubi.events.FilteringListener.handleEvent(FilteringListener.java:24)
at com.zutubi.events.DemultiplexingListener.handleEvent(DemultiplexingListener.java:73)



 All   Comments   Work Log   Change History      Sort Order:
Daniel Ostermeier - 03/Nov/08 05:40 AM
resolved in revision 5057