设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5562|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 : [5 s4 U5 @2 b7 E
, |$ x" V2 W& L8 l
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:1 B1 Y# q, [# X+ j7 B8 y' r# j& N5 K

  m7 k7 }& _0 e, G2012/06/13 09:59:23,312: Error while creating displays
  z) M6 c! R5 D0 B- N6 \java.lang.RuntimeException: Projection 'ContinuousSpace' not found.' ^# B$ V; o2 R$ z7 z: O
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)- p! M- i  x2 B% g: x% _& R
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)- L1 P1 n* n0 E2 q, J! T
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88). \# `* b4 \% |6 z, }" @/ H  s8 u
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
( R7 g+ h/ Y+ Z/ ?+ F- b        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
6 [2 f, e5 c9 `2 x) n+ f6 {        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)3 d2 f' Q& @: [7 i: {: G
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
' D" c& Y9 r9 m1 r  U) W1 ~7 }* d7 P        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)* O  T- ~: X: ~; ?
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)0 E7 T6 F; E$ K( d
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
% ]# P* e8 [. T. ]+ h, Z9 ^        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)! U# f$ v6 U7 h+ j& m
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
* _+ _  y8 @) h' ~        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
7 W5 d6 y& E7 |& i0 w5 \        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
- U5 y; a$ [6 m4 C2 ?9 P7 x: M        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)5 Q! ~+ s- `% y  r
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)7 k1 `$ @4 [! x% m
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
7 y, c+ H2 ~( G4 `3 t3 T" \        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)8 o5 l+ C, g. }$ v9 L. N
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
5 P+ w# W- K$ j) [8 K5 g4 E3 Y        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)$ y) g3 n/ K" `. G- L  l6 \1 _/ J
        at java.awt.Component.processMouseEvent(Unknown Source)
3 T: {* s  b- M+ a2 p        at javax.swing.JComponent.processMouseEvent(Unknown Source)$ L3 g* p* n2 _5 A4 g7 P
        at java.awt.Component.processEvent(Unknown Source)
+ |) y. F9 ^. \! B0 Y- p% i+ u* X        at java.awt.Container.processEvent(Unknown Source)5 d9 |; u* R6 C- v7 i
        at java.awt.Component.dispatchEventImpl(Unknown Source)
( r. t& V" H; Z( U3 B        at java.awt.Container.dispatchEventImpl(Unknown Source); v5 g! R/ g. z: \9 H8 [/ y
        at java.awt.Component.dispatchEvent(Unknown Source)7 K5 {5 C/ B3 u6 e1 i/ U
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
7 o9 w. X9 P. X* o7 C        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)! d6 Q1 M. r4 X( o1 U
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source), U5 \8 t5 c; S% S8 _3 A8 H
        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 q( Q- k8 q( b0 w        at java.awt.Window.dispatchEventImpl(Unknown Source)! B9 H, n# e( |1 F# U
        at java.awt.Component.dispatchEvent(Unknown Source)- L2 v  _9 Q) J) g6 y
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
( L5 I7 X( g- f8 c2 a% s        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
7 B4 G0 c4 b6 V        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
$ g% s% j" i% N. B        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  d" e. m5 V. C% l: L        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)' ^2 P1 E0 W1 B9 E4 Y
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)- y5 n# z- [0 U/ i. J3 f) y) `3 H
        at java.awt.EventDispatchThread.run(Unknown Source)
- C8 m" k5 _4 F9 `2 n
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-23 17:48 , Processed in 0.014510 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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