设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5203|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 5 p: F# m, l1 C# s. Z% b, t

" @2 b$ G) J, w# Y运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:# |2 x" V, q0 R  k7 w

1 ^* f1 P: G6 S! Y2012/06/13 09:59:23,312: Error while creating displays/ _- E4 V" T7 ?* Q# V
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.& ]- O+ [. t" U$ v0 {- |: |
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
& S; k4 K! Q) I4 \, G4 [        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
9 k- I1 y+ d& b# g5 e" B+ H- S: Y        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
2 ~- I% H0 h1 Y% T6 P        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
; J$ s+ f0 [; l* z/ `        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
7 k3 \$ l( d3 j/ w        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
9 ^4 g, {* j# u3 I. N        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)+ a& l& G( y3 {, f
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)! @4 f2 K% l. c9 p0 K' U" w, H
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)( c& c) K  r) a3 C3 [" H! T2 ^
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)/ `' a# ~: M" X3 P. A7 }
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
1 |) C3 ]. s( |  L5 l7 F        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)( f1 h& v/ r) ~; R
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)2 Q& H! I' x% s' a6 n' g" D
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)' }) Y6 T2 ~7 i/ z
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)' {9 b$ l: b" g
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)6 F! P  A9 X$ i3 x
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)& ^2 M- G7 M' A7 E
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
& ?+ Y9 V' u/ [        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
9 n0 V. Y' B7 w9 ]3 k        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
; n0 W& U! a7 H% x9 W        at java.awt.Component.processMouseEvent(Unknown Source)7 C% v# b. h' o+ i
        at javax.swing.JComponent.processMouseEvent(Unknown Source)7 e5 m8 D3 {9 t1 ]( W
        at java.awt.Component.processEvent(Unknown Source)
3 W& o/ @6 b5 W) M- d" Y        at java.awt.Container.processEvent(Unknown Source)" S; W/ L" r, r' ]" @# i& B( g
        at java.awt.Component.dispatchEventImpl(Unknown Source)
# |- w# X% C8 [8 ^( D        at java.awt.Container.dispatchEventImpl(Unknown Source)2 P9 X+ U; {+ i6 D6 H% y3 q. o9 O
        at java.awt.Component.dispatchEvent(Unknown Source)  R7 L3 D& {+ l$ u' j0 n- S8 e- R
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source), |% J6 b3 e3 p6 F0 u3 Q- u8 v
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. Y" M+ @9 {% s5 n* w        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)% g& \" ]2 k& J9 }6 v  u6 i
        at java.awt.Container.dispatchEventImpl(Unknown Source)& T- t; {& {+ U
        at java.awt.Window.dispatchEventImpl(Unknown Source)9 c1 S9 J! ~) \0 }
        at java.awt.Component.dispatchEvent(Unknown Source)' ^) a; `  G* n# Z
        at java.awt.EventQueue.dispatchEvent(Unknown Source)3 a5 r* n7 p  _
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)+ `# J8 |* Y; }8 y, y6 j. s: t
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
# }" D% u. O1 o& B        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
0 D/ n9 g/ q9 D! N. b        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 ?+ D+ l! ?1 C2 S1 z7 L
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)0 i) u9 U9 Q3 s- y& Q' t( a
        at java.awt.EventDispatchThread.run(Unknown Source)* P! V& B: v4 c0 }0 P
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-11-18 19:09 , Processed in 0.017933 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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