设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5556|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
- v* ~, y, a% }& r2 l9 `3 }/ A6 x& I- m' H( e1 h! i3 ^3 ]- H
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:  x- D4 C, O( x+ |

! ~) t0 K  C* j: [  U( c2012/06/13 09:59:23,312: Error while creating displays
# w* ~$ l2 j( s- m! J( K& Z, ]java.lang.RuntimeException: Projection 'ContinuousSpace' not found.- M* p2 b$ t/ g. s7 x8 n* M
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
% Z" o/ ~( t* x        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)9 k6 [+ F9 f# l! G
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
2 d0 f4 e* `8 }% @/ w        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
  h& h5 K, c" o+ K( E/ a# ~# Y/ _        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
7 l+ |8 {2 c1 V" S& k+ b        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
( W3 R2 n9 M& x- a) Q, e        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)' Y  F* D  V2 s: L# P
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)! Z- t6 b8 ^; V3 W- [% u! s
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
0 j) _: g3 y3 ?( v: {        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
! N: z( ?3 K! L8 P5 P1 c5 E        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
* \* q+ e3 ]4 r2 l' J        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
8 ~! h! V0 x# J2 h0 H$ K        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)4 d- ], h. i7 Z. P; n( g
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
( ^6 p' C. [, b# |        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)* n+ N6 Q; Q/ d( O1 t
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source). H& {  s2 Q1 k- Y$ T; R" j3 j% P7 i
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)# g% P# D% b( `/ V. B' I: a1 k
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)1 a" _- y, S+ X5 ~1 |5 m
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
# g2 @% W( N5 x        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)6 w( n- K$ |" K) v6 F) w
        at java.awt.Component.processMouseEvent(Unknown Source)
% U! r7 H: q! a/ i        at javax.swing.JComponent.processMouseEvent(Unknown Source)
. i3 g, J* |6 l' r" c! ?        at java.awt.Component.processEvent(Unknown Source)
7 ]0 W1 v5 }5 V* W        at java.awt.Container.processEvent(Unknown Source)$ ]% Q0 O/ W7 l& C# p! O
        at java.awt.Component.dispatchEventImpl(Unknown Source); @: G7 R  f0 H- l+ S* r
        at java.awt.Container.dispatchEventImpl(Unknown Source)* \& j$ U+ C! e" o4 M: ]; u
        at java.awt.Component.dispatchEvent(Unknown Source)6 f2 M7 ?0 T* F; X" E$ F% a
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
+ O  H3 ]* \1 M  T! I        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)& C3 g2 `& }! m0 E  }2 x$ I: K
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)6 p$ p1 Y6 p% ^9 ^7 T% a. `
        at java.awt.Container.dispatchEventImpl(Unknown Source)
3 f8 N5 V5 g/ G) B( _) \2 h        at java.awt.Window.dispatchEventImpl(Unknown Source)6 k1 h; m" W7 |
        at java.awt.Component.dispatchEvent(Unknown Source)1 D2 x' R5 W. f2 |/ a: Q
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
2 S; N) z5 z4 `) r. K        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)8 M) V0 k9 y1 S6 o: T
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)& H7 p* @( \: k  k7 t- V
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)2 x1 E9 e! q" O0 X  S
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)% Y( p4 Y% W9 _* D
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" P% H9 U; ^9 ~* v6 {4 g0 a        at java.awt.EventDispatchThread.run(Unknown Source)
) l2 g9 o4 u' `& E$ m# k
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-22 13:34 , Processed in 0.013717 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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