流程图方式建模,运行时出现错误。 3 C ~! s! X9 l: _1 l" _5 W表现为:小人儿和僵尸的icon都不动。 , @2 |( T9 S7 [' D6 O3 Cerror log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step()2 Y! f8 G% ?3 [) q( c4 j9 x
3 S0 w5 P( T2 }5 f% A; yjava.lang.reflect.InvocationTargetException- b3 Y: F p% u# L/ C" |6 V. v
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>)2 m: y3 @8 h j8 m3 t+ u
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53). {# U+ o4 u5 O6 ^+ l1 k
at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69)# T2 G3 ]: X7 H
at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253) 6 Y z* M' A, W3 c! ~% P/ P8 I at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38) 2 p6 ~/ j2 E2 y( c% S! G% ? at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184)0 }* m) F4 O" l5 l
at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201)$ g j% I) s# h6 O* }1 p! ?
at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352)& y" K B8 A; ?7 l s! z
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53). e2 S% |4 S* j0 C6 c) ]. p: @
at java.lang.Thread.run(Unknown Source) / e4 @& ~2 K2 s* cCaused 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]0 {' W: h4 [0 o3 X6 C3 @
Possible solutions: getNeighborhood(boolean); V( c- Q" X" h& k
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54); D. x0 b. A# z5 n) O2 i0 R0 i
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46). x! f2 ^% g4 f1 [
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) 2 y1 T( s: \8 B6 f7 [+ T at FlowZombies.Zombie.step(Zombie.groovy:128) ) {+ m( ?2 N Z2 w & _% Q' M- {7 N/ ~请高手指点迷津呀!痛苦中……