流程图方式建模,运行时出现错误。. \; R6 C L _* L
表现为:小人儿和僵尸的icon都不动。 ) w- j7 J. b2 _! A* y q; a4 f5 T* Zerror log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step() ; }3 X) r' I% t* R6 E1 r6 ~8 l1 a+ ?% p! p" N& o
java.lang.reflect.InvocationTargetException + O _* ?6 ?( d: A$ W* O$ t3 `! z* f at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>) - Y: l" c4 C# ]# \5 n* O$ J at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)- A- p4 U2 K( C3 O- q3 Z: T; O3 l( A
at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69) ) B2 J/ z) d6 `8 F7 l" s7 |! s' n at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253)+ P; o- N+ G4 l) }' T; G3 W
at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38)+ e' G/ f; F4 ]! N, m) X7 D
at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184)# I6 ^0 A- l0 i1 z- g: P1 k
at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201) & l, A1 k/ I7 A at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352)" N* f8 Y$ ~( s7 f6 R4 C6 d @) @
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53); m. r0 j3 B. T8 l" w/ l; o1 }* f# E
at java.lang.Thread.run(Unknown Source)1 @' y; Q9 D8 K3 H/ i
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] / ^* `3 M" x7 b& T4 n( f1 BPossible solutions: getNeighborhood(boolean) - {) Q* @' f3 h& \% i5 C q0 V at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54) 8 f1 t2 |% [ Z4 l* p$ F* d7 W( J6 t at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)$ Z5 g/ k8 `% n/ m8 x
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) % W |' R5 r; _0 J- ~1 C at FlowZombies.Zombie.step(Zombie.groovy:128)0 m# q/ \! g' K" `, U
3 @$ O2 x% L0 m% g6 c
请高手指点迷津呀!痛苦中……