设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5517|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
/ c; N4 C1 k) w, D
6 x" K% ]( B: i" f! \0 o- p7 v运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
! N6 g+ M4 k2 h* C3 u4 U1 u! ~0 ?7 @9 C5 d5 f6 ^6 d- s% Y1 i
2012/06/13 09:59:23,312: Error while creating displays% Q+ A) p& v" X! v6 g
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
9 _7 Y' ^9 }/ Z        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)2 e8 D# M# R& s0 l- g/ P# ~# s& F) E
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)9 A- }& D1 H3 I  l6 L! @
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
7 e8 J  S% p. I" h* i        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)0 M- b# K* m0 e7 H7 r
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171): O5 ^# H7 C" S
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
7 {* p% j& N6 E+ C* f        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)+ D4 c; `5 o+ p( r8 B
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
* g. n# P% j; i        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
7 C) q2 Q# _4 o5 F. B" m9 W        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
$ i7 V6 W! h/ }6 \! p4 E  h        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)# i6 S. }' T! H2 h
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
  q% i' q8 D7 b/ s, q        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
  \4 x* ]8 X) r+ m! b% U  L        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
$ u6 ^, n$ x7 N        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)2 p& s5 C: G' f) k/ y
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)3 n0 }9 Q1 Z/ D1 Y; C
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
* p, s2 q* T# {1 k        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)2 Q3 N* i! |1 A4 b! j+ S
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
0 d- ~5 n, d/ j3 K1 F        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)* C$ N  L. |! q- Q
        at java.awt.Component.processMouseEvent(Unknown Source)
( s% l) [2 ~6 B, A        at javax.swing.JComponent.processMouseEvent(Unknown Source)
& K' S+ Q% I" K% H& O* \        at java.awt.Component.processEvent(Unknown Source)3 a4 e1 Z* O" F1 H. A$ ]% y: R
        at java.awt.Container.processEvent(Unknown Source)
( x; N) i1 N2 n- {/ q1 G1 \8 B1 b        at java.awt.Component.dispatchEventImpl(Unknown Source)
8 ~$ G1 r8 d2 U4 K% h) H/ J        at java.awt.Container.dispatchEventImpl(Unknown Source)
1 }6 q6 ]* P& [- M' ]5 M4 M        at java.awt.Component.dispatchEvent(Unknown Source)
) u- N0 Q6 _5 S8 `        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source), A$ p! m' s' S! u7 v
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
1 I' Y" J" I* l- h2 o5 U/ @3 u        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
* }' I5 Q. z9 p. B1 Z0 d- J7 P        at java.awt.Container.dispatchEventImpl(Unknown Source)4 r1 @8 |. r& \; i, G& V
        at java.awt.Window.dispatchEventImpl(Unknown Source)
, m+ I' Y+ X5 w) v9 e/ L        at java.awt.Component.dispatchEvent(Unknown Source)
) L- o- [6 B( u! |/ J        at java.awt.EventQueue.dispatchEvent(Unknown Source)' K0 {, h- G5 o0 P
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
1 x0 \! n8 {8 c5 \% i$ J, u/ `' R; |        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
# a9 }; z/ G1 v% \  ?        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)1 D: f2 C4 r! P( O4 {+ y- D# ]
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)4 K& v$ c  j: g% H; v
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)# t- t0 ?1 {+ o
        at java.awt.EventDispatchThread.run(Unknown Source)( U" J& |+ {- ?2 u( U$ |5 h0 @4 N" `
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-14 06:27 , Processed in 0.016302 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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