设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4258|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
1 _# b: L. R4 N& s5 s4 W+ a
+ d# G/ l0 r! E' ~5 l运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
2 ~; p& q- k# {/ @* V" o  m; j, _3 u+ M' P# I2 P( v* v9 W- e7 p
2012/06/13 09:59:23,312: Error while creating displays9 b4 n( H  I; O% r
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.% R+ @9 t% _( w  ?; e- d0 A
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)6 j. T1 D" |, W1 d% B9 ^4 u: y
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187): G: ?% C3 D  ^# h3 P5 C$ {; l
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
8 P" U0 {+ Y7 L2 [3 {: ^+ ?3 b- B        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)& s( p) x0 g5 M* B+ a( [" c3 `  [
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
2 I" J! L& ~) Y4 w  A        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1): g9 J4 w4 B/ l0 N; R6 B
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
- ~+ S6 a' {- c        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
6 `+ K& k/ h7 G( r7 R( }+ C# y        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290); O" q3 ~# j+ [, X/ Q9 P' e  w
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)8 f5 n3 p4 e6 e( v5 e4 C8 a. N3 ^
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)! Z4 p4 U* t+ c  \: E
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)& j" o% \; U7 q
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
0 m% s0 _3 y. Z7 d7 ]        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17), N& ~5 q2 [# K  ^7 }
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
! N1 l$ }- i  K5 B" R% ^! M        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)* {7 J" ~; K2 x+ M4 b6 t
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)9 A; K( I# G6 W0 A1 H% ~: H
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)' x" n8 G  h6 _  t' f+ {
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
0 ~5 w4 }( S  Y9 h        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
. t+ Y$ F/ F& v9 y1 J$ K        at java.awt.Component.processMouseEvent(Unknown Source)
8 K9 _4 A& z1 M        at javax.swing.JComponent.processMouseEvent(Unknown Source)' T  I' A( J6 ~0 g1 c; `% N" J. C
        at java.awt.Component.processEvent(Unknown Source)4 L+ V* N% `5 d* _- d- D" Q  G( ]
        at java.awt.Container.processEvent(Unknown Source)' T5 d1 J/ ^4 u# T6 \6 }: t/ k3 ^
        at java.awt.Component.dispatchEventImpl(Unknown Source)/ @: r  o. A) \6 c2 k; L$ e
        at java.awt.Container.dispatchEventImpl(Unknown Source)
% Z, \$ R% ^( W6 q( Y        at java.awt.Component.dispatchEvent(Unknown Source)- X9 M) m4 e: t4 ^
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
& i  T" O( v1 |( v$ s$ Z        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source): K, L6 k% v( F+ {5 i0 H
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
$ n2 N2 H3 L1 x        at java.awt.Container.dispatchEventImpl(Unknown Source)
, E" C* d' \  X( y        at java.awt.Window.dispatchEventImpl(Unknown Source)
( \- m! Q7 w( m! g8 F' i) n        at java.awt.Component.dispatchEvent(Unknown Source)
$ n0 n& _8 l* l3 ^        at java.awt.EventQueue.dispatchEvent(Unknown Source)9 K% O& }; w* M: E
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
. J1 y# T0 o4 E& G! p        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
: F& |1 ?  p+ J% u# n% ~        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
( Y1 y- E0 h$ H- }3 ^  E; I" U        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& ?# C3 @0 }0 P0 p: r: G        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)4 w$ i3 N  A  G: j9 ^) a
        at java.awt.EventDispatchThread.run(Unknown Source)
  @  G9 r- j5 A/ K8 `" Y- w
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-4-5 00:06 , Processed in 0.018825 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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