流程图方式建模,运行时出现错误。 ' g. I4 W, U+ ]( N/ E0 f% w) y表现为:小人儿和僵尸的icon都不动。" M( c' W- H# I6 L1 G1 A" s
error log中注明Erorr:Tried to call: public java.lang.Object FlowZombies.Zombie.step() 8 e4 H2 Z) l+ e J8 N1 P3 y" E( `; g6 r* Z
java.lang.reflect.InvocationTargetException) Z/ v. Z, U# b8 i s5 C; S
at FlowZombies.Zombie$$FastClassByCGLIB$$f04c0135.invoke(<generated>); r) w- `6 B; r4 }0 @
at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) 6 D Q: H1 H! J- g& z at repast.simphony.engine.schedule.DynamicTargetAction.execute(DynamicTargetAction.java:69) # N6 Q2 `9 U" N; O at repast.simphony.engine.controller.ScheduledMethodControllerAction$ScheduleMethodAction.execute(ScheduledMethodControllerAction.java:253)/ t! \. [. \- p
at repast.simphony.engine.schedule.DefaultAction.execute(DefaultAction.java:38)! E2 A9 F: P6 r \! s" x- i* p
at repast.simphony.engine.schedule.ScheduleGroup.executeList(ScheduleGroup.java:184)- Y5 e6 v1 h; d a
at repast.simphony.engine.schedule.ScheduleGroup.execute(ScheduleGroup.java:201)8 D' s, t' g9 M! N- z
at repast.simphony.engine.schedule.Schedule.execute(Schedule.java:352)% A0 U& T( P) c/ z* e
at repast.simphony.ui.GUIScheduleRunner$ScheduleLoopRunnable.run(GUIScheduleRunner.java:53) 5 q/ D* c1 E$ {9 Z% O at java.lang.Thread.run(Unknown Source)! g8 j! R" z4 ~! T
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]+ @9 ^5 V8 h0 f6 @! u
Possible solutions: getNeighborhood(boolean) . p$ h6 \/ a5 E3 l' I9 ] at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:54)1 n& l k# H1 o! Z& Z; a8 ]; L
at org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:46); B7 c! Z! n" v s
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:124)" r5 T3 ^( t& A) D# Q0 z
at FlowZombies.Zombie.step(Zombie.groovy:128) 5 q( U7 e R3 R4 Y9 } K {- v7 w$ J2 s1 {, o- R
请高手指点迷津呀!痛苦中……