|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 : ]! j7 z% ]. A* \$ ~! j
* k( V% j: r8 w3 v/ b( A) p+ m5 D8 T运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
; M6 p" o0 |! g; {
+ j) v1 D5 S* p ~3 Y2 a. w2 {2012/06/13 09:59:23,312: Error while creating displays
! C" W% l7 M2 S" |, M Q1 Q) Cjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
, E* b8 y' q& S* g% U at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)3 J1 V* Z6 R, _3 y2 \5 U2 w
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)- B3 s% K! j9 H) z: s, p: J
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88) ]/ S$ i: b" B0 d* |* N
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)& u3 \8 D/ d6 }3 f) B2 N% ]
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)4 D" a# u0 o8 H5 x- x, m
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
; w9 g" M* X& y+ O6 } at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
. h" x* I, z; g+ d& f. R at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)9 C7 [1 @/ u3 o% \1 m( e8 P
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290), ^7 t( C9 x m: S* B' Y
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283). U, S: D6 C5 \4 ?$ ~- k* m
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
& u! H6 V) Q: g+ w# V at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)* d3 }$ @6 X. R
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
7 b& [: |7 i0 F* q) C at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17); X! f7 ^3 l4 X" x5 X& K3 _0 n$ ]5 x, ?
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
n: b8 R/ ~1 s2 W% S ?9 U at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
2 y3 E( S2 }; U( o) {3 f. p at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
7 d# [6 [) s+ j2 V3 T at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
9 D A9 D6 z$ m# L! h% p3 n2 f4 P at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
* M% i% ?, J" n3 V6 K1 S8 o) j9 a2 {! X5 n at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
' T- ?8 [& |, p. q/ l at java.awt.Component.processMouseEvent(Unknown Source)# ]' o. B! [2 k* w
at javax.swing.JComponent.processMouseEvent(Unknown Source)
" K( U) c7 [1 y- q' r% A4 {' z at java.awt.Component.processEvent(Unknown Source)' i6 B% h- T+ Q4 U
at java.awt.Container.processEvent(Unknown Source)
9 q0 a; a% ?2 ^8 G' i# C at java.awt.Component.dispatchEventImpl(Unknown Source)
* _( r) A% Y3 y. T3 ~ at java.awt.Container.dispatchEventImpl(Unknown Source)
- C! j3 c( w- s; | at java.awt.Component.dispatchEvent(Unknown Source)* s3 J- W! ?8 r) z
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
$ u( [9 S% Q6 o4 q H! a1 d, n at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)) g8 ~ [* ~0 z: B8 h( h
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)6 g, g# I$ O: B" \6 M Q# z
at java.awt.Container.dispatchEventImpl(Unknown Source)/ q* q9 R1 K* g& ?) u8 {
at java.awt.Window.dispatchEventImpl(Unknown Source)
* `+ E. W, P. S2 `8 @$ H at java.awt.Component.dispatchEvent(Unknown Source)
" N' w0 A* W- }% C# j+ x at java.awt.EventQueue.dispatchEvent(Unknown Source)& ? u. O/ L! I6 L# w; k
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)- n( P7 q( N8 g3 e0 I8 U! k" {
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
8 j- J# n& ]# u( c at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)' q$ i* @! z, S, v7 Q
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" i5 |: }8 }3 B3 y( A at java.awt.EventDispatchThread.pumpEvents(Unknown Source)& U7 e G; {4 C4 x
at java.awt.EventDispatchThread.run(Unknown Source)
' M1 j6 L, I0 c3 u5 n! e |
|