设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5811|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 : ]% b& c8 B4 l* U2 E8 Q7 }! q

( E+ ~- o/ A* p运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:- s1 @% G* U: [9 a
7 Q% q  p, e' t
2012/06/13 09:59:23,312: Error while creating displays
$ G1 d. B( y& H/ ]# U& M9 fjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
  ]$ Y+ \+ O; n8 j" n5 X) \        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
* S  ~1 o/ j3 q. b        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)* e9 m. [6 G) d& Q5 e, v6 y
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
4 ^9 d  |- X6 E4 Y5 ?        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
; n# H; o$ n' ?* S" J: o8 m        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)6 N% T- t  f, K
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)5 N3 t( J$ S" c9 p1 z0 A
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)$ V/ u" e9 }- i7 l7 v
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)% r* S" U" c. Z( B1 M6 i
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)8 ~* t! v3 B9 ^
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)/ |1 x* R8 O' n3 Z6 r* ^8 W
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
* u% j: c  Z+ o- H% |" r" Y. I        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
+ X. e" o# M6 p5 X        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
& w4 q! ~, ~" t* ?, M- D6 l/ Y        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)/ F, {1 |1 K" C- F* N1 H* ]1 I
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source), c' S- {8 ^* p% w
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
) Y8 C# ^3 g$ W0 ]% G- e' ^        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
2 P( N+ J) [7 H7 Z+ K4 [$ t( `        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)+ V# v. T" j' ?4 k" O5 o
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
  x$ ?& \, e6 T8 R! q        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
9 R- T. l; D' H9 V. d% B: {. {        at java.awt.Component.processMouseEvent(Unknown Source)% b8 v( o  a6 H7 N$ M6 b
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
+ ]# K; `$ l+ [$ K- s7 K        at java.awt.Component.processEvent(Unknown Source)9 e- p7 O' V3 I
        at java.awt.Container.processEvent(Unknown Source)
7 {+ `" K+ x) H6 [( r( T        at java.awt.Component.dispatchEventImpl(Unknown Source)
- i( V. A# r! T2 J        at java.awt.Container.dispatchEventImpl(Unknown Source)% Q. F3 X5 M# \" v- w) f
        at java.awt.Component.dispatchEvent(Unknown Source)  l' D4 Y$ q4 K) Q  \4 l% ]) X8 N
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
6 V$ l9 h/ a0 u. Z        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
8 ]. h/ a7 q1 @        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 G: I" F7 }6 y% _' T7 H
        at java.awt.Container.dispatchEventImpl(Unknown Source)
$ l1 |6 n) u5 R8 ]& o( e% ^        at java.awt.Window.dispatchEventImpl(Unknown Source)! h7 i" U) s3 U# X6 J6 v7 X
        at java.awt.Component.dispatchEvent(Unknown Source)9 C. T0 G7 }5 p+ R; O
        at java.awt.EventQueue.dispatchEvent(Unknown Source)4 g, l( j" i5 {3 M/ X( |" g
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
4 \2 ~: |9 n1 ]4 H/ k        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
% P/ d1 }: Y: h- O* r: I; b* K        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
) [+ V9 _" J, e( S        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
9 P4 d7 u: S# t/ s  r; v! |        at java.awt.EventDispatchThread.pumpEvents(Unknown Source), a5 X2 y8 W( C1 q8 ]
        at java.awt.EventDispatchThread.run(Unknown Source)+ q( h- |4 P$ G( F# Z
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 10:10 , Processed in 0.013034 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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