设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5603|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
; J: o$ }/ I7 t8 h+ d' U! a( ^! \6 |9 x* w* i3 F0 v3 y
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
9 C# f+ G, s" Y; ]2 v8 _- Z! B/ |+ `' R) y# H. [
2012/06/13 09:59:23,312: Error while creating displays
: P" Y3 A" L& ~  l) V) Tjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
( Z& k' _9 E# \9 S" k+ {3 ^$ [        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
6 {4 U# Q  e' k8 X: o: U7 j        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)6 l; X- h8 g. f; @( i: Z0 R
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
- i6 I7 E) C+ _0 Y        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
. @2 U) ^% r' E1 Z" I8 C( m        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171), O. j2 d9 q3 I2 e* `6 a
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
- @! s" q# j7 Z& n' M7 a2 F        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
/ w1 o* V- y% \" f" ?6 e        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)6 H- X% w6 @0 R( V5 g
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)( ~9 l( |- j6 ~4 U4 b: f
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
0 s* a5 N8 T: H        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)' Q. o! a0 }; i% |) f
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)8 q- L; C3 g6 B$ d& {* y/ V
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)7 I, p9 B, C* C2 Z
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)( ?$ @7 n' {; [6 e) G- H$ Q4 o
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
/ d1 V+ t& P1 n. S5 F) [        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)( ^* m2 r& A& @: O7 o$ s2 f, w
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
* \8 y: {* D) C, L) L/ U        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
. u" F1 u& {) L  S        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
- O8 M4 Q0 W& J' X9 s6 h* u        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
! w" u9 l( ?4 G) s* ^        at java.awt.Component.processMouseEvent(Unknown Source)8 @! d. E5 \# N/ S
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
$ A! a! |$ O: L0 r2 Y        at java.awt.Component.processEvent(Unknown Source)) \* F' p+ v4 k; [
        at java.awt.Container.processEvent(Unknown Source)
/ S8 M7 A! p( d1 _9 u  z        at java.awt.Component.dispatchEventImpl(Unknown Source)
( Q( P  ^3 I  F        at java.awt.Container.dispatchEventImpl(Unknown Source)
  ~4 R6 o$ n  i1 |3 _& C# U        at java.awt.Component.dispatchEvent(Unknown Source)
7 Z7 S5 y! W% P3 P7 c! S        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source). x! p- W5 S' s9 k& v# E( g( a
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)$ c' `# y2 i, R# x; v% A
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 X- P' g8 v7 P: |3 O- o
        at java.awt.Container.dispatchEventImpl(Unknown Source)
% _, {% i# z& h' Q' m        at java.awt.Window.dispatchEventImpl(Unknown Source)
) m! k2 j+ p" S) e5 _! k1 j        at java.awt.Component.dispatchEvent(Unknown Source)
( R6 z. e0 T; Q' C* H+ i, |, }% e        at java.awt.EventQueue.dispatchEvent(Unknown Source)! j" ^! X1 [/ M8 i% t5 Y- l
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
7 e  X1 f; ]- o        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
! y! R2 H' L3 N5 o5 n        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)9 V/ B* k0 D  ~9 Z
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)( r% B! W2 ?1 R* t) h  E- ^7 T
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)* m8 L$ O! e! i6 ~% y: b# j
        at java.awt.EventDispatchThread.run(Unknown Source)
8 }( \" i' C. y/ l
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-4-3 04:10 , Processed in 0.014461 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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