设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5554|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ) @; X( X0 i9 }! B9 Y( w
' E; H0 K. U0 b/ w2 A
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:$ q. V& [! r" t# \: J$ ^9 ^/ _/ v
! R8 [" w; J8 D6 R! M. P
2012/06/13 09:59:23,312: Error while creating displays
; g1 _. S$ P; z, I5 A( _java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
# q) ~2 T0 U- ~* W, f7 U        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)4 w1 @& m, ^) U; q# b+ ~5 I. B- v7 }" }
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187): n3 p% g- ?2 t
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
4 \9 S5 s9 s) O9 q, g7 [        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
& [# a3 X& O& U+ r8 K        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)& ]% z- i2 G# M% _* j
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
0 K5 f8 v% {1 F# M* n* A        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
8 \6 f1 C& P# k+ Z; L- U        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) C4 O; I, A/ ^
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)2 @1 B7 D( N6 e; c
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
) \) a/ a& \% O        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
, Y3 [) A/ a1 A  O  x4 d6 t        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)  L1 w, V! s3 W) u) C. [( k8 Y' p
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)" t2 s$ I- s7 ^1 d* X: x
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
( j7 ^. F  p. S' a        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)! T- R* |+ `- v' ^+ f" L& l
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)7 p( z, \) N7 H( Z1 q+ f' N: o
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source); @$ X! R+ P& ~' D- k7 r7 S
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)7 k( s2 U( ~1 z- g
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
$ s8 _6 z8 u& \        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
3 c- ^: V0 O, W9 v; v" d- Y        at java.awt.Component.processMouseEvent(Unknown Source): j* D( ~- q$ n2 X4 b
        at javax.swing.JComponent.processMouseEvent(Unknown Source)1 i/ Q- s( P$ y  Y& d& o" S9 k5 m
        at java.awt.Component.processEvent(Unknown Source)8 Y! ?! o; D. R; @. Y
        at java.awt.Container.processEvent(Unknown Source)
- P" c5 x' R! e3 J        at java.awt.Component.dispatchEventImpl(Unknown Source)
. c1 B' S0 S, d( O" K/ a  g        at java.awt.Container.dispatchEventImpl(Unknown Source)
4 W$ n6 x  a$ f5 d. P        at java.awt.Component.dispatchEvent(Unknown Source)
+ {" z; [, ]& |: u- M% w# y9 [        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)+ L0 k( K. J6 j# I7 o- z; v# O6 a
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)7 S/ s: k1 W* K6 a. ~
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)" i; Y4 B. g$ W+ L5 `
        at java.awt.Container.dispatchEventImpl(Unknown Source)
; X% o9 {* B, V- n: u- w        at java.awt.Window.dispatchEventImpl(Unknown Source)
: r4 v: C- \' `1 m2 w+ A# E        at java.awt.Component.dispatchEvent(Unknown Source)
& l, ~6 H, W0 f        at java.awt.EventQueue.dispatchEvent(Unknown Source)! `% n1 W2 k* N. W  E' w5 D
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)7 k1 N3 {$ P8 w/ y8 O
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
0 n, |8 V  L6 _        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)9 B3 U5 S, H/ a$ r3 D8 V# w, t
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2 o8 l1 T! g$ m* E* X        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
1 |0 R5 _) s# ]7 c3 @1 w        at java.awt.EventDispatchThread.run(Unknown Source): S: q: u6 K0 d/ \  ?8 o
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-22 12:11 , Processed in 0.014062 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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