流程图方式建模,运行时出现错误。* G. o& k$ T! M r3 \
表现为:小人儿和僵尸的icon都不动。- Z: v' e$ i. }
error log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step()$ ?" W0 m& A2 j% }% t4 ?- Q) Y
2 B0 @1 t5 \5 v }1 Ijava.lang.reflect.InvocationTargetException8 z. N1 _( x4 `( A5 T9 ?$ l
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>) 5 G7 N( r, y: _; s4 r at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)4 A" D: o: V/ O* g2 W
at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69)! C# p& M1 g+ k$ s: S: `- B5 ~* V
at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253) ; C3 u5 |" j& D: \2 R at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38) Z5 t9 Q E& v( ?2 `' t0 @0 g at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184) 4 S! D# B6 k5 Z( c at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201) " h3 B! x) e! h3 e2 O/ g. k2 B at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352): G/ K2 T2 C( e h& t. g7 G; E1 [" w
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53)) D# O( X$ z& T/ Z; o( R+ I' c; e
at java.lang.Thread.run(Unknown Source) / B3 z3 `( F" w: s. X; jCaused 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], }! }: t4 R" n7 l2 [& k1 P
Possible solutions: getNeighborhood(boolean) z! @* X; P+ A4 P at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)' z' ~6 {# E5 x, K
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) 3 R, Z3 Y' J. Y4 N# d at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) 2 u- w; K/ P! _% {9 z; o at FlowZombies.Zombie.step(Zombie.groovy:128)! Z2 g Q( F: |