设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3521|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ( O9 M8 c& \4 ^% U% N$ b' H

$ [' n1 W% E1 @. |7 |1 z: p2 [运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:: Y& m% J, I  Q# E) r" f

: w$ ?3 o% [# q; H$ |2 Y' L; y- T% P2012/06/13 09:59:23,312: Error while creating displays) r7 y2 O; C1 L
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
9 u" S1 G) b9 I# I+ c) ]        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
2 R2 [$ b. v! Z7 s$ V8 H3 G        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
: g! ~1 y8 L- t        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
- @' y) V" Y* C* s: A- E, J        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
( S$ p# e5 t9 b' O, h% [        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)$ s7 @  v3 f6 G$ p1 k- `
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)" L% ]7 ^' I- V, S  q, y
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)2 x  D$ v' H2 V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)% u, W8 q9 s6 W7 B8 f: ]6 Z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
9 c$ a! M5 k1 d1 d+ h& i        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)6 l2 o( C4 T+ Z& U2 Y. I
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)$ Q( l0 R. _; i8 {
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)' a5 |  q# ~, A, M" \
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
- B; C' f7 L% N& x+ C) }- k/ z        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)0 n" [) |. M, J" L9 M4 ?
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
$ \# x$ M0 U8 S/ X        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
& Q7 q! p* k* f' Q        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)" z4 Y8 U8 o# M8 n. Y
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source): }. O* o" m; T* n
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
4 [: u: k% c7 J+ V' z7 J; _        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
8 D, ?1 N6 G% ~: `        at java.awt.Component.processMouseEvent(Unknown Source)
  k  U* o" t. K        at javax.swing.JComponent.processMouseEvent(Unknown Source)& C* a& j% e) K
        at java.awt.Component.processEvent(Unknown Source): b/ f; \/ K9 I
        at java.awt.Container.processEvent(Unknown Source): g  y- `" O$ U2 C$ D* z: r
        at java.awt.Component.dispatchEventImpl(Unknown Source)
# _( j; o7 S* }: M6 E2 d- g        at java.awt.Container.dispatchEventImpl(Unknown Source)
6 I# A* u$ \# V6 }0 L        at java.awt.Component.dispatchEvent(Unknown Source)/ }+ p" G0 o! r9 [# W1 _
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
5 \. R- W# {5 ~        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source). c2 z8 N5 x2 S, p
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
# W; D  g, [  [$ X7 n2 `/ r8 g        at java.awt.Container.dispatchEventImpl(Unknown Source)
& s  X$ [6 u* b5 N* M" z& j        at java.awt.Window.dispatchEventImpl(Unknown Source)
+ \  A6 d1 l6 s) U& L        at java.awt.Component.dispatchEvent(Unknown Source)
" _$ S1 z3 j) H) K& S        at java.awt.EventQueue.dispatchEvent(Unknown Source)
0 c% w2 S6 R5 K" W        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source): o0 \5 q. D2 X
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)- s/ P7 P2 O( y9 o
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
! ]! ]0 X; U; H: v) [        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)7 l: i( A$ U' v" A
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source), y5 K$ H3 k7 T% M" `$ U! e. V
        at java.awt.EventDispatchThread.run(Unknown Source)0 _7 ^! J. @+ c) z& a6 n9 w
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-6-2 18:50 , Processed in 0.012987 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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