|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
, j8 ~/ c- }8 b) K. W/ G$ d3 w& V& o& e9 e' l5 S" x; s/ H4 j$ a8 r% m. X
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
( W% s/ }/ s) V0 y$ h0 E6 G) z, n: W' l4 H* H& j2 t( G
2012/06/13 09:59:23,312: Error while creating displays5 a: L; `- ~' y; A2 p# x
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
4 F5 ?5 H) R, ^' j- i9 @: `! m/ Y! {: w at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
" H8 {0 W( N T/ |5 M at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187): {" |$ i' `3 k+ B5 ]7 ]+ F- @
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)& [* y2 z' y0 f, V) B: y% Z
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)0 b4 A& \( V6 U- ^3 E
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
9 H. J3 V* K5 b; D) v at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)( R, p0 j: Z, o/ p
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)4 Y2 n! `; A0 i Q: s
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 W9 h# R. O _; N at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
- c' A2 ^: u1 e at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& R: B7 E' E, K4 t, m5 X% Q
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)2 \2 }$ P* D# G4 |) ^6 e6 r
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324): }) Y) Y6 e$ k8 U+ _. d
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
* a; D/ J# n' a9 M* L5 @ at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
' d1 H2 ]1 V( b) b at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)' T' N2 ]( o. P" E9 V* D" z, K
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
/ E( ]0 [8 E6 d1 {9 Q; [+ p% y4 x; x at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
) y0 I# D( I9 o0 Y/ M/ @5 ^8 [: s at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
' X2 s7 Y0 J* E6 R. p8 L- {9 f1 } at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)- q# z# F- l/ M) ?, @, x, E
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
6 i( J, L5 w! M, g T( W at java.awt.Component.processMouseEvent(Unknown Source)
% f- y% a- c) I; B @/ m1 B at javax.swing.JComponent.processMouseEvent(Unknown Source)
# W3 t6 k/ f8 y* p& ^: H% h; f at java.awt.Component.processEvent(Unknown Source)! N& i) [" f' H$ B3 R) O# Y
at java.awt.Container.processEvent(Unknown Source)
5 d' B% K" d" Z; a! k at java.awt.Component.dispatchEventImpl(Unknown Source), H9 G6 f& J8 t0 c1 c
at java.awt.Container.dispatchEventImpl(Unknown Source)
* \2 B- m% }# W7 z0 f- m [ at java.awt.Component.dispatchEvent(Unknown Source)
5 ^$ u1 z; \; f at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)+ k0 Q* W V* a% F- y# V9 R
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
$ ]- H# E% J( w' M0 q, n% a- C at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
, G! B# K7 G6 v# I z7 X, o; Q at java.awt.Container.dispatchEventImpl(Unknown Source)
% B2 x/ ?' o+ J+ A& e- R1 ]: _ at java.awt.Window.dispatchEventImpl(Unknown Source) l1 N+ T! s; L
at java.awt.Component.dispatchEvent(Unknown Source)6 W5 G# |0 B7 K5 C8 }
at java.awt.EventQueue.dispatchEvent(Unknown Source)
( }" X) A2 p( H/ l8 K; b at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
' o( r+ g1 y8 T$ U# m* t7 C at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
& g- w2 z4 z2 [ at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
" A0 s! B1 `4 B; }' a0 j& g1 c at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
$ \% T/ L7 w7 u% O at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
+ D# {8 {) _2 k2 ~7 _' I/ n6 Z at java.awt.EventDispatchThread.run(Unknown Source)
% j% d# V$ l2 @+ Q |
|