设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4754|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
+ y, S9 f( H# v6 Y! Z/ w, ?
3 g- X/ ]9 ^: f: }& r, a1 n运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:1 v- Z, ]' x6 \# @

1 m; ]0 c. b* g5 p* Y4 H2012/06/13 09:59:23,312: Error while creating displays  C! S1 B+ ?* |; n( _- O
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.2 E' {$ u% z$ e3 D5 H
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
3 s8 A1 p4 [6 M" q! ?        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)& `6 Y  r- \* v. d
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
6 G' A9 E* k% n, m0 O/ {) S        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90), i6 M# @, I, \. j
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
* r& U, h5 m, ]# u0 T4 ]9 {8 q        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)  E: q( H; M8 ?
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)* r, w  Y/ O1 ~' n/ F4 z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)! E8 c. t. d: {( g- p+ I, I8 J4 C) B
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ k0 V- Z; v4 L        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)' Q; L" G! ?- a* J! G# Y- w
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
+ A$ `% x8 n9 ~8 l( z  y4 Y4 c* Q8 V: o        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
  O! f( ?# o8 M        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)8 X3 r8 I$ H/ p9 h; u- ~0 `
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)' J# n. D( O! Y- K$ @+ s
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
* S, \2 _! i2 V$ V. R, M- n# ^        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)7 U- w# h+ Q* k2 F
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)* f, F, C* \; d- S! s$ [/ A
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)& M& {. B7 Y( n% [' g
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
+ N1 E7 R8 i+ R+ V        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)$ u* G  E. e1 T  F. ^
        at java.awt.Component.processMouseEvent(Unknown Source)
6 p3 [, X, M, J4 B8 @3 }9 o" ?        at javax.swing.JComponent.processMouseEvent(Unknown Source)
/ ~$ q2 w! |* {        at java.awt.Component.processEvent(Unknown Source)
" \3 p. M. a! ^0 I! C5 y        at java.awt.Container.processEvent(Unknown Source)$ W2 x. @# S" Z* |: q8 v
        at java.awt.Component.dispatchEventImpl(Unknown Source)
- y$ H# K# l8 v+ Y2 o' J* P+ `        at java.awt.Container.dispatchEventImpl(Unknown Source)) h1 R& _7 B! [0 w
        at java.awt.Component.dispatchEvent(Unknown Source)2 i0 Y8 J# ^$ ~
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
/ d1 S% c' `' Q! L8 E. n        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
$ L% Y2 o" G3 B" Y1 ?9 n, {        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
( C2 l, ?1 U$ l& D        at java.awt.Container.dispatchEventImpl(Unknown Source)
7 A6 x1 g, ]# l* {, K0 k, ^- Q+ X" A        at java.awt.Window.dispatchEventImpl(Unknown Source)  x" _6 [( y2 i8 ]2 x: U
        at java.awt.Component.dispatchEvent(Unknown Source)
, V! U: r1 ]3 M' u) `        at java.awt.EventQueue.dispatchEvent(Unknown Source)
1 Y2 M& |/ H9 |5 x        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
! J# L; {& Y6 s, n5 m        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
8 y. j2 b' L& m1 I0 Y, I; `        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)/ E/ T9 |& O, I4 v* s! ~9 X9 E$ e
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  K' p/ i( \" _5 B+ j; [! f; ?( M/ Q
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" A1 F" H, c% B9 `7 w, T2 b        at java.awt.EventDispatchThread.run(Unknown Source)
. ?# D! u) Z$ o: ~! N+ e
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-9-5 16:19 , Processed in 0.016104 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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