设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5066|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
% n5 v; V! R$ l. k
. Y. o7 C( t# G" b, s+ D7 k运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
. s5 R2 A4 X" r  s7 G2 N+ H, r% \8 k( j6 p9 P
2012/06/13 09:59:23,312: Error while creating displays* l3 W- p* B7 }; b0 [2 c3 V
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
, x. d# N- S& `" {; Z! U1 T1 {4 h        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
8 U, C) Q& a2 ~9 n& _( P        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
3 T- b' ]/ Z5 @; _0 e. E        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
% i" b7 c) U% p0 x        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)- q, ?  ~& {& D1 Z/ e  u& @
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
+ E: n. G+ E6 J8 g; O        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
/ g* P# k' L0 N        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
3 Z) b2 B( _" p  e7 ?1 u- ^- A        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
% ^) J; I- I; r* M# }: G        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
0 f8 d8 n6 j' r6 R! U" W$ A        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)4 V% D& r6 W3 K4 V) s0 j2 O; m
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)) d! Q! I3 Y4 s0 Q: G8 @& X- P
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)7 {" D" q. W* y4 Q( x
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)0 D9 R1 y2 \# f
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
. @) e; o) B5 d' M% p% I; {        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)1 H+ o7 l. j* ^: l) Y/ c
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)+ Y: N: L. w3 r% I5 V# y6 O3 P1 v1 J
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  n  J& S; o' o5 [5 S7 F2 c$ P( [        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)/ f" z- t/ A% r8 p& @9 P5 b4 F" I' r
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
7 O9 d8 g5 E7 M        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)' A% j( y/ J6 O9 l
        at java.awt.Component.processMouseEvent(Unknown Source)
3 P5 X3 T5 u3 G. F) y        at javax.swing.JComponent.processMouseEvent(Unknown Source)  u# ~3 B. ?1 k, m7 h6 k
        at java.awt.Component.processEvent(Unknown Source)
7 m1 l  x6 {" I) _: {1 h' \        at java.awt.Container.processEvent(Unknown Source)
$ m& [& ^: k3 {% J7 R2 S        at java.awt.Component.dispatchEventImpl(Unknown Source)  Z+ i/ O* }. o1 t
        at java.awt.Container.dispatchEventImpl(Unknown Source)' E5 B) T# Y( ]$ x4 C
        at java.awt.Component.dispatchEvent(Unknown Source)
- u! C1 i, I6 K' S$ N* t& T        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
* n- ]  s9 ~  [' N. T$ E        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
6 o4 H3 B3 T" G' ?; T; B        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)- F$ r5 e9 t1 }! T6 f* n
        at java.awt.Container.dispatchEventImpl(Unknown Source)
3 L9 R. Y6 @6 X        at java.awt.Window.dispatchEventImpl(Unknown Source)
- x  Q3 D4 S+ ~- v" ~& r        at java.awt.Component.dispatchEvent(Unknown Source)2 M6 [( ~1 w' n$ e7 P9 i# w. q
        at java.awt.EventQueue.dispatchEvent(Unknown Source), M/ M/ k2 Y6 K" h2 M& T9 f
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
2 e1 f# [7 D1 r. t        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)" @& J$ J1 b: d
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
5 S, m9 n- e, ]1 z- d0 p        at java.awt.EventDispatchThread.pumpEvents(Unknown Source). R5 W& S5 D# m; z; `
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)! t0 V. D5 ~4 o7 R
        at java.awt.EventDispatchThread.run(Unknown Source)
7 m. {  O3 A; f' I# A6 x1 a' Y
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-30 16:34 , Processed in 0.016767 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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