设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5870|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
( |3 r# @# i% s: Z: R0 G$ [  J4 c; I0 D; y9 X/ r3 w
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
4 b. \8 [0 Q* [4 w+ J# K7 ]5 O+ F( r! B, y: Q# L
2012/06/13 09:59:23,312: Error while creating displays2 p$ {# k. \6 S) v! r9 K
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.0 a" m0 k1 Q0 d
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
3 x. L% p/ E  Z  A6 `3 E        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
  O3 ]9 j; R# S; A* v. c        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)! K. _' l' R, T$ l* ?* z
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
5 N4 C2 A5 @! Q0 i        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171), {! E" s: U, K* I) P! Z5 P* j5 Z
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
! G3 g8 V# s9 T* ?0 \" d        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)% ]1 K$ _# M, ?7 J+ ~
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
  h0 z0 f9 j% m; C1 V: H        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)* v4 e: n3 U: O# B& }8 N! q* s3 ]
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
! y; E% r& E- U        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
' t$ Z1 Z) {9 }  x/ j9 N) P        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
& H/ ?8 c4 o# e7 h; b        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
4 ?$ c! |& |2 N        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
( p4 u4 S" }7 U. C9 _        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)* [+ S3 V& [+ w$ H) \
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
* l! m' s1 n# m6 o- t- u        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
9 F" D- o2 Y/ x5 e- \' n        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
/ I# a% a& x* X* ^        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
9 p) _* r$ h5 Q& P3 e4 W        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
( c6 D) E# h; Q5 B& o. L5 f, D5 m" Q        at java.awt.Component.processMouseEvent(Unknown Source)& [# h0 g3 t8 ~6 d4 ^1 h
        at javax.swing.JComponent.processMouseEvent(Unknown Source)- p0 p) i5 w# q
        at java.awt.Component.processEvent(Unknown Source)" o1 @1 B$ r) B+ O( V
        at java.awt.Container.processEvent(Unknown Source)' J( s: a0 V& A7 Y+ h' x
        at java.awt.Component.dispatchEventImpl(Unknown Source)
0 `* ]( @6 B0 d3 ?- v. ^1 {$ k        at java.awt.Container.dispatchEventImpl(Unknown Source)
- w6 ?+ n7 H. f* s1 X        at java.awt.Component.dispatchEvent(Unknown Source)
" q% K8 O, Q! L* S. y" e' K7 z" E        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
0 e( h. l8 I. ?. M4 @0 r        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
) ?% I# K$ `; E. l        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 s/ S. c, l0 h7 i
        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 o1 W1 }: s% o        at java.awt.Window.dispatchEventImpl(Unknown Source)
0 u; b9 J6 Z" o: c        at java.awt.Component.dispatchEvent(Unknown Source)
0 I# K; j; [% n! ~2 _        at java.awt.EventQueue.dispatchEvent(Unknown Source)6 R6 `$ {. G3 m+ ^3 x5 D
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
4 k9 m: q$ e8 d. n8 v0 q        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)/ s. ~/ m% X7 h# Q
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
4 s7 B2 F  R& n. [6 D        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
! T7 k) a' _9 g* J/ t- e( L: I        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 L' Q7 v; H" w6 K
        at java.awt.EventDispatchThread.run(Unknown Source)8 E$ I# U- h2 e9 g& K
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-7-2 05:49 , Processed in 0.016641 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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