|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
* p4 F( T) \8 X2 D d
5 n* {+ l# V* L& @: g2 Q" C运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:) D& X- I2 D; |' {" k; ~1 {
$ A( `; w& q/ j# ~2012/06/13 09:59:23,312: Error while creating displays+ B# o4 w# D" n; ]5 N* {: z
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
6 F$ F0 a) i# f" s7 P h/ P at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540), L k1 }9 v6 `2 C6 O! g( X+ }
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)1 J W, w9 G. j) {. c; ^9 v- J4 i
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
- Q, B5 v( x$ G1 D at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
V) x; y4 e1 K( ?3 C8 c at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
5 |: y/ l: j- P at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
7 R/ M2 _/ @$ U at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
2 K( y- {! b9 |/ f. B& D3 A @5 e at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)0 C* a2 V1 V2 c- j
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290) E! ^' O9 g# K7 S
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
% F3 ]0 ]4 Z! ?) X/ y8 I2 T at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)' H4 z$ f; A) P+ ~( o4 N8 P
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
* R4 E& Q; S; x& w1 F at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)9 Z' p) {; a$ O! Q; |. }
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)! S/ P( i1 C. g" L0 ]. Q0 V! r' e5 x
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
: B( W7 O' f' P# Q" W6 _3 g+ C- D3 E- z at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) b$ I2 ^- l3 L. I9 y6 b( q; \
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)& A2 _- U, X3 s; c% @4 e
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)& y$ a/ f0 Z8 b" @! r
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
$ s n a% B% F: q8 s2 v: [2 d$ B at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
' [) U& n7 W" w at java.awt.Component.processMouseEvent(Unknown Source)
5 s* N( O; g- b' ?3 V( n: V at javax.swing.JComponent.processMouseEvent(Unknown Source)
7 d5 J" T6 _* T' V at java.awt.Component.processEvent(Unknown Source)& o6 D" I* f; X- q; ]: ?/ T
at java.awt.Container.processEvent(Unknown Source)
6 _( G/ m" x9 h! C at java.awt.Component.dispatchEventImpl(Unknown Source)
% F3 M! }0 i# ^" f1 P9 x7 j% j1 E at java.awt.Container.dispatchEventImpl(Unknown Source)
6 W3 `' J, D5 ?3 x Z* K at java.awt.Component.dispatchEvent(Unknown Source)
6 c- M6 k1 [/ E6 _* Q( L2 s2 F at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source). N1 w3 o7 J6 L. ^5 y' u6 P- u
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)9 S$ i( B+ T+ d4 l' Y% P5 G! |
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
; b5 q0 n' }- s' Z# s! Y at java.awt.Container.dispatchEventImpl(Unknown Source)6 d! W0 W0 L G& d1 a
at java.awt.Window.dispatchEventImpl(Unknown Source); x! @2 j& Q, o7 a: [& o2 ~9 j
at java.awt.Component.dispatchEvent(Unknown Source)
% x/ R7 T1 q6 F: W3 |! a at java.awt.EventQueue.dispatchEvent(Unknown Source)
1 |! x& J, @! A n at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)' g5 }1 v) b) V/ ]: j
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
' Y) B! @( Z) z- y6 E4 w at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source). }% P( S' F4 O# Y6 P# @+ ?* \
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)0 `! R4 R7 ^9 \2 r
at java.awt.EventDispatchThread.pumpEvents(Unknown Source). ^4 h# x! N3 y* X
at java.awt.EventDispatchThread.run(Unknown Source)6 H. p9 i' o" t) X) [: u
|
|