设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4396|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
$ {! i, F" @0 F& c8 C+ i0 @( f/ \3 `. ?
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:! k; K" c& o9 Y$ W  K
8 S, y$ k- ]. O7 L) z6 j  |
2012/06/13 09:59:23,312: Error while creating displays
0 I. m" U  B6 }! w/ ?# p  Q1 ^java.lang.RuntimeException: Projection 'ContinuousSpace' not found.3 {' N6 E' ]5 D/ N
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)" P, a0 b4 k. O) R6 I& A% \' _5 u
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187): X% ^/ j. Y  G" T: X6 C: s
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88): b  ~! }2 J) _# v' z& x0 T" @4 D
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
. j% }) V3 N7 ?3 d: I$ `& h        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)$ _2 |3 K. A8 _9 Q& ?+ z* y+ M
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
. |: Z% Y1 i! e3 K$ o, @/ h        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
# I3 _) a  I# N1 {        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
  g/ G. Z  l! @" _9 U1 K        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
4 G) F1 U% \9 J5 K- O7 L' x% ^        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
+ j9 u$ m+ g, P7 n+ P        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)* p. X: D; V( s9 A8 b7 Q
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)4 a/ |7 I) e  G1 M$ Q) H$ D9 h
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)) G8 o$ }  S7 Y$ N8 Q0 t
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
' j! x$ i. L: E8 H+ ^        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
7 R5 Q: C1 w, o" i, E3 s4 U, \; t        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  a2 ?. o0 Y2 j/ [- w
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
' U8 L3 x# ^2 V& W! {  W        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
1 s0 b" V5 F1 d+ V: X  o1 Q# p        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)# d% ^$ B$ F. _4 J
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)/ e- N% d; O: @3 u1 E$ g: x5 r, y
        at java.awt.Component.processMouseEvent(Unknown Source)
2 O2 W% D  a. p" p8 _/ V" {        at javax.swing.JComponent.processMouseEvent(Unknown Source)- e% E0 T- A) x& ^, b2 h* Y
        at java.awt.Component.processEvent(Unknown Source)" J3 u+ z5 {, B5 ], ]
        at java.awt.Container.processEvent(Unknown Source)
4 s; b6 Y- W' B/ n        at java.awt.Component.dispatchEventImpl(Unknown Source). U$ e9 ?2 P2 N, r$ O6 Z
        at java.awt.Container.dispatchEventImpl(Unknown Source)3 R5 U& ~% |! F
        at java.awt.Component.dispatchEvent(Unknown Source)# I# w/ |$ U. @0 f" z
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source). L. R! [/ Y# g3 J  y7 \
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)( d* i, P% @% N: w% z" v/ K
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
& ~( I: [( R& l2 y9 H" T- p& J+ E        at java.awt.Container.dispatchEventImpl(Unknown Source)- H( D1 C8 Z; }2 s# i. q6 L
        at java.awt.Window.dispatchEventImpl(Unknown Source)
( H4 j6 {$ V- [& |        at java.awt.Component.dispatchEvent(Unknown Source)8 a# I5 D+ d: j) r& U
        at java.awt.EventQueue.dispatchEvent(Unknown Source)5 N% ]7 Y7 H3 s0 S% {& o, j# c
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
  t: M4 U; ?3 A3 n        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)9 l0 |- q% N& T, R$ `
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
5 @8 J, c: N# p# |) q        at java.awt.EventDispatchThread.pumpEvents(Unknown Source). L" N1 [- Q: G" P
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)- Z7 J" @+ Y* `" F! o, R
        at java.awt.EventDispatchThread.run(Unknown Source)
. U' U  H8 n( F  @1 x: X
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-5-19 06:55 , Processed in 0.016325 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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