设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5550|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
1 i" ~# d+ r" @, Q! G' W' i) L+ h7 c: J& A) m
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
+ X5 w% m3 h' ~4 ^0 ~" z: i) ]! H6 c; f4 S4 L
2012/06/13 09:59:23,312: Error while creating displays) d" V1 O) M9 ^2 r" _: K
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
  \4 c% {7 O0 Y5 {  R# Q        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
7 `  G% R0 \( ]        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
7 }- P4 i" ^0 A- z* A        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)5 r! f+ ~- l# f
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
3 ?$ O3 @' p/ R1 j' f7 Y        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
) [% T, g0 i5 Q; \; w9 m        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)+ A8 c7 v  x+ E$ y9 c( N
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287). G* o, [5 v( r
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)1 g3 N5 Y8 Q  f0 b# p5 Z: C
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
# N: u. a" G+ C2 V- X, k& r; L! G        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)4 \7 {+ J# L7 M% O) e) E" v
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169), c3 x; D$ R- s" j) G
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)! Q& E; H$ n1 V3 r9 |
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)! t# Q. ?. C4 P8 c9 H& }  u! s. v# x
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)5 w7 c/ ^5 C: {0 ]" h: x2 r
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
' F# Q- |( J5 ?  ~& V7 [6 u        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
  _$ a' j' y6 X$ G8 o, u* t        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)) S! R+ |! G) ~  g. k/ {; U5 j: B
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)+ n. e' ~+ Z& i) X2 b
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
7 A* N( K! N5 p+ R5 |4 o        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)* Q0 u0 H! x  m; r3 b
        at java.awt.Component.processMouseEvent(Unknown Source)( O4 ?( N. J1 j& v7 c: h
        at javax.swing.JComponent.processMouseEvent(Unknown Source)6 a5 g& K, {3 u  k2 W( T3 ~. _: X+ Y% r
        at java.awt.Component.processEvent(Unknown Source)
/ [" O! Y3 _' Y" J1 C) g& y% h        at java.awt.Container.processEvent(Unknown Source), e7 ~; r9 D; ^$ m5 `0 ^
        at java.awt.Component.dispatchEventImpl(Unknown Source)
7 n' H' w4 |6 Z. p- G* Z. t        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 K4 I+ {1 u5 t) i/ z        at java.awt.Component.dispatchEvent(Unknown Source)
) c  s  ]  G6 o& _, M: P: j        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)0 B( T" {4 L, a: F3 u
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
% \! p# D! n# P: b, F% a+ ?        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)7 m  i  u6 x7 y3 w: i0 R
        at java.awt.Container.dispatchEventImpl(Unknown Source)
% a9 I4 O5 `. D, I2 y4 `        at java.awt.Window.dispatchEventImpl(Unknown Source)
) S# T, J* z7 P        at java.awt.Component.dispatchEvent(Unknown Source)  H! v) U. {; d: p5 I" B
        at java.awt.EventQueue.dispatchEvent(Unknown Source)* I/ S3 P) k9 f; X5 H, A
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
% ?) A6 x4 [2 l6 R) |% ]0 o1 y        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source); ?+ e- c/ n' [0 p# @
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
; d, _7 M- Y' t: Y& F        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)! u& d' y5 B. W9 v0 [
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source); P6 q9 `5 I: c
        at java.awt.EventDispatchThread.run(Unknown Source)
& d+ X$ V+ K' E/ k$ R8 c7 Z
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-21 13:06 , Processed in 0.017260 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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