Hide
This is the stack
Exception in thread "main" java.lang.NullPointerException
at org.ow2.proactive.scheduler.core.SchedulerFrontend.clearListener(SchedulerFrontend.java:905)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.dispatchUsersUpdated(SchedulerFrontend.java:1075)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.usersUpdated(SchedulerFrontend.java:1170)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.clearListener(SchedulerFrontend.java:907)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.dispatchUsersUpdated(SchedulerFrontend.java:1075)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.usersUpdated(SchedulerFrontend.java:1170)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.clearListener(SchedulerFrontend.java:907)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.dispatchUsersUpdated(SchedulerFrontend.java:1075)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.usersUpdated(SchedulerFrontend.java:1170)
at org.ow2.proactive.scheduler.core.SchedulerFrontend.addSchedulerEventListener(SchedulerFrontend.java:545)
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.objectweb.proactive.core.mop.MethodCall.execute(MethodCall.java:395)
at org.objectweb.proactive.core.body.request.RequestImpl.serveInternal(RequestImpl.java:230)
at org.objectweb.proactive.core.body.request.RequestImpl.serve(RequestImpl.java:174)
at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serveInternal(BodyImpl.java:562)
at org.objectweb.proactive.core.body.BodyImpl$ActiveLocalBodyStrategy.serve(BodyImpl.java:525)
at org.objectweb.proactive.core.body.AbstractBody.serve(AbstractBody.java:922)
at org.objectweb.proactive.Service.blockingServeOldest(Service.java:175)
at org.objectweb.proactive.Service.blockingServeOldest(Service.java:150)
at org.objectweb.proactive.Service.fifoServing(Service.java:126)
at org.objectweb.proactive.core.body.ActiveBody$FIFORunActive.runActivity(ActiveBody.java:317)
at org.objectweb.proactive.core.body.ActiveBody.run(ActiveBody.java:197)
at java.lang.Thread.run(Thread.java:619)
I think that what happened is that the application that have subscribed the listener has been killed and then restarted again - so it tried to submit its listener again.
I'll come back with a comment when I reproduce this.
I forgot to mention that the stack has occurred on the client application, when it started and tried to submit a listener to the Scheduler