设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5234|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
: m, @$ ]; y% F& `% l8 l7 z
4 v. V" L: {9 [% v5 D% |" E; }运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:3 m8 V$ e1 T* T/ Y5 L0 H
' S, D3 g. k  n. |
2012/06/13 09:59:23,312: Error while creating displays. r. M. B1 ^% M6 `! t0 g2 d$ [
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.0 X, f& W1 J) w
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
1 R6 t% _, A3 E& a  @5 Z        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
5 m1 `/ u! i* _1 B3 U        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
6 X8 R: }" Y7 e        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)0 ]9 L: @  _$ L! F
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)0 [! a' S; i( }" T8 `0 t) l
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
% P7 P5 E8 B- z: S9 n        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)( A; @. z, @- [) A+ q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
$ A9 P; X$ l  u9 ^        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290), `' E7 I2 B4 e$ d' f: o% w/ [* x
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)6 U  G9 `' h, R) H
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
8 j. L2 x2 s1 {1 s5 C  A        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)! B- n0 v8 W% T6 J( |
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
5 `  H, T0 \7 d8 L* Q" O        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
" B$ E) |% [. h* O1 |! Y/ F5 I        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)+ `% v$ r  C6 E# h
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)5 ?# A* Y' }$ u0 R" }/ f
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)0 j: W( }$ b2 d/ x1 @
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)6 n9 s* J# W- s- L" H, N- e3 G, g% m
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
* ~0 M/ k( {( o' H1 i& Y  l        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
* P& C) H5 p: g5 L        at java.awt.Component.processMouseEvent(Unknown Source)) m9 g; O  y0 k
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
" ^5 E" U- U4 R) |& G8 [        at java.awt.Component.processEvent(Unknown Source)
, I' X4 i9 N5 q+ M+ V0 p0 i6 H        at java.awt.Container.processEvent(Unknown Source)
" @# ?0 l3 \  {, \% E; E  V( ~- [: F        at java.awt.Component.dispatchEventImpl(Unknown Source)+ O7 O* A" X! a: a, o
        at java.awt.Container.dispatchEventImpl(Unknown Source)) w! O; q6 A& G5 y& d$ b. L4 A
        at java.awt.Component.dispatchEvent(Unknown Source)
" Y2 I0 c! h; M4 @7 k9 f! Z        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
% p! e4 T# k* Q4 o! B        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. o6 t( T) M& x8 ?        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)8 r6 o2 n( S5 I5 Q- R, u  y: h& k
        at java.awt.Container.dispatchEventImpl(Unknown Source)$ A( z) g: ^9 u0 @8 L
        at java.awt.Window.dispatchEventImpl(Unknown Source)
+ l( v" [4 |" g        at java.awt.Component.dispatchEvent(Unknown Source)
; V. Y; d7 R: X4 J$ s6 ]        at java.awt.EventQueue.dispatchEvent(Unknown Source)
  ]% O! W1 `, t; c- x        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
# O2 T2 }# p( v        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)& V" C8 X5 x1 P1 Q/ M" Y
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)/ u+ ?5 Q. B" @& [2 _
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)7 x! H+ \7 J0 y+ q' ^3 l+ S
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
0 o, r5 t: e3 {) ]$ r6 c1 ]        at java.awt.EventDispatchThread.run(Unknown Source)* c* T$ T' Z6 ^6 y9 @7 r+ A: z
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-12-8 13:58 , Processed in 0.016196 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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