设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5834|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
/ \9 c' i# L2 i# X, U# C7 n1 ]- I5 r2 x) }
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
, Z5 n" [( p3 D
# P- {, h! f4 `2012/06/13 09:59:23,312: Error while creating displays9 d2 J/ p6 o' [) X# h, t7 c
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
: y1 Q1 A0 n3 V! t" I        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
4 @2 a8 U9 w4 C: K        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
: L7 e. C! }8 j3 Y        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
2 ?9 @2 C3 D/ ?        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
5 i% |2 P3 P! q  p! I6 `# M        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)' Y# C! w, l4 z1 K$ u
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)) h" d, ~: f4 M+ ^
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
: D, y* j, Y0 J$ x& `        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
; q# {- @& C" |* s3 h        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)+ {3 j0 l: b5 C5 o
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)  G5 K  p/ p& G8 V1 p4 v0 x
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
: F; S0 v) O! K% [' Y5 a        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
7 E6 M2 R+ t. d4 H' ~8 Y/ y        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
) l% p2 q6 j9 X% e1 ~7 O0 {$ E        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
$ G! V) H# K4 O/ x7 p        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)( a2 M9 s2 C; E4 S
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
+ b0 R/ P- u9 t( Q0 d; f! S        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)+ }7 \+ g! t6 M, Y
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
- S0 ]7 H% @! I) A. @        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)$ E# ?- O( v+ A+ k5 t+ i+ L: ?
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source): b9 R, I3 e- o6 t/ ~
        at java.awt.Component.processMouseEvent(Unknown Source)
: c5 u$ D9 E1 O% h        at javax.swing.JComponent.processMouseEvent(Unknown Source)% M( a; D9 p7 l& k! u
        at java.awt.Component.processEvent(Unknown Source)* k* l  p' K5 I8 P! w
        at java.awt.Container.processEvent(Unknown Source)
9 V+ c$ Z, O. E+ g% P        at java.awt.Component.dispatchEventImpl(Unknown Source)
) Q" m& O# _" H  U: A9 g        at java.awt.Container.dispatchEventImpl(Unknown Source)2 Y" |6 Z/ p  j( w0 C8 U( h7 W& m
        at java.awt.Component.dispatchEvent(Unknown Source)$ t5 q( o, W  ]$ r1 J6 C; X
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
7 `" m/ p: C+ N) A        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
: {5 P3 ]& H# W- e7 K! {        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)% }, K. y2 x. a$ `; k& n% R
        at java.awt.Container.dispatchEventImpl(Unknown Source)
, W  ~  `  n0 e5 G        at java.awt.Window.dispatchEventImpl(Unknown Source)
- E5 T  `; D4 U/ ]7 F# I: v0 C        at java.awt.Component.dispatchEvent(Unknown Source)
/ v, C1 W2 |& X- C. g6 W6 k8 R* k        at java.awt.EventQueue.dispatchEvent(Unknown Source)
$ |# X2 \, X% \+ l. I3 d( G        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
+ {! O6 U4 ], f' D        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)9 U6 u1 C  u/ C$ w8 L
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
3 K9 ^, h0 o, l7 a) W; [1 y        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
# c; s# n9 s6 f$ M" U        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
7 i- ~5 h9 J/ {3 p/ C- {        at java.awt.EventDispatchThread.run(Unknown Source)( N# d* b, }- H
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-20 04:14 , Processed in 0.011677 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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