|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 . c7 m: w3 ~' [- n6 d
+ v- H+ m2 l# I6 F运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:0 @0 G. B; K. f" r6 F
e2 m$ ^7 s! S1 k1 J* \1 T8 O$ w
2012/06/13 09:59:23,312: Error while creating displays5 {+ e2 d! C+ l/ l, s
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.& [4 ]5 Q0 A1 P$ u' O1 |
at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)4 r2 z7 P* w: c6 x, X
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
' ` j9 b: P! ~( v& f, q at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
$ Q5 g- K% D/ W% D at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
1 O: }8 s8 X; U3 R at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)9 z# U, I M. \. @' v0 O/ p7 X
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)8 f! ? B: _$ ]" u
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)' p: f# q/ I. I8 e7 H0 q' ~
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)5 [, b. f0 b' H
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)# y- y8 P: [2 q* s+ l* y- X3 m' l
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)7 e! B# p0 e$ D6 C1 ?- b+ l
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
) d+ H7 @; V+ ^& l: W5 b at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)0 l# V0 B: e' P/ o& @# C* |
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)& Y+ {7 T8 Y6 A
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
" q' y1 P1 @: Y8 Y2 V at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
: N& O- z. i* w( s% ~5 W& m: g: v5 k at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
# j4 X B7 N# ^ y+ `* { at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
& q6 p' `7 \8 i, f4 U+ `* c. n at javax.swing.DefaultButtonModel.setPressed(Unknown Source)3 N0 s- @! }* b k- J4 y- b1 ]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)% u. m) |, ~/ K( \* I6 a: R
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source). }3 P* ]- _9 i0 ~$ t, ?
at java.awt.Component.processMouseEvent(Unknown Source)
& y1 ?2 i$ \7 m5 ] at javax.swing.JComponent.processMouseEvent(Unknown Source)
; h4 o) C0 J3 B, D! j at java.awt.Component.processEvent(Unknown Source)
% h$ m5 u: o9 q5 r: n7 U at java.awt.Container.processEvent(Unknown Source)
Z @1 y: n! a2 F* @! w5 s8 r at java.awt.Component.dispatchEventImpl(Unknown Source)
* H) Q- V% P E7 ~ at java.awt.Container.dispatchEventImpl(Unknown Source)' \, H P3 d; Z8 B# K4 ~$ q
at java.awt.Component.dispatchEvent(Unknown Source)
* B9 }, T2 c( d at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)/ U' ]- ~ {- J' m1 F7 S
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source); O: [+ R9 k8 k) L: q1 m5 \
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)8 f# }6 @% I+ B9 ]2 a2 U' c
at java.awt.Container.dispatchEventImpl(Unknown Source), v9 L' H" O. n8 D5 v3 m8 s+ Z
at java.awt.Window.dispatchEventImpl(Unknown Source)
$ g) x u$ L6 n& A: t6 Q$ N+ c at java.awt.Component.dispatchEvent(Unknown Source)
: Z9 f9 v$ L0 A7 x* Z at java.awt.EventQueue.dispatchEvent(Unknown Source)
( A( o, i$ F2 r2 ?' e6 r at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source): B$ d% j' n" m
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source). _ Z( `* _1 L2 y1 r
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)$ b0 @2 j: R/ G# O: l# A, J
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
0 B9 X6 g8 Y+ }3 _ at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
+ t; S" f2 X( e' l' W; Y+ B at java.awt.EventDispatchThread.run(Unknown Source)' \5 d; \2 I2 [: O
|
|