|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
3 T2 j# p# R! ?6 Q1 A+ K
. a' j1 y" n% l7 d' F6 E8 u运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:- M. ^" }2 y$ X4 v1 Q; \0 K4 w% ]3 C
; P5 j' O* D( A( b" E2012/06/13 09:59:23,312: Error while creating displays
N8 A2 `: i3 p, V9 {java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
4 a6 O3 x, F; [& X/ V at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
/ d9 V6 ~8 |5 r0 I5 P at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
9 T, {2 n0 p9 ~3 v @- A at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)0 {# J5 Z& f) [9 p' u
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
8 K$ \* ~4 Z9 E5 f8 A" z# j: W6 X C at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
$ _" }: C, q; ?& N8 } J- l at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
! v* U3 P! h( Y% r2 G H! @5 |1 L at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
) I) _& P, c5 Y' { at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 ?5 b. V" O4 n# |/ c/ Z: B at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)- j. V( ]; r5 z: v$ L" N
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)* S5 Y, @( k; I8 g; y
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169): }2 J U& E: a" H8 {+ ^; l* @2 {: Z
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324): E; t, a4 M$ j' e
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)" a( B; o1 R1 k o+ R
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)5 z( D A4 t4 U; |) y& |9 w
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)8 I; u( m' S, w: X
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)' X& B8 X9 y; }! T6 x
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)+ o. v$ ~' _( |+ U# q! \
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
& j" C0 i5 a) }5 ?6 x/ J+ h at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)7 ]$ D5 Z5 `: s I9 H* N
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
+ }5 a9 T+ G& E1 ~ at java.awt.Component.processMouseEvent(Unknown Source)
9 O, L# d4 W" Z! S4 E+ ]; B5 G at javax.swing.JComponent.processMouseEvent(Unknown Source)
# V, R$ }! G, q3 R% {7 }7 {, P* f at java.awt.Component.processEvent(Unknown Source)9 g+ t, g8 |# h! H) D2 V; R# P
at java.awt.Container.processEvent(Unknown Source)5 C/ p' U1 C; J" \$ E6 N* C% ^
at java.awt.Component.dispatchEventImpl(Unknown Source)
7 g6 M' Q4 u/ U7 u* e- h at java.awt.Container.dispatchEventImpl(Unknown Source)
2 C2 X. o1 f) \/ }$ t% |- i at java.awt.Component.dispatchEvent(Unknown Source)
1 s/ L) X4 P. k/ B8 l at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
5 P+ i4 |4 g4 M; C, S. V: o at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
: ~" j: o; \$ k# V7 y- ?' B at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)( ? |- ^! r& J: ]" p
at java.awt.Container.dispatchEventImpl(Unknown Source)
1 v2 S0 N3 O$ } at java.awt.Window.dispatchEventImpl(Unknown Source)
+ y. j! [- n+ n& j0 X at java.awt.Component.dispatchEvent(Unknown Source)* ?+ V5 D/ X! x4 M, B
at java.awt.EventQueue.dispatchEvent(Unknown Source)
$ G# {) D; M2 a; b. E at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)! ]9 |1 u% ]5 L. [8 D' S1 D
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)2 q* G `# [/ ~" r
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- T6 \" s' W9 M% m at java.awt.EventDispatchThread.pumpEvents(Unknown Source)- L+ V. ~. d) N/ N
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
6 p$ g1 N- O$ ~# X. p0 W* ^5 Q at java.awt.EventDispatchThread.run(Unknown Source)
6 k& G6 _6 G3 e+ b. h7 { |
|