|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 3 a' @& [ \; \5 }( ?0 \$ j
. U( b$ Z4 w9 G运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:+ g/ v1 [0 O% W0 I- Z. z* z/ ~0 y
2 y8 V) w% \9 r* a2012/06/13 09:59:23,312: Error while creating displays `; \" i: _# S4 k$ ?% K {$ ^
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.* k9 q4 v0 g0 [/ Y* X9 o; F; m
at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
: M9 d# @% f5 U: Q4 s at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)+ u; ]. L8 H1 [0 P
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)' k) ]% N6 @3 C
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
( E: d6 B: Y2 ^0 {1 I at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)7 j! w9 Q' d8 o1 T
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
# s3 a3 j3 a& p8 v4 I& P5 c/ N at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
K. f% \3 Z6 m7 D% Z) P8 k" a! @ at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)3 |/ H3 y) M! o/ n# X
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290): a: G9 c* h8 A7 `' r7 H" r( z
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
: v) t( Y# x, Q) E4 a at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)3 l6 J; W( N* w) K% p8 N
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
6 ^( u: x) x0 i6 K7 x" T at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)1 p3 X$ K" r9 d- Y; w! Y0 D0 K
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
+ H! ^0 K8 J* k! a* n- H4 l) a at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
" T0 K3 t) r( a+ T. ]; D at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)5 H+ f' M3 x9 x, o o6 V
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
; X- |2 `9 m+ j4 \6 { at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
: z( p5 z" m2 Y7 k/ v6 b at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)+ y9 E$ ?# H) |/ [
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
# H/ x; x5 o+ t+ ]/ k at java.awt.Component.processMouseEvent(Unknown Source)
1 q! i9 x* m; E! U) P9 h5 y at javax.swing.JComponent.processMouseEvent(Unknown Source)
. _: X# f, {, J/ O; S at java.awt.Component.processEvent(Unknown Source)
% N" {+ D# {% _; K: k at java.awt.Container.processEvent(Unknown Source)
q- I% \2 w# w! ?3 } at java.awt.Component.dispatchEventImpl(Unknown Source)7 \; I3 N5 U, b9 _3 Y
at java.awt.Container.dispatchEventImpl(Unknown Source)& F4 }- _/ D, k" M: M. @0 X
at java.awt.Component.dispatchEvent(Unknown Source) A. z# |0 |) |8 Z$ t
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
. B+ _- C# x! f& z9 R2 P9 Y at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. S& q6 o- Y5 x( B; E at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)9 p; N9 X; f$ W" H) x8 k
at java.awt.Container.dispatchEventImpl(Unknown Source)6 G7 n* R( N; [: T4 P
at java.awt.Window.dispatchEventImpl(Unknown Source)
) J, j/ q5 a# n6 x5 } at java.awt.Component.dispatchEvent(Unknown Source)
|" z, k: I8 S at java.awt.EventQueue.dispatchEvent(Unknown Source)- q) Z/ Z- |; b( A
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
5 Z1 l- |5 k3 {- b0 @ at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)& {8 E# C; k2 \& M2 y3 s
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
1 O& W8 p8 \* L) M at java.awt.EventDispatchThread.pumpEvents(Unknown Source)" s( n0 T2 l/ C9 k2 Q. h( `, l
at java.awt.EventDispatchThread.pumpEvents(Unknown Source): U" Q) }- X1 x. |9 F
at java.awt.EventDispatchThread.run(Unknown Source)1 {5 S n8 D/ i! i8 f
|
|