设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4523|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
' p. L, G; ^5 N, g; D0 p: \3 B( y: l4 r; \- Y" v8 n( w
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
1 R2 m  z; `. b8 E& b! V6 e* I; y2 ^( E' n. N' c+ R0 G
2012/06/13 09:59:23,312: Error while creating displays
7 x8 u+ X* y4 E# m) f7 |! ]java.lang.RuntimeException: Projection 'ContinuousSpace' not found.& x6 E2 A, \) I* R
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)+ s4 o$ P+ x4 c! I
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
9 M  ?- [) X  j& S9 u        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
3 o& {/ b9 e* U9 g% a( g* }        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
. I3 `6 n: R! c7 o! O7 F4 l        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
3 C! Q* f% m* {. z, {- |9 @  w        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)! n$ A0 E$ y/ x" l; A# r
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)4 i' T( r. ^2 ]( q; }
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
9 @* {  x8 o2 l% N7 |! c5 |        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
$ ]1 O8 z# w3 r" [/ [  a        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)! r5 H) e6 {8 [5 m1 g* P1 q
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
- M7 C2 r1 r% c* }! \( k/ I/ L2 A        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
. S4 j$ P5 Z  r. B# a/ L/ b        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
9 y/ x3 G2 z* J        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)  v7 Q% d, n4 q! L0 {0 |; ?& w
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
5 w2 B/ t. O8 D$ p/ j) m$ M        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)% c/ Y+ `# x  ^' d7 y+ B  E4 [( z
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)! l8 k9 T# F2 u" _* [
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
- _6 n9 K' Z+ {$ V% ~        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)  Q- d+ }" j" B6 b- G) F
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)  t$ }1 I. J3 b
        at java.awt.Component.processMouseEvent(Unknown Source)- r3 d" p9 u) v$ z( k* K
        at javax.swing.JComponent.processMouseEvent(Unknown Source)6 |/ k5 a" B, z# [2 Y- r8 V
        at java.awt.Component.processEvent(Unknown Source)
# @9 w8 e4 E. ]2 G        at java.awt.Container.processEvent(Unknown Source)
- Z" A- l) r7 b6 t  p2 L        at java.awt.Component.dispatchEventImpl(Unknown Source)
5 u- A' C. z0 L9 m        at java.awt.Container.dispatchEventImpl(Unknown Source)
7 T! H" [- i* E        at java.awt.Component.dispatchEvent(Unknown Source)3 H1 |5 T; G' a' k- n9 a# g
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source), r! `  j0 d9 K- K* Y$ P9 |
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)+ p3 f" N! p  |2 _
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)4 v$ z" u* p3 u4 j" U
        at java.awt.Container.dispatchEventImpl(Unknown Source)3 [! d8 \- V, \+ O& X
        at java.awt.Window.dispatchEventImpl(Unknown Source)  h- d/ N2 b. l
        at java.awt.Component.dispatchEvent(Unknown Source)" s* X0 W+ y* ?/ b: J, ]1 q# t
        at java.awt.EventQueue.dispatchEvent(Unknown Source)$ |# \! D2 F0 `! P( d2 m1 G* A; Z
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)7 g) y: s6 G5 i2 P, X
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
7 a$ M2 w8 f9 e$ {2 z        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
8 M7 B( A- L" r7 U) A" j3 _; i        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 W% {% {( m6 K4 d/ k9 w
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
0 }% q" B$ ^8 x0 X  |% T/ n        at java.awt.EventDispatchThread.run(Unknown Source)
5 }$ o& p6 }7 N( _) Y/ m
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-12 21:56 , Processed in 0.013706 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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