设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3794|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
6 M2 G" L* R2 ~4 C6 D% n) v* J( u4 w) {0 ~3 q- D4 a* u6 V
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:0 m; L" i& z0 k

( p) w# ]- f, y3 Y9 Y2 _2012/06/13 09:59:23,312: Error while creating displays
* L+ c# I0 {7 A1 N. pjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
& {& }/ S; {& U: B8 O        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)  A& Y# z" f+ O. s" I
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)% C4 M+ |9 m& V. @0 m5 }' k
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)  o+ c3 G5 p) e% ]. ?% q
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90). W- S' f, \) t& u( c5 y6 V/ ]+ m) C
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)2 w/ S: x5 D- ?9 ]7 ^
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
$ N+ @0 w, G1 t8 O( c2 G: F        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)5 Q6 x* T9 d$ m4 q1 T) ^1 Q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) t$ v0 t' M. Q% Q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
4 ~6 w( R1 {# W( {6 u        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
; L: c" y5 E# w+ \3 k        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
5 o0 S8 R7 \$ ^( q" C        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
- |, p& I4 D' d2 v        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
  E  i" t6 ^6 p        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)) ^7 I" V, Y( l
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)6 U; O2 e3 m0 w: `% |, O' i( f3 O
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source): V  i' d2 m% U+ Y9 B% }# G
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
5 o9 _/ ~0 g" u  A$ _/ L        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
& b/ u8 a" ?& E7 w% s        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)! J; f: A, Q" g& e
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source), Y; j  D2 E; r  h7 l4 T/ p
        at java.awt.Component.processMouseEvent(Unknown Source)/ v) L$ ~: J0 O, S+ Y7 R- W
        at javax.swing.JComponent.processMouseEvent(Unknown Source)% A8 r+ s) [* C2 I( x, D5 O
        at java.awt.Component.processEvent(Unknown Source)1 {' y& J" ]4 E, Z
        at java.awt.Container.processEvent(Unknown Source), ~6 s) ^9 d9 r2 @
        at java.awt.Component.dispatchEventImpl(Unknown Source)
; U6 t9 d2 y' Z: J7 K# Q( u. D        at java.awt.Container.dispatchEventImpl(Unknown Source)
% v$ `. i+ M  a- I* o        at java.awt.Component.dispatchEvent(Unknown Source)8 p0 x, C8 {: d6 t2 ~$ B2 `
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)1 [: L- s  H0 D! I
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
! v+ o& @# }& l  y% E- R        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)  C8 }7 ~8 n: _& L5 G
        at java.awt.Container.dispatchEventImpl(Unknown Source)" R; A' j) A( d& |, |& r
        at java.awt.Window.dispatchEventImpl(Unknown Source)
! x; H- F- @, X        at java.awt.Component.dispatchEvent(Unknown Source)
! Q* _  e$ J' o; n7 j' g+ w        at java.awt.EventQueue.dispatchEvent(Unknown Source)- R/ n4 J3 f( f1 t1 F
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
! ?: ?0 ?2 N+ Z8 A: \# \        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
6 F" D' j) {9 v        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2 d" t3 l3 d# a  v        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 R) r% Q: K5 O$ y
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)3 H/ P9 F8 a( z+ E( N7 v: x5 Z
        at java.awt.EventDispatchThread.run(Unknown Source)
* A  H3 q" i( r1 n9 R/ r0 N+ d
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-21 21:52 , Processed in 0.018380 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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