流程图方式建模,运行时出现错误。& A3 ?. Y( y" k2 s* ^% l- a$ @
表现为:小人儿和僵尸的icon都不动。6 x5 v; e) s. z
error log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step() 2 n4 {! X$ ^& S5 V+ @) b; b 2 T- S4 j. e1 \/ G( ejava.lang.reflect.InvocationTargetException6 C0 H7 B: J' ` `
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>)( A k& p& q5 n& j% H f
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) ' ]2 h2 z( p+ T/ V! g at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69)+ Y# N2 L/ W' v
at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253), ]& k) w+ Y1 J4 `' S( V
at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38)/ q8 H8 J+ T7 F
at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184): I) }: }$ ?: ]- z& P% A- z
at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201) ! r9 D! \$ E( U1 Q- F* _! S at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352)* I; w6 N) l+ |! j1 e
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53) 2 q' O; ?2 O* d: ]: X4 E/ l at java.lang.Thread.run(Unknown Source) 6 Z( f" @) W K r# _3 g& h. BCaused 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]: F. J3 k/ S$ B8 K r
Possible solutions: getNeighborhood(boolean)7 e6 }7 a7 I5 \4 m9 |$ k m
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54) $ L4 E& ]6 B) A: ~4 s! Y# E$ ^ at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46)/ g0 V* c1 }8 U! P3 H9 N- `5 L7 M
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124) ; T6 k1 e6 o1 J+ E' f! o at FlowZombies.Zombie.step(Zombie.groovy:128)/ ^3 ^- S. y/ _, i8 x( }
3 I9 B _. V% k1 H
请高手指点迷津呀!痛苦中……