设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3509|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
# c2 V% S% g" @' ^* ?! d* M8 U) B
$ ^$ a$ H! ^6 S- d; ~5 |! S运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:# \8 ^+ S, a4 S2 f" u. [+ d

* t! ?2 p  a( m, Z6 i4 D9 R2012/06/13 09:59:23,312: Error while creating displays
( t: X) d* s5 i- E) a% S6 Hjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.$ @2 `# D9 ~+ q
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
% q/ b+ X6 ?8 A: B, s* _        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
: n2 w6 s  q% e- f% G1 Z! `: w        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)! U8 w/ F* k# l3 N% c3 e
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
, K( u0 l- K1 M7 F4 s& f        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)( O6 R) D( J+ |$ q4 H1 G, c
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
: A) e5 l5 D' v5 f4 F+ h+ C        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287); y0 L, |/ u# x: W* S
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
' d* t4 d9 ]4 V8 A( f2 ]  e        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)* v( r! l- ^0 i$ `$ c6 D
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)( _* Z0 Z7 C2 Q# T
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)! K! C, [: u$ c5 H2 P
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)5 z( t* V# i! w0 h
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)) h# ]5 ]# f" L. K
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)$ L' ]) k; l# \+ _
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)+ M3 Z# r& \0 ?, a& N; o; d
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
7 E( Q# S! @- f; _" J* k3 r, g        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)* W  q: ^3 |& u0 l: d$ A
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)4 K. P: ?3 @& r+ A6 V/ p# t
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)$ S* H" w+ p4 ~" i' T
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
1 d/ b4 o6 u: v2 O0 u7 g2 l        at java.awt.Component.processMouseEvent(Unknown Source)
: {. k' g) z6 d        at javax.swing.JComponent.processMouseEvent(Unknown Source): ~5 l1 l# U* A1 p2 X' D. G( ~" P
        at java.awt.Component.processEvent(Unknown Source)
7 N/ ~! j8 x: v# ^  u        at java.awt.Container.processEvent(Unknown Source)
7 _( Z4 L8 S  Q  r: k! Y        at java.awt.Component.dispatchEventImpl(Unknown Source)# u* Q& D% B+ x5 ~: s2 G
        at java.awt.Container.dispatchEventImpl(Unknown Source)
" @4 ~: ?- O4 y* \- j5 S1 [5 y* s7 k        at java.awt.Component.dispatchEvent(Unknown Source)$ [5 [2 E1 I# a% e$ t8 U; @0 f8 \7 g
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
% F! b1 n% T, i        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)7 T7 P( o- d2 h4 Q4 l
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
" s: L: D; H* R. [# W4 `4 ?        at java.awt.Container.dispatchEventImpl(Unknown Source)
. i- u8 `6 k+ n5 ^( _: ]+ G        at java.awt.Window.dispatchEventImpl(Unknown Source)
! z" x: B2 U/ I8 k        at java.awt.Component.dispatchEvent(Unknown Source)
) |5 n0 Z7 ?6 m3 T        at java.awt.EventQueue.dispatchEvent(Unknown Source)7 _, {' f+ I6 o9 Y: c4 {1 j7 x1 v
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
, D, i% O" S- P3 K7 A5 v        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  J: L' V+ |; l! a        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
: \" M3 V& T! l; H( o        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
) U  ]& O2 Z" f. Y, ^  x        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)& k5 s0 _2 g5 n( D9 R
        at java.awt.EventDispatchThread.run(Unknown Source)0 R2 X) C+ _! s# z% S( d( X
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-19 17:06 , Processed in 0.011870 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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