设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4608|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 / C# K0 N2 ?3 q2 P* r* |

* ?$ ^5 s0 H. H4 ]0 j- u5 M运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:: ?+ g7 g% L, R! k9 {- _+ \
6 f) s0 o6 |8 ]
2012/06/13 09:59:23,312: Error while creating displays4 I) Q, l% @( Z; ^4 }6 K
java.lang.RuntimeException: Projection 'ContinuousSpace' not found./ t& ]) j" F' V
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
% A5 e2 X8 h1 n        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)+ @; I3 Q- T+ P( R# H: v
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
. g- I" E$ D& h) a5 n0 C0 ?        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
; M/ H5 J. o0 p1 J4 p, b" A. L1 n        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
2 _+ x# V# f" q        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)( {  @4 N+ I8 w. g6 ~0 k
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)1 u( J8 ?0 R9 ~+ V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)' g8 i8 ]4 {& S
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 D: d6 I' w( q, F  O( ?% J, V1 P8 m        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
4 W2 a( z$ ]3 a9 v- @        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)+ Y; R/ ]4 n* Q/ \$ M/ D
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
" g7 a! |& X, N3 _7 D2 u        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)6 N3 g* X1 [. N! U* q  G) E
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
2 B# ?: n0 Q* \, Q        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
& D: ]7 A4 |0 B2 r! p9 C5 x/ r        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
$ J8 {: g1 K  P% o        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
" z5 l8 `0 }  n* q# X        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
$ v. O7 D& j7 r  {+ _+ Q9 M: d        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)" k% G& _* o0 S) w3 B
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source). Q* f& p9 d" `1 r
        at java.awt.Component.processMouseEvent(Unknown Source). O7 f  c) I/ i& v! \0 m7 e
        at javax.swing.JComponent.processMouseEvent(Unknown Source); a0 U! t/ ?1 w0 Q# f, U5 y
        at java.awt.Component.processEvent(Unknown Source)
* `  W1 z$ n# I0 J5 j        at java.awt.Container.processEvent(Unknown Source)# d6 l* q6 h- Z, x: b8 t& z
        at java.awt.Component.dispatchEventImpl(Unknown Source)
& \7 ?* h1 J  S) B        at java.awt.Container.dispatchEventImpl(Unknown Source)( H5 L3 b+ f- o  e) y2 r' a
        at java.awt.Component.dispatchEvent(Unknown Source)
# f7 m. M/ a8 z0 T0 d4 c# V        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)7 R+ O9 D$ x- J2 k; R
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)) [- ^9 B# u, r/ o  @3 ]
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)$ i5 E! \5 }3 L; S: {+ w
        at java.awt.Container.dispatchEventImpl(Unknown Source)
# Z& J; J7 G5 |3 s% c        at java.awt.Window.dispatchEventImpl(Unknown Source)
4 B+ M5 k& t8 F        at java.awt.Component.dispatchEvent(Unknown Source)
7 @9 c& d. W. V* |        at java.awt.EventQueue.dispatchEvent(Unknown Source)) v9 L  M& @" j3 y& t
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)* p- t6 U7 h" X) t- A. m
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)) P2 ~+ H5 V' Y& ~8 h5 b/ e4 z. V
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
9 z$ g7 r; @9 v/ k# n        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- h$ m5 `+ P# Z0 Z0 \+ f  I# ]        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
* S) R2 |- Z& r$ `* T# k3 @, [        at java.awt.EventDispatchThread.run(Unknown Source)
" J/ q  R" w' R5 s$ S' [
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-18 05:16 , Processed in 0.013051 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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