|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
4 H2 @3 D. N7 E9 n# a* ] Y, U
, v0 p+ l8 W: B5 D9 U8 m: c! ^$ m运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:% E$ L7 a$ X$ D
* X7 k$ m g- e) {! F8 v; I2012/06/13 09:59:23,312: Error while creating displays. \% I: d- F$ q+ ~0 m, g. M
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.8 U+ u4 G! t. f# K( U- P
at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)+ w7 F8 h/ T. D2 e3 w/ w# R$ o
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)8 Y/ {( i! j9 |
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
' P5 V( ?* e% G& o1 o at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)( G9 {+ N# A1 M j
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
9 L/ J, G1 Q( a# n at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
: | s9 C3 c3 g- y0 K) k1 F" Q at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
4 u4 ^/ ~0 J/ B5 O at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290); E' g7 K7 Z. I
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)# r2 E- `, L1 R: m9 {
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)9 _9 ?5 h& C C
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
) v1 u: }; Y+ r3 k# i0 M at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)2 _4 T' { q+ K. J! J( `6 F, t
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)$ I* u# D1 D f( u% {
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)/ M7 F$ b- d( W' W1 t
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
M% y4 J$ H6 V) W* r at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)& p7 X8 a7 G* W3 T: b0 `/ i7 k* z
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
# E( l' s; |( J' J+ h; K* F at javax.swing.DefaultButtonModel.setPressed(Unknown Source)& b5 G1 U+ @2 ]7 |
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
" e4 |, G @1 `! a$ j2 ` at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)# n o' r& S; F. ?: Z0 Z
at java.awt.Component.processMouseEvent(Unknown Source); ]% K/ w* n" E0 \- A: c2 }/ D; h+ n1 u
at javax.swing.JComponent.processMouseEvent(Unknown Source)% j! R+ | O( C o
at java.awt.Component.processEvent(Unknown Source)- E2 r0 d$ m f$ ]
at java.awt.Container.processEvent(Unknown Source)7 M3 \: e& d% k8 R$ c7 M, H
at java.awt.Component.dispatchEventImpl(Unknown Source)
`. o; f' l; K at java.awt.Container.dispatchEventImpl(Unknown Source)
% {5 A: ]; h- [6 n$ l at java.awt.Component.dispatchEvent(Unknown Source)
6 Y/ s" m; {% |8 {0 ^" B( \6 Y at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
+ Y; C6 q0 {. S% r) N at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
n! K' X/ V9 [0 q; M! N8 X at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
2 q | z) P2 `, M at java.awt.Container.dispatchEventImpl(Unknown Source)- ~4 l# f+ E5 [1 j2 R
at java.awt.Window.dispatchEventImpl(Unknown Source)8 C8 C% @8 v. E9 X0 e! `4 y
at java.awt.Component.dispatchEvent(Unknown Source)
1 y& M; N R# |9 R( p: A at java.awt.EventQueue.dispatchEvent(Unknown Source)$ X) U, B7 |+ Z( I1 C: n2 k
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)+ L' Z4 _" ?: h# h' K5 v0 b' E
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)4 U# o/ }. b8 Q. p
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source). @0 s- C7 a- L/ X# p% i
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)# l- @, _4 h" W$ W5 t% f$ c6 t
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)" t+ s$ Q: f" e/ p6 a6 a/ k
at java.awt.EventDispatchThread.run(Unknown Source)" z. I1 v, X, F* y' @+ X
|
|