设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5454|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 9 F; g) Q  F1 K6 y% q6 a8 m- e
' J  C8 T" `; x" Q$ f9 |$ s  l
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
5 z& ?" s% o# A' \9 r  ]
, Q* Q8 e6 i; }% V2012/06/13 09:59:23,312: Error while creating displays2 o6 W/ x. E& W/ F* k  y: L
java.lang.RuntimeException: Projection 'ContinuousSpace' not found./ f5 M# L4 [. T, Q3 d6 h
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)3 r9 v8 M& e' M$ I; o  a8 F
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187). \: b5 Q+ q3 o* P; {
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
& U# D8 N: C1 ~) M+ J5 P        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90): Z) w3 C1 I' r2 e, E
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)8 i8 p3 X% V. i8 m1 P3 m
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)  F( l7 V- K( x4 d2 S3 O
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)' I% t8 @& V* t0 b5 E& R
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)0 P) v2 {4 E- Z# ]# K$ R4 i
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)5 h+ z9 e& O: [1 N$ Q* h9 Q; l' K4 g
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283); {0 C8 L- D) o- ]& J2 ?
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
8 P8 ~4 t0 N# c9 _  z  |        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)' S  B% t, b  U$ e
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)9 K( F( T1 i7 W# A$ k* l* U
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)$ B' M/ y0 e) N7 m7 M) w2 i
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)# C. g; {( o& h0 f
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
2 w* j+ W; m* g% `) f) p        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
) Q; S" Z7 v. k- Y0 w% |7 \, @7 g- \        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)4 c% N+ n  ?6 q' Z) F) z% d
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)# @4 T+ O4 H+ n% \7 o- R" p7 v/ G
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
& L  k- r9 T" C5 \5 W/ u& N        at java.awt.Component.processMouseEvent(Unknown Source)
& a% N  E* w: ?& z: s        at javax.swing.JComponent.processMouseEvent(Unknown Source)2 |; o0 j! W2 j0 x7 ]' ^
        at java.awt.Component.processEvent(Unknown Source)8 {2 Y+ R8 I' Q8 m1 {: O
        at java.awt.Container.processEvent(Unknown Source)
1 n1 d; v& i, ]2 N! p: v* I. v) p/ P7 O        at java.awt.Component.dispatchEventImpl(Unknown Source)
: l6 ^: H9 `5 ]" X% t( n" k        at java.awt.Container.dispatchEventImpl(Unknown Source). ?9 H) U* M& A5 {# V, q
        at java.awt.Component.dispatchEvent(Unknown Source)0 G- u8 b( o! g
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
" |: C- h+ L+ [& b, j; R        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
" [2 C/ N5 ~/ i) Q" y! e" Z        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
6 n& u' _5 o; o: ^" r        at java.awt.Container.dispatchEventImpl(Unknown Source)
# B6 _/ i. B' Y& i6 }3 Z0 g# |/ Q7 i        at java.awt.Window.dispatchEventImpl(Unknown Source)2 U3 c0 ]0 {- L$ r! t0 L. d
        at java.awt.Component.dispatchEvent(Unknown Source)
4 x) L( T+ h6 c1 L& c% K        at java.awt.EventQueue.dispatchEvent(Unknown Source)- `5 W8 k3 a/ y5 t7 q# s
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)+ J( d6 c2 d( ~4 d
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)* V! H0 L# ~' W
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
: x0 p3 ~4 p/ P        at java.awt.EventDispatchThread.pumpEvents(Unknown Source): @! G& i, t1 H* L, S1 a
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
' v9 C2 {7 |4 y% G3 E2 p        at java.awt.EventDispatchThread.run(Unknown Source)
, U3 \/ t+ F  _! d( y! _6 e
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2026-2-17 01:10 , Processed in 0.014254 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表