设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4835|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
8 p- v  a& ^+ I$ O' _9 b1 e! j* K
  ]7 O; Y1 w8 z6 W9 \; n$ K运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
. F; |2 K6 w. r  ^
$ Q# f1 V/ B* `$ l' B5 L) f3 b2012/06/13 09:59:23,312: Error while creating displays
4 z$ O  B- i. {# ^) K& `java.lang.RuntimeException: Projection 'ContinuousSpace' not found./ M# a$ c3 Y$ G; J7 J; h
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
; j# ~4 I& D5 j3 t3 `' w        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
# Z0 ~! c( H  y2 A, c: D        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)" _) |7 ~) l  O8 m) R. y) b
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)' {- e8 ^. p* Z
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)) n- Q  q& r. ]$ o: x# M6 R
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)7 E; G5 O; {; e$ \$ I( C! j8 l
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
* d: e4 i. ^* F( I2 f        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
2 \9 T4 U  C0 e% t( y/ }        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290): c4 O1 ~# A1 M! n' H6 w
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)* n% J: y) U% D) H. G
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
4 y6 c6 c: ]- n2 X        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)/ ?* k/ m$ p. o4 W8 b7 l
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)5 p3 f- p9 D5 F+ X  d% @
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)9 Y) n  i1 u; _9 g: ?1 ^5 z! }
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
9 _- t; @/ M5 K8 n) P; n: b        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)4 L5 R$ G. \$ t1 B0 [
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)& ^/ F3 I2 l1 l- E  U1 E# X
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
& V4 E, B2 B+ J        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
. j; l$ U1 E$ o8 g- r  x0 v2 b        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
4 W7 y3 Q' w; ?/ A        at java.awt.Component.processMouseEvent(Unknown Source)" e2 N0 _5 o4 d/ X
        at javax.swing.JComponent.processMouseEvent(Unknown Source)9 a: D4 h6 w* E- c2 i
        at java.awt.Component.processEvent(Unknown Source)1 h* \& f; ~: Z9 K# @3 c7 R) q: V. Y
        at java.awt.Container.processEvent(Unknown Source)
5 @; Z* e+ ?: }" \' \0 I6 y* i        at java.awt.Component.dispatchEventImpl(Unknown Source)3 j; i5 H, _' \" U2 y
        at java.awt.Container.dispatchEventImpl(Unknown Source)  ^5 z% ?# a, W- B9 p: W
        at java.awt.Component.dispatchEvent(Unknown Source)
! F( K( I8 [4 W7 l7 y) `, v7 T( [        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
5 l' ~( U& b& `  D9 [0 y  ]2 R        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
5 z* ], H  x2 Q        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
' k* u" o9 u+ ^0 z* P# w: H$ _& |        at java.awt.Container.dispatchEventImpl(Unknown Source)4 I7 Q( A- H, I% c
        at java.awt.Window.dispatchEventImpl(Unknown Source)
% ~) d% m9 l) @' J* `! ^$ f        at java.awt.Component.dispatchEvent(Unknown Source)
$ T1 I; W$ V/ b* `1 |" ~2 X$ y8 c        at java.awt.EventQueue.dispatchEvent(Unknown Source); R. t9 u* H. i+ \$ h- R
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)) T. g6 Z1 K/ ?" w2 j3 I$ W" G
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
% f- N+ N9 |' w        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
9 \1 J4 U' s" |& t, f3 s        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)3 E& A0 ^) l  b- j' b% z, R
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
! g% u- }1 i6 ^, e- N        at java.awt.EventDispatchThread.run(Unknown Source)
  M3 z# ?/ i* M  J) X3 j/ e' i
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-9-13 22:42 , Processed in 0.014578 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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