流程图方式建模,运行时出现错误。 - x- z+ A2 q2 P, \) s0 |表现为:小人儿和僵尸的icon都不动。+ }4 w* l* _& c) J$ ^; t
error log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step()- h! F' Y5 ]. e+ u* q
- x+ s& D4 t o ~! l( }java.lang.reflect.InvocationTargetException* X8 u* i' u/ J( i1 Y# M. M
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>) 6 `( `' F0 u6 n; F! j1 g! e at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)( h( N! n' _: b2 B; l5 V+ u6 D
at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69) . J7 z' l/ ? l$ w/ h! ^, C at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253)8 z: z5 C ~8 A% ~
at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38)$ o& _* d5 V3 B
at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184)( ~" P8 M3 E% g1 c. f# l
at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201) p- K$ }6 Q! \8 i l- h- Y. }% l at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352)5 f% T+ Z8 A9 w v* @- B
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53)! J& ^' X! m! y) x, y
at java.lang.Thread.run(Unknown Source) 1 W. \ S7 m/ U* O- F2 ^2 ^Caused 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]$ w4 R7 L3 N1 i1 d: f9 e& B
Possible solutions: getNeighborhood(boolean) " Z$ j2 {6 Q5 `/ `# l. M3 I at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54) " k% F3 Q& N' U; D- w5 | at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)( w! A& X. ~; M- M* e2 B
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)0 c5 @7 k1 V4 v7 g. q* d$ m
at FlowZombies.Zombie.step(Zombie.groovy:128)4 z' R# m& N" r7 A