设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3927|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
0 K& o& M% H" `" u; i' a6 B% R" {2 o4 z1 M1 G) i
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:; k( c* F6 i& A( f$ G3 [
9 b( n  q' e* B% y
2012/06/13 09:59:23,312: Error while creating displays9 _# t- B* m0 U% a) f5 i4 N6 W* j
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
6 m/ ~! Y8 d1 V" X        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
: h6 g0 x) M5 x7 O& x. v1 c' g) I, i        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)" Z: n6 @) P) O; z# I; \
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
2 W" q) ?8 m. `* [1 j# W! V9 j        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)  S( F$ Y5 z" f0 _2 V* G7 o
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
6 o0 _$ D4 p4 J* x; _7 c; ?        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
: R, Q, }3 }( X' L2 w        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
" I# I5 \' v5 o. Z! \2 ?        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
, t3 b8 l+ P1 J5 p        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)- t0 [! L) F  x0 K
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
6 A8 _% ]  ^# ]& t9 {+ S        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
! {0 k! e9 U. P- \; ?        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
3 q; I" @0 b0 ^, V& ]        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)5 {, n1 O! T! k3 W2 s( K5 k- J
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)- |1 w. m+ z& `/ ~
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
* Y# ^1 |- I. d' g# f        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)1 I7 L8 N: o) `  w- g
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
! ]. {! {* B0 H$ @6 V+ s% D/ y        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
: Y2 `- t) e$ T# ~* L+ @        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
3 N; `) p$ D1 _2 T6 T        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)8 o6 O+ p( R" ?8 q& E) a+ y
        at java.awt.Component.processMouseEvent(Unknown Source)
3 e: u8 V7 U' i# W5 e8 x" X        at javax.swing.JComponent.processMouseEvent(Unknown Source)
. ~5 F. D  F3 r1 {5 `        at java.awt.Component.processEvent(Unknown Source)3 E& C5 M) Y6 ?: ?+ b- K  |
        at java.awt.Container.processEvent(Unknown Source)
+ M  e& B3 e- g        at java.awt.Component.dispatchEventImpl(Unknown Source), f. v8 E( h% I$ L3 L6 K0 v
        at java.awt.Container.dispatchEventImpl(Unknown Source). W! r7 K/ Z/ L& q
        at java.awt.Component.dispatchEvent(Unknown Source)
2 H* G. L8 R& T2 ^, T        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)$ e& _) }9 h9 q: ]* n* j
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
' `, Q5 N4 A0 b! o- z        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
& t8 g7 S# _" o6 C        at java.awt.Container.dispatchEventImpl(Unknown Source)" d/ D& d- W! y/ o
        at java.awt.Window.dispatchEventImpl(Unknown Source)
. @, C4 n6 f+ g. c. N" s& p        at java.awt.Component.dispatchEvent(Unknown Source)
8 }0 B& s7 S/ h$ F6 r) a% P, u7 v        at java.awt.EventQueue.dispatchEvent(Unknown Source)( s8 ~. l5 ]+ R# v* p
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)! \* }$ }6 w: I& C
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
, r& q7 H6 C% _2 h/ e" e        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- F# }) m4 w  U7 H. y8 J        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)- ]- y5 x6 r7 P5 C4 V- W
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" ]  z: N1 p; `0 n1 Z6 |: a        at java.awt.EventDispatchThread.run(Unknown Source)7 _# h" F8 V  p+ E% \% T: }
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-2-2 02:56 , Processed in 0.015266 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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