设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5843|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
  Q( r7 P, q3 L* W$ Z4 R# l0 b
  a1 V" G4 F9 ?9 x$ g. w( N# l0 o运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:8 j* f8 k. y+ Y# B' A

' U3 ?) i3 `2 Y/ K  B5 \. l2012/06/13 09:59:23,312: Error while creating displays4 T4 o/ g8 `  V! D! @1 J* D
java.lang.RuntimeException: Projection 'ContinuousSpace' not found., w6 {6 g# i$ f7 h
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)" s5 m$ j  j& {, z
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)3 S( j' @" Z( T9 ~1 t5 J1 X
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
8 z0 z( |( y! B: N1 V        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)1 c1 }: x; ]3 F$ W9 k5 t
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)* z1 V( U4 Z  C* \6 B5 Q
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
/ P& A/ L; Y* r. \4 b8 @        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
; y* k. }$ L( Q5 }- c9 d5 ^5 D        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290). T! p6 K, Q5 [6 ?( a
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)3 r8 _" w  X  i
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& s; d# a- c" {1 B; G
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169), v+ V+ Z- i% C. v
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)( L5 N  \* u, Y1 [; D2 y; M
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
/ t* }2 v9 U: S0 O3 a' w        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
7 l. i: q7 c9 p- c8 r        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
! L8 B9 ?5 ]9 x7 S  A) }# f4 ]' W6 o        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)# A) ~0 T6 E5 C2 n5 g; T1 k
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
8 P% [+ u4 t3 J( ^" H, E2 q        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
' w" ]* I3 C( r0 c/ ^5 p9 _1 ?        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
# }( x# T: w! C, K& ?  K% |- R        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
/ R0 ], t4 M/ e        at java.awt.Component.processMouseEvent(Unknown Source)
% C" H4 v: u$ _& d4 X        at javax.swing.JComponent.processMouseEvent(Unknown Source)- w  K# }4 J0 J3 t
        at java.awt.Component.processEvent(Unknown Source)! U  r3 {2 f8 n/ h/ C
        at java.awt.Container.processEvent(Unknown Source)' K0 b2 @8 N6 R
        at java.awt.Component.dispatchEventImpl(Unknown Source)
$ k. e8 `  y. l' P' N/ a# s  t        at java.awt.Container.dispatchEventImpl(Unknown Source)
) }/ b3 T! C+ x1 ~- s+ r4 \* }        at java.awt.Component.dispatchEvent(Unknown Source)/ Z5 |% Y7 S% T: J4 X* S5 X9 I- C
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
: H$ y: w2 |7 b3 d9 r7 u! }1 R- Y        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
$ i, E3 Z1 Z. Q  W% g* F        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)/ P" D& q& S/ }8 H
        at java.awt.Container.dispatchEventImpl(Unknown Source)/ }; E! W8 g0 c* e* @
        at java.awt.Window.dispatchEventImpl(Unknown Source)
9 ]. G# y+ z5 M) i1 A/ r8 h7 t        at java.awt.Component.dispatchEvent(Unknown Source)
/ w7 X+ a- t, f- h1 w. m        at java.awt.EventQueue.dispatchEvent(Unknown Source)
4 a; X+ ]- X/ {+ k/ p, A        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  t, a0 K- F7 R7 l
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)4 O, M7 ]# ~8 V% S" o
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
8 U9 A* f( t, ^  q" P: M        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)) W  ~  N: V& z" @8 {% O: N/ C
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 ~  m/ w  l# _0 |! ~) z. c5 N4 Y6 K/ {
        at java.awt.EventDispatchThread.run(Unknown Source)7 o, R5 l5 [+ n3 \! R/ G
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-20 23:06 , Processed in 0.013601 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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