设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4254|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
+ Q  U8 o5 f8 X. M! c. K9 n- W9 w
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:: y" `1 E, C7 I0 F/ L; z

9 K( }3 f+ c( h4 Y3 V2012/06/13 09:59:23,312: Error while creating displays. @2 E6 q. t5 p! P8 b+ C# J
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
& g+ y, Z9 M& F7 X: F        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)+ P' W( T# ?, a7 n7 f
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)1 a' f' E3 I. |5 l/ g% X. K
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)# s4 L' W0 _9 H! A5 r6 f
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
. ]* P; Y6 j# l" }7 }" k        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
4 [( E2 @9 h& \4 V2 u! W# N        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)0 X6 V1 g9 z7 E0 g1 a' O
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
: V) ~$ p* X% G, I9 ?        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)9 E7 ~6 }7 Y$ O8 u2 y! t5 t3 Q/ q0 G% g# N
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
* Z/ D4 L" N8 H  [        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
% _. C; C3 c! N; M. n" a        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)4 L! A1 c0 B& n1 J6 i! }) U) {
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
( ]6 H+ E! B6 @: F, p  n: o        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
; R4 J! v) b! f# N' s        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)3 A8 j9 }. W" _8 N. i4 R
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
" S$ g0 h( F- h' [( T        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
* C" Q; V( O! o* U$ @        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)9 c) A; u5 R0 m$ g% Q- }
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)+ h2 H& N' R! y# e' }
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)+ z; S- i4 |: _
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
! W# u" |: @- G4 |* J' q        at java.awt.Component.processMouseEvent(Unknown Source)0 }" W6 ]/ I/ k3 D" T# v
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
) t" b3 n; }' S4 k        at java.awt.Component.processEvent(Unknown Source)
$ E, D* e- V1 r% a# t        at java.awt.Container.processEvent(Unknown Source)
9 u  q  K; s" v0 u' t        at java.awt.Component.dispatchEventImpl(Unknown Source)/ @+ V3 g; j! i" x, t
        at java.awt.Container.dispatchEventImpl(Unknown Source)
/ Q" C" \# f9 i4 \        at java.awt.Component.dispatchEvent(Unknown Source)" X8 e! l1 j7 M4 s1 x$ M9 b" ^
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)1 H# ~: P  A1 j4 g
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
! X# w2 E: j' a% Z" Q! N' H( _! W        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
( f' X4 S0 k. l4 |        at java.awt.Container.dispatchEventImpl(Unknown Source)
  d) f# c% a0 l7 T        at java.awt.Window.dispatchEventImpl(Unknown Source)
: p6 X; ]7 f& Y9 U% Z9 ?        at java.awt.Component.dispatchEvent(Unknown Source)' H4 N* m0 _8 }" Y8 [* b  ^! ]+ J
        at java.awt.EventQueue.dispatchEvent(Unknown Source)5 j% Q9 {; o9 ^! O* {4 p% ^# i
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
2 f; s; l$ W/ X- Q/ I2 W  U8 ^        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)- Q; t1 K) p  j) P# j
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
6 X9 t' n8 j0 p        at java.awt.EventDispatchThread.pumpEvents(Unknown Source): }2 t9 C8 T5 }8 E
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 n! }* V% s: u+ e' X- I1 T# E' T
        at java.awt.EventDispatchThread.run(Unknown Source)1 i8 V0 t; y+ w( x! A: J; S$ Z2 B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-4-4 07:23 , Processed in 0.019039 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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