After rebuilding moliz-core, I get an exception after every execution of an
activity. I tested it with the CallBehaviorAD from Papyrus examples.
This exception does not occur when using the old build of moliz-core, even if
no changes has been made in between to the sources of moliz core (and aspects).
One wild guess is that the aspect weaver of Juno has issues??
I committed the old jar file now (which misses a minor change in the event
writer) in order to have a working version in the repo. However, this is just
an intermediate solution ;)
The stack trace (including the preceding log entries):
[13:23:06:205] Entering PersonModel::CallBehaviorAD (1935147470)
[13:23:06:226] Entering InitialNode1 (1935147470)
[13:23:06:226] Exiting InitialNode1 (1935147470)
[13:23:06:227] Entering Create Person 1 (1935147470)
[13:23:06:229] Exiting Create Person 1 (1935147470)
[13:23:06:229] Entering Call Activity (1935147470)
[13:23:06:229] Entering PersonModel::CreateAPersonAD (1794588169)
[13:23:06:230] Entering InitialNode1 (1794588169)
[13:23:06:230] Exiting InitialNode1 (1794588169)
[13:23:06:230] Entering Create Person (1794588169)
[13:23:06:230] Exiting Create Person (1794588169)
[13:23:06:230] Entering ActivityFinalNode1 (1794588169)
[13:23:06:230] Exiting ActivityFinalNode1 (1794588169)
[13:23:06:230] Exiting PersonModel::CreateAPersonAD (1794588169)
[13:23:06:230] Exiting Call Activity (1935147470)
[13:23:06:230] Entering Create Person 2 (1935147470)
[13:23:06:230] Exiting Create Person 2 (1935147470)
[13:23:06:230] Entering ActivityFinalNode1 (1935147470)
[13:23:06:231] Exiting ActivityFinalNode1 (1935147470)
[13:23:06:231] Exiting PersonModel::CallBehaviorAD (1935147470)
[13:23:06:233] java.lang.NullPointerException
org.modelexecution.fumldebug.core.ExecutionContext.removeActivityExecution(Execu
tionContext.java:384)
org.modelexecution.fumldebug.core.EventEmitterAspect.handleEndOfActivityExecutio
n(EventEmitterAspect.aj:818)
org.modelexecution.fumldebug.core.EventEmitterAspect.ajc$after$org_modelexecutio
n_fumldebug_core_EventEmitterAspect$18$6918218a(EventEmitterAspect.aj:567)
fUML.Semantics.Activities.IntermediateActivities.ActivityFinalNodeActivation.fir
e(ActivityFinalNodeActivation.java:64)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:187)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:190)
org.modelexecution.fumldebug.core.ExecutionContext.nextStep(ExecutionContext.jav
a:149)
org.modelexecution.fumldebug.core.ExecutionContext.resume(ExecutionContext.java:
218)
org.modelexecution.fumldebug.debugger.process.internal.ActivityExecCommand.callR
esume(ActivityExecCommand.java:84)
org.modelexecution.fumldebug.debugger.process.internal.ActivityExecCommand.execu
te(ActivityExecCommand.java:66)
org.modelexecution.fumldebug.debugger.process.internal.InternalActivityProcess$1
.run(InternalActivityProcess.java:142)
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
org.modelexecution.fumldebug.debugger.process.internal.InternalActivityProcess.p
erformCommands(InternalActivityProcess.java:151)
org.modelexecution.fumldebug.debugger.process.internal.InternalActivityProcess.r
un(InternalActivityProcess.java:73)
org.modelexecution.fumldebug.debugger.process.ActivityProcess.runActivityProcess
(ActivityProcess.java:97)
org.modelexecution.fumldebug.debugger.process.ActivityProcess.<init>(ActivityPro
cess.java:71)
org.modelexecution.fumldebug.debugger.process.ActivityProcessFactory.newProcess(
ActivityProcessFactory.java:23)
org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:742)
org.eclipse.debug.core.DebugPlugin.newProcess(DebugPlugin.java:693)
org.modelexecution.fumldebug.debugger.launch.ActivityLaunchDelegate.launch(Activ
ityLaunchDelegate.java:49)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:855)
org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.j
ava:704)
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:10
47)
org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1251)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Original issue reported on code.google.com by p.langer on 10 Jul 2012 at 11:27
Original issue reported on code.google.com by
p.langer
on 10 Jul 2012 at 11:27