设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4446|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 # j6 h. {. M5 b: G* t( h

7 I. k4 Y3 O5 h8 ~. d运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:, V/ q+ ]  S% h9 d% u- ~, i
+ e3 R1 K" J" T2 \; S
2012/06/13 09:59:23,312: Error while creating displays
1 c+ X) [$ F: p# Njava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
' k& F/ Z, m9 V$ i. l% R% h$ z        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540), N- y+ Y) j1 f+ a8 R" D
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187). J& d2 n* V+ J' K- j( U
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
3 Q- D2 x$ r1 M        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)4 B: Z1 c4 X3 O/ m; P1 d) [6 k6 s9 w
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)) T6 B/ k7 D! `  B4 \+ z2 z
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)* X* b( \; D9 S$ R
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
5 F5 @4 K: M( X, e        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)% ]8 O. P( ~; ~; K* a$ m
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
1 {8 v8 u3 {0 Y! y) W- |9 F: u        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
# z6 m$ i1 b3 k& X4 N        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
5 w# h6 t9 ?' ]  \* i/ j9 `/ \        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)$ p) `. F( Q, J. N) ]
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
2 y, @7 O/ z- K; A; C; v        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
! w8 d9 a8 O" x/ K0 \        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
" ]. l/ B+ d. [3 V        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)4 F4 g' D( d$ T  B% {+ D
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)- f% p7 L/ Q7 a4 T( V
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)$ ?. Y$ ?) |% X- _2 n8 b
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
# i+ d5 E% t$ O1 J! ^        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
) C) V7 Z4 q; K9 B        at java.awt.Component.processMouseEvent(Unknown Source)
+ D3 G* X( L' C) Y) G        at javax.swing.JComponent.processMouseEvent(Unknown Source): V. _2 H0 B- ^* t, g
        at java.awt.Component.processEvent(Unknown Source), `. W, h  n4 N7 z$ m: d
        at java.awt.Container.processEvent(Unknown Source)
% Y! r9 \4 I+ ?7 H  D1 Q0 g) I! {        at java.awt.Component.dispatchEventImpl(Unknown Source)
& j3 r- g9 x0 h        at java.awt.Container.dispatchEventImpl(Unknown Source)) p- |9 _, u: ~" a4 V
        at java.awt.Component.dispatchEvent(Unknown Source)
0 O, h; @) Q3 L$ M8 v, S        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)) j$ f- q9 \! k
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
# Q1 A1 M  A8 }        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
% W: j" {. G# d$ T$ R- u" y        at java.awt.Container.dispatchEventImpl(Unknown Source)
" A  X9 c- S# c- f/ |        at java.awt.Window.dispatchEventImpl(Unknown Source)/ Q; g% H; ^% {! E1 y
        at java.awt.Component.dispatchEvent(Unknown Source)2 I0 \! g8 p8 t6 ~$ Y' t
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
* B" v; Q( J' z2 p) U5 [        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)% z5 p& e3 s/ _  s6 O5 y3 e
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)- r/ U7 \) ~$ o5 g+ U4 [: R
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)1 [9 @% D$ ~1 d6 t
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
0 U8 t% H- J8 y- c        at java.awt.EventDispatchThread.pumpEvents(Unknown Source). l) r1 P/ v2 w8 S, L  y
        at java.awt.EventDispatchThread.run(Unknown Source)% _2 k" x3 U! H9 j( Y, U+ N
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-17 16:14 , Processed in 0.014806 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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