设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5309|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 2 f+ {4 K4 W) ]* U
" W# s( w: Y  R+ ^
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:# k# w5 C) x0 u

7 A- Q2 y/ j, @+ U2012/06/13 09:59:23,312: Error while creating displays
& C, x" i1 }6 x* [( M2 |8 |java.lang.RuntimeException: Projection 'ContinuousSpace' not found.* m  }! P: |. U6 y0 A
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
6 G9 C. M) J$ c8 W7 }- m, [" N        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
8 x7 F' c. }1 q        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)( Z0 Z. n0 |5 U# r  L
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)0 N+ `6 \3 z" o/ z0 ^
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
# q% k5 R% _7 U/ b9 m        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)5 S  O( j' ]: b7 X7 f( r2 w* _
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
8 ?( M" W" v4 `; a$ @- S2 L5 {        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
# o9 g2 [, l2 I2 \        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 `) v- ^# g2 n6 |' f+ I" h        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
! |' j) r7 K4 B9 S( X        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
7 _* {. r7 Y2 v7 k" S        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
* i- ^' M: ^& F, ?+ E        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)3 r& G2 M3 X* I5 a& g
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)5 x3 `. Z8 l4 r/ {* P
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
8 \& B$ k& b+ v& [        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
$ u7 T8 |5 N( w: z' Q- A8 g        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
, h% D' ~2 k/ W3 c7 v        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
2 ~0 m- N: u' |0 X/ l        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
& l: Y7 ~" J1 U/ d        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)( n. _, K* O3 j% H. d  v+ D
        at java.awt.Component.processMouseEvent(Unknown Source)
, M' h& h' A2 a" W. K        at javax.swing.JComponent.processMouseEvent(Unknown Source)' I6 e  f, d/ B  b
        at java.awt.Component.processEvent(Unknown Source)
  u% U) r$ I( _) j$ s- n        at java.awt.Container.processEvent(Unknown Source)
# @, p- ^, e/ @% s- f        at java.awt.Component.dispatchEventImpl(Unknown Source)
$ o6 Y( Z+ o. M' R! h* E" l        at java.awt.Container.dispatchEventImpl(Unknown Source)/ D% V" N  Z( m& ], `/ _
        at java.awt.Component.dispatchEvent(Unknown Source)* ?+ N' ~$ e8 i6 m  ^4 `, b
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)& [' x' g5 O) d9 N* Y$ c4 f" x) `
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source): T+ @: \3 P0 N4 x4 F5 y% b3 g
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)5 G0 n  n+ t8 C- d- y* `3 O
        at java.awt.Container.dispatchEventImpl(Unknown Source)' f- E0 ]. b0 T( [5 `" W9 |0 g
        at java.awt.Window.dispatchEventImpl(Unknown Source)
9 E2 y4 ~+ I7 F& m        at java.awt.Component.dispatchEvent(Unknown Source)5 W8 P0 d; b1 E' M
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
& i6 Y5 ]' E8 N+ M5 k        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
4 s# {2 q4 R- o5 Z        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
6 ^. H! M5 Y% N+ b        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)7 _) e4 X: Q7 y; ~6 V
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 G4 K! L7 i8 I9 p0 W' |
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
# s0 G5 r- R8 N" E) c        at java.awt.EventDispatchThread.run(Unknown Source)
$ _0 n: j& x6 L. ]- v% \' r
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-12-20 21:11 , Processed in 0.015423 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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