|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
) \2 x ]; f7 A9 ~0 G6 }* Y& S6 D! t& V: `! K a* \7 Q) U$ _. u
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
) x) u+ L# r6 n6 m7 f+ L" {- }4 r5 ^
2012/06/13 09:59:23,312: Error while creating displays
" k/ S+ i5 c9 b' k, G' Rjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
/ K; l# {/ s! e) Z3 Q at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
) P6 z' V6 w9 X0 y# C at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)" z8 b( z9 [5 B
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
_3 g4 X; l U4 ~' y7 t at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
, e7 n( S4 n: E3 y- V) j) i' e at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)1 j6 t! Q. E. l& \1 p2 [
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)$ b8 H( B4 F! K: L: Z
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
( M3 I+ P3 M, G' L0 J! _ at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
# B0 i0 Y8 M8 k) ^! k# o9 q( w at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
: |/ O+ f/ {9 E, A% j. K) x at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
" m( G& G1 _* D at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
+ s( t3 A! S( d- D/ z3 A: h' B4 y at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)! @$ C. I# q# D& I" w1 L# c
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)2 U) _; L! X8 k0 q
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
6 h" m5 ^: [" ]! }7 r2 B# c0 z at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)) b' }5 E! K5 Z3 r
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)- ~* {/ w. z9 `2 l: u$ [8 ]
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
! A# T3 C. A4 B8 L at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
+ o- g! m7 I% W/ u' B at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
# S( Y: o) G' K. W7 C r at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)+ [. a( u B$ K% B9 l
at java.awt.Component.processMouseEvent(Unknown Source)
, ^4 i2 }0 S* n8 } }$ b at javax.swing.JComponent.processMouseEvent(Unknown Source): f& T# M" p# K- m
at java.awt.Component.processEvent(Unknown Source)
/ L3 h$ L3 ~7 q, w' i at java.awt.Container.processEvent(Unknown Source)1 n9 h5 F3 V" x0 @+ p5 h6 b% j0 Q
at java.awt.Component.dispatchEventImpl(Unknown Source)
3 L( n! J. v) q M/ z at java.awt.Container.dispatchEventImpl(Unknown Source)
, l0 z, Q* K* n: ~ at java.awt.Component.dispatchEvent(Unknown Source)- f& w+ E& g7 Q
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)5 j. @! K6 J+ p3 ^
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)3 ?/ U' a: q c9 j! y4 f
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)( D0 H! Y( Y: ]
at java.awt.Container.dispatchEventImpl(Unknown Source)
! d6 g) K$ _; R% V# X I at java.awt.Window.dispatchEventImpl(Unknown Source)$ O+ }' e" c8 M; a
at java.awt.Component.dispatchEvent(Unknown Source)
9 F, y. F( k3 t at java.awt.EventQueue.dispatchEvent(Unknown Source)6 C# _; i1 f: E, K4 }2 ]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)2 n) K. c+ c% F# f
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
7 f! x8 B6 H, M! S0 ? at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)/ H; c0 x! E8 v5 n: o+ N
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
+ a+ r/ k' K* l1 ~ H9 b. l at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
4 @. b/ c; b& a3 i# A4 Y at java.awt.EventDispatchThread.run(Unknown Source)/ B4 I) G2 ~4 G9 n/ S3 j d% ?3 f
|
|