设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3815|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
0 R  p$ D1 v# C* `. T2 _3 g4 y0 T! B6 }5 m1 h9 }
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
* l0 z. k% N& l6 B: L/ ^- p( D1 O8 d& C) w+ p( A' w! D" s  A6 l' x5 Q
2012/06/13 09:59:23,312: Error while creating displays3 \0 u/ A- _, S' y4 ]( [* U2 X
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.  o  q- z! ~  [7 q2 d/ B, t8 j, w
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)7 I; S  F6 ]; K/ q9 U7 T5 c
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
- n+ K: x, w% c+ U0 d! ~        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
8 Z" H5 X$ n5 i: K( X* f! G6 }6 d        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
5 \4 U, J# v5 k( I% ^! S" T        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
' q) w; p7 b4 X( [9 ^        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
9 Q5 y7 ?' g$ x  a* T        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)) z- x+ c# `8 R
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290), }4 E0 A: l* Z; B3 u9 ?8 P$ O
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)3 H: }: R3 _7 v! u$ g% f4 q  f, j
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
% V6 a; B, ]0 }& Q" H8 o        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)% Q+ J" E  g4 u3 H& X, F% K( q# P
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)) a" V) a; Y. u- F% L
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
3 x; D! r* b6 V        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)3 Q- z8 l% E. Q' z
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
1 s; @" c  Z3 g$ @4 T" u6 o        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
7 K: B* n) v: ~+ l        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source). }7 ~# o* D( j" R
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
8 q8 l, f2 W; }, l# A" `        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)/ N3 c! ]1 {! y- w' R# r
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)& Z' m4 D  P' L3 n
        at java.awt.Component.processMouseEvent(Unknown Source)- x- |- e( n* w1 ^
        at javax.swing.JComponent.processMouseEvent(Unknown Source)# F9 @* }2 C  m7 A9 r6 O3 E9 }
        at java.awt.Component.processEvent(Unknown Source)
' H+ G, b2 h& a! ^6 l- a        at java.awt.Container.processEvent(Unknown Source)$ q! c: |# y5 @# h4 b0 x1 P
        at java.awt.Component.dispatchEventImpl(Unknown Source)) \+ j0 d( W! m/ J
        at java.awt.Container.dispatchEventImpl(Unknown Source)+ ]! w; ]( Y" Z" C1 l  Z- s' O4 X
        at java.awt.Component.dispatchEvent(Unknown Source)
+ a* y- X. L9 a; p# Q        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
. a& Y' m$ `; l; o* M3 B        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
1 x- }- q: r! W3 ?" u3 M        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)9 G) \' Y) G" D4 `3 w" c
        at java.awt.Container.dispatchEventImpl(Unknown Source)5 Q8 d+ V0 w, _# G/ Q
        at java.awt.Window.dispatchEventImpl(Unknown Source)( `* E9 q% V) I" W( ]! S5 S
        at java.awt.Component.dispatchEvent(Unknown Source)1 \0 `  H( X7 c
        at java.awt.EventQueue.dispatchEvent(Unknown Source)+ M2 s7 @( m: X* |, w
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)1 t1 C: Y, v: l* Y" A
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)* c4 x# \) v9 k) ?4 C0 W. z
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)( Z8 L  a, @- s- c
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
. N; N) S0 m5 f        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& Z: K6 \0 k& B        at java.awt.EventDispatchThread.run(Unknown Source)
! v7 q# g; y3 j: O( I% C; K
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-3 09:56 , Processed in 0.015434 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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