设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3795|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
: F; Y$ Z+ J% d% F
9 F( x2 n! i: O) z9 n+ R运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:! v# p  `- K4 \8 l% A
7 J" L9 s3 e% M* v
2012/06/13 09:59:23,312: Error while creating displays
$ M$ X3 P  K$ T! Pjava.lang.RuntimeException: Projection 'ContinuousSpace' not found." N4 e6 z7 p, E
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)9 f& c5 `8 a" V" n/ Y( O
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)4 O# g( o# d& M* i
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)& ]3 T" P! F8 N0 h0 R8 ?5 n5 o
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
) }: B0 V* G  }# J1 n1 C5 P        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
; }  k2 A) E9 K  m; s4 c, ^4 o' \4 R        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
) r# i6 ?& n+ n4 _        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
* |- e5 d3 g: |) X        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
- j- B! k( g) N" F& W+ K        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)$ C# l) {1 x7 E8 U, M
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& d. b, q. M" }$ ]" c9 ^/ Z8 \
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
$ X9 }8 ^' m/ P) {/ @% H( q7 Y3 _        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
. o& M8 A: {+ X1 A" g3 w        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
4 @- \# I. w: k! Z        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)& |6 I1 R/ U* f, m4 S) c" V
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)0 B- K) j  }) H( [" i
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)8 Z' u1 @8 A$ [' C: X& }  H& _
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
( L0 {1 I  W7 l* o( k        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)0 ?  P* B% Y3 g  W- E1 G
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)$ U" f  m) ~9 f
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
; V" }/ M1 X$ w- [8 V( C        at java.awt.Component.processMouseEvent(Unknown Source)% i, |; E; C6 C4 |! U
        at javax.swing.JComponent.processMouseEvent(Unknown Source)6 W9 x7 Y" i% ~* N
        at java.awt.Component.processEvent(Unknown Source)
6 B, J" {( {! V6 y        at java.awt.Container.processEvent(Unknown Source)2 l) f+ V* k( h% N- Q2 X- C7 ]
        at java.awt.Component.dispatchEventImpl(Unknown Source)
. C. q$ s. }! L( R9 E        at java.awt.Container.dispatchEventImpl(Unknown Source)" _# k' c/ V3 n+ l
        at java.awt.Component.dispatchEvent(Unknown Source)
1 e+ |& D1 u" c8 K, L( y        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)5 s  K: f1 @5 `7 w: `& {- p) T" Q
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)( p$ |8 _8 v- B, }% q% A
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
* B, z6 }# \2 v7 z: m! X0 e        at java.awt.Container.dispatchEventImpl(Unknown Source)
1 l( s9 o& J; V        at java.awt.Window.dispatchEventImpl(Unknown Source)
# N% ]$ L* ]( e" c" Z. ^8 p! I        at java.awt.Component.dispatchEvent(Unknown Source)7 M; [' f) }% O5 s; \3 G9 m
        at java.awt.EventQueue.dispatchEvent(Unknown Source)$ V$ [8 ]* x: q3 z3 J: d: q
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)/ }3 F( j( d, M! b, a
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  w0 r$ u/ ]( q. f1 j1 C7 u        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
% J7 c: J/ g/ b" t: m        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
1 ^* c) K6 u! y  R        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)1 f9 ~0 w+ e" @$ Y
        at java.awt.EventDispatchThread.run(Unknown Source)
8 O3 v, F1 p$ b' v8 g% n/ m
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-21 22:16 , Processed in 0.016612 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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