设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5034|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑   G, L* m" D+ _
) k  r! l, ]1 L8 Z; A5 D% H
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
$ x. w( Y0 p3 d& `9 V6 @
+ ?9 }+ o: J! f2 J2012/06/13 09:59:23,312: Error while creating displays
5 u7 Y2 O  @  D) D, Fjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
7 R. b+ Y5 ~7 X( U        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
9 H0 A5 L: F, L9 w, F        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
) P3 l' z& s, t  p3 f& t        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)3 e# V2 y9 J* \" d( b6 E
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
* Z( k) y' i; c& f( w        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)3 ~: e6 c7 S& U0 M
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1); ?. N: s3 j& {  }. b& ^
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)  c0 Z1 r; c! ?3 n; x' J; x
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
" ~6 P, p; o- P- |* s        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)! \/ [' N- s/ w7 u
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
% x, D& D9 K' ^, p2 }2 ?2 u        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)9 e- w4 |9 P; H
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)% u7 T1 l  e* o0 I' {2 m! p" |7 U6 n
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
2 d2 P7 E* k% T5 ]/ ~! A! Y9 @        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)* l+ k& [5 N2 p' V1 t; m
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)/ O/ s4 |* G4 t* ]5 H4 Y6 {$ T
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  R4 |2 `* O; d3 W% [. M- k) E
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source); a' c# Q7 b8 ^1 |: K' o. D
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)8 I; a- n4 o* h) ~6 B1 `* {
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)2 T: h8 r0 r  r) u* n4 F8 I* v3 [
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
; ?6 N' t0 C8 s1 r        at java.awt.Component.processMouseEvent(Unknown Source)
$ G; o: _  I0 y7 V        at javax.swing.JComponent.processMouseEvent(Unknown Source)% ^7 S2 @( B0 L' e; C1 H
        at java.awt.Component.processEvent(Unknown Source)3 B- N/ T, ]8 @3 k  t
        at java.awt.Container.processEvent(Unknown Source)8 O+ M/ m4 y7 j+ o( S, X
        at java.awt.Component.dispatchEventImpl(Unknown Source)
4 D' o4 B$ T) `+ t' {        at java.awt.Container.dispatchEventImpl(Unknown Source)
0 I( Q. }2 `) Z        at java.awt.Component.dispatchEvent(Unknown Source)
0 J2 ?. X4 |: Y. K        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
! f6 \' Q8 ^8 C& I9 n3 K4 h0 ]# ]        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
: H' w2 U0 a$ d% Y4 I4 Z$ |        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)7 N( I5 @% a0 m! {( [" b
        at java.awt.Container.dispatchEventImpl(Unknown Source)$ M; y7 \/ I& y  {, W
        at java.awt.Window.dispatchEventImpl(Unknown Source)5 H3 A. R$ l3 V  D
        at java.awt.Component.dispatchEvent(Unknown Source)! l5 J5 V1 V7 j' a4 b* ^. E' A% l
        at java.awt.EventQueue.dispatchEvent(Unknown Source)7 {8 g* T+ M. g
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)3 C, W1 _& S( {6 ?# \
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
4 I1 h% Q7 C7 T4 ~5 L6 }9 n; H        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
3 d- L2 K$ t8 j        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& Q/ c' d9 I: W$ S  ~        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)8 |. j& W( k6 u& |7 H, y
        at java.awt.EventDispatchThread.run(Unknown Source)1 O( @! k$ K' r, J
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-23 02:40 , Processed in 0.013121 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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