流程图方式建模,运行时出现错误。 1 o0 N+ A$ z+ O, K8 c5 n表现为:小人儿和僵尸的icon都不动。2 f( M( F" u; s' c
error log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step()( v1 k- l5 I; o8 F% t
( I, X4 l. W" t8 G4 {& N/ u5 ] Jjava.lang.reflect.InvocationTargetException / Z) y" j3 ^1 _/ W! t' [9 [# { at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>)& d2 }. S. s/ N+ v A7 |3 J
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) - S# s) U1 D. ? at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69) : N, o& ` d1 \ at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253) . _( h+ J; b( h. x& K0 }8 [ at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38) 2 _' S' r$ k9 J! K# W$ P1 \ at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184) 0 h O$ Q! w. J8 r8 Y# W" Z at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201)$ ^$ Q5 C; u. r; b$ p4 X
at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352) 8 O+ i. I. I7 o5 Q at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53) 7 {4 B k9 F5 {1 t* ^6 G5 ~ at java.lang.Thread.run(Unknown Source) 3 a8 o9 C4 ^- H4 G0 V: YCaused 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 |# X- ~. c% O; B3 Z- V9 {Possible solutions: getNeighborhood(boolean) $ {5 D( C; j( t) V9 M1 q at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54), v) {0 H3 E1 D2 h4 u
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46) / i. a4 M0 Q7 N! L& y3 G at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)# F$ P/ P2 B* l u
at FlowZombies.Zombie.step(Zombie.groovy:128) ( P* P6 n6 W# T 7 P' w7 R& O0 n. _
请高手指点迷津呀!痛苦中……