设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4607|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 : }. N; v( |: X! s
+ x  k( {  L7 }6 W' s4 X% j( G
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:/ q; K0 @: t- w5 \( h+ L
$ z4 [* ~% Y* `3 `
2012/06/13 09:59:23,312: Error while creating displays1 P8 p: w+ o' S6 M! i8 u
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.4 f5 o0 f  o6 h) n% u/ h4 d5 r4 z
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
; V7 R' x: I7 Q% M        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
  u% b$ V3 ^# l' k" v# _$ O8 w        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88): {9 w/ s0 j, A6 [& b( }4 e5 P
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)! H: C! ?" S  j2 n! j. g6 M
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)1 k# f) s: r% N# q# X
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
  x6 C! f6 v9 R) K        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)2 \1 l3 m3 N. J* [4 `) @! ^! d5 q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
  M$ c: Y! D& K        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
) B( v" a, M; I) N- l        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)3 X$ H: n0 T* i: K" a
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)- u2 \; a& }8 {8 C) H: f7 K7 b
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
3 W" F5 R8 o& ?6 V6 y$ b3 z        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
4 ~1 e6 O. {+ P  |( R1 V        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)% f; y- |9 ^8 H
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)8 t2 Y% I, w- H- {  k- U
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
! o) O8 W  g) z1 E' E2 v( P) y        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
0 y- |( d% h# Y- n$ k        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
# u$ |- z) z( G: X" Q' _        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
7 |5 B: K' i- j1 r& W3 H8 g) i        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  s- q! M; w4 p% R9 W9 c( L1 f( q+ L        at java.awt.Component.processMouseEvent(Unknown Source)
- ~4 z' P/ A+ \: w- q, f- r        at javax.swing.JComponent.processMouseEvent(Unknown Source)
) ^, J' y# m5 P( n# D8 z. `% V% a        at java.awt.Component.processEvent(Unknown Source)
, K# l) h( D, Z1 w4 Y, K3 i        at java.awt.Container.processEvent(Unknown Source)8 |5 ?. ]# ~" Z% X" q' D$ G9 l6 }
        at java.awt.Component.dispatchEventImpl(Unknown Source)
$ b7 L: l! |6 s2 F4 e5 X        at java.awt.Container.dispatchEventImpl(Unknown Source)3 G% S( w$ Y/ B2 M$ r
        at java.awt.Component.dispatchEvent(Unknown Source)" D8 A; D8 r" {9 j
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  i! v0 k. t; W) F4 X        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)' }  m! L. f& K, v/ }
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)- ?. D& @3 f, o3 _9 b
        at java.awt.Container.dispatchEventImpl(Unknown Source)
5 O$ i/ G& }8 ^  y5 N  w8 D        at java.awt.Window.dispatchEventImpl(Unknown Source)
9 p1 A6 I) ?4 y, a        at java.awt.Component.dispatchEvent(Unknown Source)
3 s' f! a4 i* U# ~5 y        at java.awt.EventQueue.dispatchEvent(Unknown Source)7 m+ U: M& M# B, O9 G% K
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)4 s' p- y# X; o. O
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)9 [; U2 H9 \# x+ |' f1 d, J
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)8 T1 t) ]* _8 Y, P: Y6 m1 E* y
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)* z9 l7 J; J- \9 k* C
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
/ e) x6 o- B: R( b8 n$ S( o        at java.awt.EventDispatchThread.run(Unknown Source)7 M3 m+ a" R# o% U7 q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-17 21:39 , Processed in 0.011917 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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