流程图方式建模,运行时出现错误。6 V' D+ E7 w8 x$ c
表现为:小人儿和僵尸的icon都不动。 4 s6 J1 G$ G( n7 p- C6 uerror log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step(). k% v" X2 e* C8 f; m; w) I
8 c3 x- E$ E. z+ M* @java.lang.reflect.InvocationTargetException2 f8 {0 k3 O) {0 k
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>)5 A2 f7 M8 I5 a8 j$ P
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) A( b0 P: p# K3 S0 j
at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69)# c( r2 g% l8 s) C. g4 Z
at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253) ; z4 t# N5 a. A3 n. c at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38) 7 r! J; d& U$ D( c: s2 M at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184)! |& m4 f; B9 ?! F' \6 h
at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201)# y+ o4 s9 c* G) I6 M+ M% ?0 B9 [
at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352)) r {2 b0 m F- O- M% J4 h9 L
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53) - ]9 X; I# T4 k% u at java.lang.Thread.run(Unknown Source) ; i) k2 _4 x% LCaused 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]: ?& Y: F: K/ v$ g
Possible solutions: getNeighborhood(boolean)! |0 J! e& j( m3 b/ {4 M
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)& g5 M- q7 `3 x$ E
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)5 r g6 p" v. p7 |/ P
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)6 B. w+ O5 i, D1 q
at FlowZombies.Zombie.step(Zombie.groovy:128)$ x& r3 _$ t' e" b( b