设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5728|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 " n' j1 N( y# p0 y4 T+ p8 v- I

/ i; g5 n3 `0 |  z) O$ w运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
- R* y1 R6 F* O: m  X( u8 D% Z9 R# K+ _' s; r) a% f% @) M
2012/06/13 09:59:23,312: Error while creating displays4 z/ p, {2 [+ Y& u" f  j# X
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
8 ^" V; L( F* D+ Z1 u        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
6 S( w2 ]+ F* B5 Z3 \! y) g+ n        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187). S: j' }9 c0 \1 G5 {
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
+ B: H- m% k, b9 [        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)4 [+ G# j8 Z* Q2 I
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
; t1 S2 b7 k- e. Q8 a. c7 Z+ W1 \        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)  R& s. Z9 j7 S- I: O
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)4 w7 w( G& `4 d  _" [
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)0 r. l- P, ]% |9 G
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)0 S2 k* ~/ O& }: {0 j0 E
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
4 l, X- V  e- Q& N8 |        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
  {4 o% _; `5 Q  u' M# g        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
2 w& D! j9 n1 N" @6 S        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
: f' a3 @- `/ s7 [3 e        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17); \( q5 [% t* k9 b2 `+ _
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
1 R; C. N- \" F. B$ p8 F        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)4 R1 }5 Z$ w" E  B# G
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
6 N! s3 h. U/ m; D* n        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
! x- q( g2 |& e. g, `8 D        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
# O( C$ |1 K1 j$ ?) z6 m0 N        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
6 @' o/ X: Q# r8 `" X2 b$ q$ w        at java.awt.Component.processMouseEvent(Unknown Source)9 Q0 J+ V$ l) [7 q0 l; X8 P
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
4 F2 l: t2 F+ H% P, r        at java.awt.Component.processEvent(Unknown Source)
- n9 e2 f1 g- P8 L* C4 t        at java.awt.Container.processEvent(Unknown Source): D7 U0 ?$ J6 D7 o
        at java.awt.Component.dispatchEventImpl(Unknown Source)4 h- I0 D* Z2 b/ [/ V1 z- d9 |
        at java.awt.Container.dispatchEventImpl(Unknown Source)1 e' c7 S. c4 v+ w" Y- D" p
        at java.awt.Component.dispatchEvent(Unknown Source)
; I3 o9 T7 x3 \        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
8 W. ~* [8 z% ^+ p        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
3 u4 w5 @$ l: T! s* A        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
6 {) ~1 \" w  ^, T        at java.awt.Container.dispatchEventImpl(Unknown Source)
/ Q/ C- I4 i, n& O+ t        at java.awt.Window.dispatchEventImpl(Unknown Source)) q6 w. W# E( i, f5 X
        at java.awt.Component.dispatchEvent(Unknown Source)
2 u6 Y$ N; {( s8 e* Z) K        at java.awt.EventQueue.dispatchEvent(Unknown Source)
- t3 y) j6 }1 F% T6 p0 T' j        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
( t) }4 a) O5 g% h4 z  [4 D7 [        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)( {$ Z! z  [/ G. y3 Z; S9 u
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)$ F: x$ i( t# x7 \4 j* K+ L
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)4 m7 G0 ^' {( l. P1 {
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)8 l& \, d7 j: x! d
        at java.awt.EventDispatchThread.run(Unknown Source)
; C" r/ d4 o2 M
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-5-6 16:02 , Processed in 0.013850 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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