流程图方式建模,运行时出现错误。# s' e9 z% B3 P
表现为:小人儿和僵尸的icon都不动。 Q0 ]1 Z: }5 k1 n9 d7 O
error log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step() . Y; p# `: z* X3 n' R6 Q& d3 `, b5 \; C
java.lang.reflect.InvocationTargetException( v Y+ l4 T/ \
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>) + \- G& ~5 `% Z( N# x" u q: U# S at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) % Y0 Y. k0 z( a# \" \ at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69)# ]( k" F& B% Q* |0 M
at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253) }( d! t% h9 _0 g$ p6 I
at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38) \2 W7 r. D: L1 h5 K at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184) ! ?8 ^# B3 X3 g: z% ^+ z at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201)5 A% k8 o' f' m& E" ^4 V
at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352) / v( Y8 z7 J1 T0 }2 H4 x+ w/ x at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53)& q1 E; i% ]( a o) E# A' s
at java.lang.Thread.run(Unknown Source) 1 o6 A! O3 Y! n& R% M' K7 BCaused by: groovy.lang.MissingMethodException: No signature of method: repast.simphony.query.space.grid.GridCellNgh.getNeiborhood() is applicable for argument types: (java.lang.Boolean) values: [true]) K' |" b! n8 y( u
Possible solutions: getNeighborhood(boolean)+ E. o( Y3 f' a4 ?0 }+ m
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)& N0 [* }( I, \: X$ z
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) ; ~" L' m8 l" p; o0 n3 b1 x at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)- s; n+ c* ~4 l" {4 x' \2 |5 E
at FlowZombies.Zombie.step(Zombie.groovy:128)* Y6 n& p; U1 c. i! N5 U7 U* f