设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6170|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ) ~/ ], i+ M. x

  L* n: M$ `% |/ b" p9 S运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:' S- i; P$ U/ |, r  R5 `4 N) E) [

1 N) \( Q2 q' B7 ?! _* m5 N- g2012/06/13 09:59:23,312: Error while creating displays
- b5 L# K) F) kjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
) k3 v4 h9 X; X1 U9 A! h2 K! B        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
  k6 s# z. I7 W. y2 d5 q6 u        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)$ J, A7 P! |/ ], \& ?2 N
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)# j9 l0 D) S! |% n/ P) r
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)! b. z( p" U: i# u( }
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
3 E; r5 n3 t6 p8 G3 C, I        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
0 f6 h% f; N$ k) [2 L9 e/ O) x        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
) M4 T. r* @  L* `6 g& j; Y6 a        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 I- `# P/ r5 e4 Q  u        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
" C4 t- z4 w, x: @, Q        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
& q" ]# V  A2 R        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)# S( |2 v. x+ ^8 H
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)0 @9 g: Q( [+ h9 s: a2 k7 J
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134), B* m4 e6 p2 w; b: F/ u
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
+ T7 h4 {# ~$ v5 P; Z! ~) h0 R        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)8 Y( _1 n6 {6 T0 c( ]
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)8 f8 Y( }' a9 e
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  V' i9 O( y- }& ^' _& K        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)4 n/ @/ W5 a  {
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)! K) f2 _( b) H& s6 l
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)/ ^1 G  J& e0 u+ i+ b4 f: d' A
        at java.awt.Component.processMouseEvent(Unknown Source)
" z' T* E. @5 j        at javax.swing.JComponent.processMouseEvent(Unknown Source)
+ H3 @7 C% M8 ]9 t% O3 i2 \5 S        at java.awt.Component.processEvent(Unknown Source)" `' `7 C: |2 J& N8 I# _4 C2 z
        at java.awt.Container.processEvent(Unknown Source)
1 t1 N0 b0 q9 _3 J0 ^& n4 Z        at java.awt.Component.dispatchEventImpl(Unknown Source)
0 j) B) c5 Z9 F' s4 S! Z3 a        at java.awt.Container.dispatchEventImpl(Unknown Source), f. w/ x( d3 H5 f
        at java.awt.Component.dispatchEvent(Unknown Source)
: H7 X$ q. u: @7 W" K% F2 }, e1 w        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
) {! q. e& K, T0 g- @        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
# v% O  r' m- p  W+ u' L7 J        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
$ \: ?# R9 z  a: M9 r; s' i8 _# B/ m* x        at java.awt.Container.dispatchEventImpl(Unknown Source)
$ D, @9 f  S4 N        at java.awt.Window.dispatchEventImpl(Unknown Source)
6 X8 ~: m" _, j, `: y        at java.awt.Component.dispatchEvent(Unknown Source)( m' Y/ v9 n9 K# {
        at java.awt.EventQueue.dispatchEvent(Unknown Source), L; C0 o8 z2 C2 O
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
, K/ z, X  g/ v; x! j" J2 W: A        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)' Y- i: x* Q- X, ?
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)+ @+ p- v# ^$ X5 a6 x
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
3 Y) ]; S% @! e* U# [* }        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)& _8 G' Y9 |" U  l/ A
        at java.awt.EventDispatchThread.run(Unknown Source); M# g- q6 n, B- X' o
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-9-18 12:14 , Processed in 0.025580 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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