设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3925|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ( m& O) `1 i$ A# Q* A: q5 w

( q1 W/ h0 Q+ n" |运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
# M: o* V8 }" T' {) X4 U5 o, C% M4 _2 C9 M
2012/06/13 09:59:23,312: Error while creating displays, _8 H; h) B3 @: ~
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.* F( q4 T7 C. J% G5 a! T/ j2 m
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
1 T/ C+ U- N# h        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
  X$ j8 ]$ V" S* o        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)9 D4 B$ Y1 ]. P! Z
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)9 \& e) W9 e8 W% i5 H
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
$ d5 o4 R, D" B1 T+ P8 E5 S        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
: q! R. Q/ R* L, i        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
# l3 d" ]8 [: }* V        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)1 p- Q( M' k- Y, g1 H
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)1 ?. ~( B5 z9 H0 F6 e
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)" h8 E# w* d) t/ E! O
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)7 o- L. O6 ^) I  ?
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)0 z0 V5 T7 a" O/ Y( r0 z
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
: X8 w: h8 ?8 s# {' n        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)) u3 r  u8 I% o" a' e# K
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
9 ^4 |: ^( {6 t        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
: X9 z5 E* a' X* @        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
8 C! ^" c* U8 C  A, c4 Q        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
3 Y' O) H3 |/ i7 e# h        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
& n5 s, v, J1 {1 j4 B        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)8 |# x/ b  p. O4 f6 B& h, b3 {
        at java.awt.Component.processMouseEvent(Unknown Source)
# B0 m* ^6 z; X        at javax.swing.JComponent.processMouseEvent(Unknown Source)
' B/ d; H! n0 j: ^0 X        at java.awt.Component.processEvent(Unknown Source)
9 M8 b" p3 D' L- _8 F5 O3 n6 K        at java.awt.Container.processEvent(Unknown Source)
2 d* ?/ X  ?3 Y6 u3 I: c        at java.awt.Component.dispatchEventImpl(Unknown Source)
7 `$ P! E- p4 _4 S        at java.awt.Container.dispatchEventImpl(Unknown Source)9 l9 i, P% n0 r$ S4 @9 [( V
        at java.awt.Component.dispatchEvent(Unknown Source)
' k: _9 U0 G: z+ S        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- s5 w5 X, ]1 _1 _( @0 c        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)9 _" g. O) U) F1 b1 b$ P
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source), J6 v3 K. D- p2 d2 y% ]
        at java.awt.Container.dispatchEventImpl(Unknown Source)1 m! G' w' @" I
        at java.awt.Window.dispatchEventImpl(Unknown Source)" M9 m& `, C5 n* v7 z! Y7 ?
        at java.awt.Component.dispatchEvent(Unknown Source)
" S0 I$ u& o% p. m- k; N8 u        at java.awt.EventQueue.dispatchEvent(Unknown Source)
. V' t8 b4 F; ]        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  B- f* y0 \0 K+ q! W" I
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  m8 Y3 a- t) r9 a. [: X        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
$ q6 s: a( U- o4 E' G        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
3 q% f, |3 x6 N( C        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)1 n& z' s% \5 L7 a  R# x7 g5 Y. q
        at java.awt.EventDispatchThread.run(Unknown Source)0 i+ z; N8 _2 U
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-2-2 00:44 , Processed in 0.015968 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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