设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4933|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
8 `/ N! F& y; x# U1 J, t
) R# [/ R6 }( ?: w9 X7 q运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:: u" x' Z; W% r: ^; H0 m
# D; w( C2 M5 W
2012/06/13 09:59:23,312: Error while creating displays
. C2 u7 p7 `' g. k# vjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
, x4 n5 `7 L3 j6 |4 k  _        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)- l% h1 z0 n1 g  H5 ^! c! k7 g
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187); Q' m( m0 _6 g& R7 g8 Z
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)+ S3 s8 _5 P7 x
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)- x3 r6 x* g( `  M. ]1 S/ H
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)  S6 ^0 n0 y2 o, j: N
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
/ `6 L3 f. k3 f( |% k        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287). J; p4 ~/ I9 ^7 q- Q* Q4 V( u# j
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ h: P7 R4 K* L        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)6 @# ], y! S6 c4 p7 y2 e
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)  b0 {0 Z& t) z1 D, @- J7 G
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)% S3 Q! n% y6 X
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)' c2 N' B7 K1 X( l
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
- p' z" h% R. o" w4 [9 {        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)& X+ J- V, n; C& d* i
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)( S3 f5 d/ R$ |* G$ F
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)2 o4 H! p, M7 J7 w
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)% E0 g% S$ A, [: B# Q. o: N
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source): }. ^5 X# p: I- E6 b
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)* o2 `( v' _/ ]' }
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)6 w9 h# }( R) `( ~; ?# w
        at java.awt.Component.processMouseEvent(Unknown Source)
/ K! e, \- A' d) p        at javax.swing.JComponent.processMouseEvent(Unknown Source)& S6 Q$ y5 M4 u$ i, d# M; j
        at java.awt.Component.processEvent(Unknown Source)
! \+ R6 a+ c) x3 R8 ?, ]        at java.awt.Container.processEvent(Unknown Source)
& S, C3 c! E! U" U3 Z* x        at java.awt.Component.dispatchEventImpl(Unknown Source)
: w# [) |# N( y% |4 i, U4 }  Y, u8 o        at java.awt.Container.dispatchEventImpl(Unknown Source)
* ?8 E4 m  a, A' Y  z        at java.awt.Component.dispatchEvent(Unknown Source)" R) W' G+ T, P+ x6 ?9 H# }
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  ?+ |, K7 W3 T( B4 L6 n5 n) @        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
, I3 k' e$ ^+ P! V% l+ M/ i6 P* C3 n        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 I" s. h- D. _  [' J& @( Q
        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 ^  r" b) I1 e& b6 Q, J. u( s        at java.awt.Window.dispatchEventImpl(Unknown Source)  X% q. C7 K2 b+ `+ X# L
        at java.awt.Component.dispatchEvent(Unknown Source)
7 W" j& d1 D9 i        at java.awt.EventQueue.dispatchEvent(Unknown Source)
( m/ D0 ]! z) r) L' F6 z1 X# t        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)% Y5 s. H& f6 ]: E8 E( d+ p* O8 Z
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
0 N7 U1 c1 ?  s& c        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
4 c3 n" |( o4 ?/ Q7 M- [& r        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)/ q4 A7 c  ^' ]: w/ c9 D
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)3 b4 D% u$ W% b4 |
        at java.awt.EventDispatchThread.run(Unknown Source)
' h3 F' D& t( U: k) n0 |9 |
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-3 17:58 , Processed in 0.013101 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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