设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4536|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
9 y5 j/ f) d( Z, \. b: N0 m
1 x9 i6 n0 D9 k( s! B/ p( n! j运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
, V6 K0 \* i$ H  m  u  I. j2 f: t* B% k* D4 t# R) G5 \2 u
2012/06/13 09:59:23,312: Error while creating displays0 U+ i) N! I7 w0 p/ |$ N
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.7 B, n. C' }% }$ s; u7 N
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
, q4 u, C* K2 C6 N        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)* m+ i; y( s6 W$ k/ |
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
# v4 T0 B# l+ ?" n; S' R2 f  R8 `( ?        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)8 [8 A; g# Y! y- l, D1 N5 `7 `
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)' n$ O  c( r+ S5 }( C- ~7 ^* h
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
' z8 V9 M+ S8 \        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)* q( F$ r* }4 b/ k* ^! N
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)4 o7 y/ K" V, s  C$ @  }
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)5 N( W9 j9 ^, ]6 @/ b- i
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)( C( W1 _/ R& \8 A) E6 V$ @" ^9 {
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
6 d( X, c" O( i3 L5 O- l7 m2 f        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
1 E" l2 L7 Z: H        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
3 ]: O- ?) u7 w        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
* u( s" ?( l( K( Z        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)! _' c0 j$ E  V' C5 C0 k/ U# V
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)9 @6 v* T  x/ t, C% I1 v6 h. Z
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
1 u/ m3 x2 q7 k1 v/ O: o, b& p; ^        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
$ c! o: }. M) k        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)- l# i) ?- M& S+ s; T
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)% x: g  e( `) p) [, }8 j, d
        at java.awt.Component.processMouseEvent(Unknown Source). H* i, D5 d( A' p0 H% Q
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
* |! f+ l+ x0 o; ~3 w        at java.awt.Component.processEvent(Unknown Source)
( V" J+ A7 l6 _! M. D; I$ G        at java.awt.Container.processEvent(Unknown Source)
% K2 B3 `3 e- g- i9 n/ |% Z% i        at java.awt.Component.dispatchEventImpl(Unknown Source)
/ a5 M2 u; m0 F4 R, U        at java.awt.Container.dispatchEventImpl(Unknown Source)
' }1 V8 `8 B2 v( J4 R. M, ?        at java.awt.Component.dispatchEvent(Unknown Source)
6 J6 Y9 V; ]$ x. ~& c* t        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)( H/ {1 \. H- I; `1 ?/ T
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. i! o! \! w2 {* @0 |        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
* F5 i, D. s8 d! `' K- m        at java.awt.Container.dispatchEventImpl(Unknown Source)& ~) c" |9 d8 Z
        at java.awt.Window.dispatchEventImpl(Unknown Source)) i" ?4 C, c0 p
        at java.awt.Component.dispatchEvent(Unknown Source), j1 b  y' {  U* w# p* D
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
$ N5 I( \! ]* |+ h, \        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source), |. N, I2 o+ s" O6 u
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
) M$ E# B2 r, X2 B        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- z; ]1 k; q$ _1 u        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
5 d1 M; v. P: P# p# X4 u5 c" g9 k        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)( Z. Y. x) \  z; D, C/ R
        at java.awt.EventDispatchThread.run(Unknown Source)/ J: d0 \% u& [4 y  e( c, N$ N3 d
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-17 07:34 , Processed in 0.013750 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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