|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
5 |+ a' ] d9 d t- l* H. X* u4 F/ Q% |1 g/ ~/ [, u
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
; S' _# {1 s1 C' {
" d# T" `9 ^5 ]/ T( H2012/06/13 09:59:23,312: Error while creating displays
0 s: z# S3 H. Y7 fjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
" v2 `2 i6 [7 f0 M. J) a at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)+ Z& d# y/ x" q1 i# e
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
4 n7 b# ^/ l. J0 ?& b) z at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
. T( P9 E4 K! G$ M$ h; {8 x; p at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
, K0 Y( X% u8 k8 N( A$ x' d at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)! b: n& U6 H8 ]7 W' u
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)& z, b* F3 M7 ]+ D1 x
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
$ T& [! \- n% I at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
* v; T g7 `. T; M3 C; Y6 a7 K& }8 V" ~ at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ R4 a8 u: U8 ]+ @ at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)" P9 v: G3 R/ P* f6 {2 m
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)' t9 L8 \& e- L. S4 U
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)3 r4 O7 q( |- ~" G+ |1 q
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)* L& y; n/ y* z- b2 P$ Y
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
1 q! x: h, {7 ? at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)9 h6 z) V" ~0 f. h
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
# V) G Y- n# }5 Z at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)- E" R2 w1 x0 Z+ X; I" ~
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)8 h; @1 I2 q$ y
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)* {; `1 X! @/ r5 c4 O9 b+ y* i4 ~
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source). S$ j l# C& g, L8 b4 n- \
at java.awt.Component.processMouseEvent(Unknown Source)
6 e" N4 B8 \+ ]$ O6 [' p; N at javax.swing.JComponent.processMouseEvent(Unknown Source)
. F- Q5 H' H" K8 P at java.awt.Component.processEvent(Unknown Source)
7 |$ W4 v* n {$ d6 ~" |; E at java.awt.Container.processEvent(Unknown Source)
4 R: d6 l4 Y# _* e# y& Z at java.awt.Component.dispatchEventImpl(Unknown Source)
`. U) B5 N* Y7 L: h5 b1 J: v at java.awt.Container.dispatchEventImpl(Unknown Source)
% @* x1 y5 o0 o& {8 N at java.awt.Component.dispatchEvent(Unknown Source)# h) V% j3 \* Y2 ]( w! v* ~
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)$ u5 O8 Q4 y7 \. j2 {2 @% a
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)$ h. n& t; ?! L
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
% O- W1 }) I% ]4 w1 ^. X at java.awt.Container.dispatchEventImpl(Unknown Source)& {7 s( _. [% i
at java.awt.Window.dispatchEventImpl(Unknown Source); P; A' ^8 o$ [, Z
at java.awt.Component.dispatchEvent(Unknown Source)6 i' k p! j: _6 ]% h! F
at java.awt.EventQueue.dispatchEvent(Unknown Source); @% z+ Z# d" c5 D3 J0 r6 x& _* W! o9 j; E
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
4 a6 ]) P x2 v2 U at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)% y5 V$ W" ?+ i* Z+ R6 l5 x7 z
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)6 l% ?- b5 B/ P$ v0 J
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)$ G- o6 b& O1 c0 j0 G. V+ s9 u
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
; M) b- h5 L! x6 t! B+ e# b9 T at java.awt.EventDispatchThread.run(Unknown Source)
# M7 M: H) E$ {- p% m/ H% k |
|