设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5311|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 / t7 T1 P0 R& g

  q+ r& W/ T' M: f; ?( H# z运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
5 q" n* t5 K$ Q5 L0 n8 g5 b: Z: e) D
2012/06/13 09:59:23,312: Error while creating displays* T, C! j. R- o8 x2 N& g
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
: X  w9 `- S( v; P) A        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)( o, n5 R9 I/ z7 ~, Y$ t4 e
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)3 |$ w! n8 m' ]  S4 ~, W
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
5 }% q8 g5 T7 m- e        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
2 h: _4 z+ ?+ W" y5 X9 O6 Z        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
- r( o/ w' j8 W& D        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
* o% A+ n3 k! S+ l1 c        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
$ m+ q6 U' j) @) `7 ?2 M        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) z0 l0 c) O- p8 K* a
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
" B0 `3 e. ^$ N        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)6 X$ b) q6 |/ Y( [$ i6 p3 p
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
! X5 |  P  B  F0 S        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
- u4 w& _3 z5 t: F6 b2 |9 S        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
4 V' _, H8 r+ g# r, Q/ n& [        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
+ E" O% H! C1 ?" t5 f. K        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
- o+ D: T1 x( F, b* b* T; x        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
2 y% I3 Y+ M9 {; {, z  g+ a/ C' K        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)) V2 L* n9 n! d( ~( x$ `
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)8 [1 f4 \. `& I8 C* Z
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)0 f3 G* o# o4 U
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  z6 t/ Y9 d1 y1 e+ z$ o! V        at java.awt.Component.processMouseEvent(Unknown Source)/ Y6 j$ t: Z% H2 Z
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
& ^( j% ?7 i! ^5 L. M        at java.awt.Component.processEvent(Unknown Source)
7 V+ ~" G3 Q9 f' f( T9 @. [& E        at java.awt.Container.processEvent(Unknown Source), D" T- r9 R& J& m6 V# J/ N
        at java.awt.Component.dispatchEventImpl(Unknown Source)
) |( W3 h  A2 B) t4 y$ C* B5 M        at java.awt.Container.dispatchEventImpl(Unknown Source)* J0 p' Y" U+ _6 S
        at java.awt.Component.dispatchEvent(Unknown Source)
9 m, ^8 S, ^+ p+ C7 W: L0 q  u4 r        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
( x7 {/ \6 W* b        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)9 G& d6 j# `2 ]+ s' A2 k4 N
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)5 s& _% o- c6 o' g& w
        at java.awt.Container.dispatchEventImpl(Unknown Source). a8 f: L: G7 I1 e" h2 n4 b
        at java.awt.Window.dispatchEventImpl(Unknown Source)) t( [# g9 W" v) N7 x) _
        at java.awt.Component.dispatchEvent(Unknown Source)$ Q8 x, n% W" \1 l6 O- v
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
5 q4 K3 ]) S# c. ^8 F  F8 s1 v        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
/ U- {' h! g4 l. ~        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
% Q+ }% |7 p4 J0 H7 }        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
" w! d1 ^8 M$ q# f8 E        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
* [" a9 T/ ~* o0 n        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)/ e" x& D3 ?0 D2 @* Q0 E
        at java.awt.EventDispatchThread.run(Unknown Source)
5 e/ j) ]( o# ^6 k5 K
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-12-21 08:44 , Processed in 0.013057 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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