设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3522|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
: G8 p( w4 P% D" x. {  z
' t) ?( d. v$ w* Q0 [运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
" U2 q2 v- J( e5 [+ @# W3 B( t) w3 X
2012/06/13 09:59:23,312: Error while creating displays) D6 h3 B. A+ U3 [
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
; d. P5 X# N# G+ P& c; h        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)2 X: Z! [1 A/ ~2 V4 g
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
8 H9 @1 R2 W( I$ x3 B! ^+ a        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)& F* l, O% Q: B) N/ i' L0 F9 k$ x
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)7 J$ @8 n  \  i2 x' G. {/ b) J# _
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
" W0 |- \9 D- U: |  W        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)$ l" q0 {+ Q4 ~  T; u; ~, D
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
. f' Y0 Q: Z1 i+ m: C7 h        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)4 ^) w4 q2 B8 s- c" k6 b
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 W9 W- K% R, u: s1 y7 D  R        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)) X6 ~6 Q& h, Q
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169): G$ z5 X; L9 m$ P) p( `
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
! l" \$ B' i. l0 R$ n7 m/ v3 c        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)8 O" u  y5 q8 N$ I% ^
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)" J! e0 }4 p6 a+ m: L! {  y) p% P
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source). n. l' m/ h! v' r5 p  x$ E
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)$ @' K" [' S6 h& Z
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
0 b5 X" s; i# q) @& `        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
) L# G8 _6 B* |/ ?- r        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)4 \( N3 N$ O: e% m8 `
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)  c; W. \' ]( A
        at java.awt.Component.processMouseEvent(Unknown Source)/ y: L9 H& h4 [' @4 ^7 x! `; b
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
( F  ^- z- G- n" k# J2 c$ m/ R        at java.awt.Component.processEvent(Unknown Source)& w! G. p; _2 N( b: x
        at java.awt.Container.processEvent(Unknown Source)
& r, F  R( o8 ^        at java.awt.Component.dispatchEventImpl(Unknown Source)& ], u! y0 P1 [) a$ L9 H/ q3 Z
        at java.awt.Container.dispatchEventImpl(Unknown Source)
7 a/ [" v  \* b2 C        at java.awt.Component.dispatchEvent(Unknown Source)# g! v. v8 q9 D+ {, p8 i! J& x
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)$ a8 x+ x6 l7 x; v6 ], L, [; P" A% A
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source); u5 f8 D" F3 Q
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)5 P6 h# g, d; l! D
        at java.awt.Container.dispatchEventImpl(Unknown Source)
5 i% Y& m  @/ L3 M4 t        at java.awt.Window.dispatchEventImpl(Unknown Source)3 j; g& A) y( @: [( u, J% x
        at java.awt.Component.dispatchEvent(Unknown Source)4 s' `* |2 U3 v5 N) \
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
0 O# C/ _' [; n' u7 Z        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)7 C3 e- o) D$ x$ Y% l9 Z& B2 I
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
+ e- Y4 I  ]8 s* y, R0 ~# Q( r, E# N! {% `        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
! D2 T3 \2 r0 v& V8 O. D6 s        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
; L' A$ t4 W% I2 T        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)! \% y6 o8 y8 G) M- b. k0 c6 h  G
        at java.awt.EventDispatchThread.run(Unknown Source)' Q# E. E* P# m6 J9 c0 m# _
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-6-2 19:02 , Processed in 0.011822 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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