设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5833|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 0 N1 \, Y8 {: S+ M" B& m1 {: l& ]
; g; v6 i4 p0 ^. G8 P& x3 p
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
  ^' j* D5 L% m$ ?" [  K4 E0 ]; c2 m0 {8 t
2012/06/13 09:59:23,312: Error while creating displays
. z) z( j. S7 |3 L8 hjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
, @: Y8 U% w$ X- b( Y2 z        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
: }& _( x5 n7 d* L4 ?) l        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)7 l2 `, [3 z2 l' u+ B
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
/ ]8 X0 Y& p2 k+ w" N        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
  G4 F" j. F; x' e& Z( G. e# k, }3 H        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
7 h/ Z6 R4 o  }        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)3 `6 u$ D" _( E/ X$ y; T
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
: x3 N5 j# L, i# U1 k1 [        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
! G% M! K3 g8 s% ]: N, M. A  p        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ x# f: {) f9 N+ A/ v        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)/ v# _5 ]/ \: A$ D: A! f% F, z) `' M
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
& H) @* e  K9 E4 ^7 R        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324); s( I& J, [( T+ f9 _( r
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
# Q' ]3 e* N. Y2 t) N/ u8 k" D        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)% ~% c. Y: E* |  u" p( C. g
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)( k2 \+ D& Z9 k  G( T. s
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)9 f# B3 |: N5 Q  R2 S( q
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)6 D5 S& |; z! L. W0 ^. O
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)- y& @# s0 e* M1 R5 W
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)+ T6 G5 v) c5 f7 k( q; ]/ ^
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  ?/ W9 |3 x+ [9 q# ]0 x        at java.awt.Component.processMouseEvent(Unknown Source)
* U, t# q7 w1 m$ G, t        at javax.swing.JComponent.processMouseEvent(Unknown Source)
& y" v* G5 U% P0 Z; p$ e9 R        at java.awt.Component.processEvent(Unknown Source)
: H5 @! N1 D1 c5 X& O        at java.awt.Container.processEvent(Unknown Source)
! d. k$ q' m7 @6 W        at java.awt.Component.dispatchEventImpl(Unknown Source)& X9 t, L7 z1 w/ Z  W- A
        at java.awt.Container.dispatchEventImpl(Unknown Source)
  B0 F$ o- w; E        at java.awt.Component.dispatchEvent(Unknown Source)
8 P1 a6 L2 l2 W  H& M        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)  Q6 h- r1 H3 m' l' W, u7 p
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
8 T0 Q9 b1 L% r( T5 J/ C        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
7 W5 T" H3 X, h0 P. N; M        at java.awt.Container.dispatchEventImpl(Unknown Source)5 P3 p5 p/ K% u; C& X% `
        at java.awt.Window.dispatchEventImpl(Unknown Source)
: x: ]3 n, B& l        at java.awt.Component.dispatchEvent(Unknown Source). s+ }' h+ R6 N) d7 Y" x
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
1 V3 T+ n- \5 H1 p0 c" N0 C3 e0 g        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
0 C) w, Y! }% q% `! k        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
8 J: h8 H8 h- L( Z        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
% h8 K8 G2 E9 B7 s5 q        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
9 J9 R" ^& p$ }  W  I1 Q  z        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
$ H: ]7 o" D" e        at java.awt.EventDispatchThread.run(Unknown Source)
9 R: Y. r9 ?, Y( ^3 V5 v. s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-20 04:08 , Processed in 0.014371 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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