设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4448|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
# O7 j# R. |2 K8 d- R- R8 c: S, m$ i" I
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:# p4 \7 v/ I* m, T# u& w) X( D

; @$ `/ }* A! \& Y/ E2012/06/13 09:59:23,312: Error while creating displays3 V3 @% ]) Q/ U! g0 Z# {9 T
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
0 D# s" N* }8 c& c3 G* m% Y        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)3 U5 h/ f8 q. V3 ~" G
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
: S5 Q, n6 b4 c( L' ]8 Z# ?  H2 ^        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
6 D) H! H0 o/ b' |$ j        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)+ e5 U5 [- Q6 g# u% T- }* L9 s) F
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
  |  G8 V$ v" p0 E% s9 w- T        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
' ]* l' ?/ L% ~) ?- n- F  Z# K        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
6 U7 d/ E' e; |' _. Z: X$ X        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
/ u# ]* C3 r& L, ?% G" R4 @$ y2 |        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
% k: {' A" _& q1 M- w2 X: Z        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)7 h. S5 {4 K) t5 F) ~( f) V
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
4 M4 ^4 v% |* S) G        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)# Q0 W6 y7 w& z  L+ b
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)# v7 k% s  u' N& h! y3 h: @2 ]# ]
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
2 Q9 h/ P# E1 Q6 u        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
6 @0 N1 i' x( m/ _9 b7 M! R        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)3 m/ g+ U2 _% l- Q( @# l
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)1 W9 t5 w7 f+ x) ~4 {4 [$ \2 r
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
5 A; W% i" U: |! i8 s+ _( N        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)8 G7 W: ?4 l- a( {: a4 u8 j" V4 s( V
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
+ @3 }# Z( H' X6 T# @        at java.awt.Component.processMouseEvent(Unknown Source)
) l4 i5 Q' M  x. f: x& \6 Z6 }        at javax.swing.JComponent.processMouseEvent(Unknown Source); F4 D  M( g4 M4 Y& [: S6 D
        at java.awt.Component.processEvent(Unknown Source)2 a. @9 a; J3 ?( f7 i& [
        at java.awt.Container.processEvent(Unknown Source)
$ U9 X& d( g5 p        at java.awt.Component.dispatchEventImpl(Unknown Source)0 J8 i+ j) t0 i7 @, S& V, w
        at java.awt.Container.dispatchEventImpl(Unknown Source)/ v) A3 I% Y# k0 W* k& C3 p
        at java.awt.Component.dispatchEvent(Unknown Source)
% S; I* M0 \- T6 {        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)! ~9 L3 L) }6 z  c- e0 P& v
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
+ K3 d5 K- R: T- n/ ^6 N+ r+ c# Q        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)/ z' H* I8 g& |7 X. J5 f
        at java.awt.Container.dispatchEventImpl(Unknown Source)
: Q8 o( H" W4 N7 ~: o        at java.awt.Window.dispatchEventImpl(Unknown Source), v' s) N0 p1 u* ?8 A, Q8 R
        at java.awt.Component.dispatchEvent(Unknown Source)
: E5 s/ a. I! ]4 c, }& e$ w        at java.awt.EventQueue.dispatchEvent(Unknown Source)! S: o/ S- K* F6 K4 u' c
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)0 U* g# p' b7 N& {2 A: j# w
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  `: x$ V! p+ P" V/ }+ [        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
% E% T+ L. O; W5 n# [$ |6 q7 g2 ~) @        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)% f8 o2 _! l6 X1 t" W) J
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
/ }6 S: q5 b, g) W        at java.awt.EventDispatchThread.run(Unknown Source)5 R# }1 A6 `) C; {- [2 Z
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-18 02:46 , Processed in 0.019089 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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