设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4451|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
) V' Y! t. T: ^$ L0 U) h! o" c2 g7 d/ M8 ^  q; A5 z8 W: V
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
0 I9 d$ S3 }1 y9 J/ d! S! l: Y
$ G+ T  m8 T: s0 N6 }8 C2012/06/13 09:59:23,312: Error while creating displays
  u( D2 I! d# _8 k% T5 W& H  ijava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
" Y: n1 a& _5 @4 X+ E6 H& p, N: Q  n! g        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
8 u% i2 u0 Q! H3 E" ^0 Y        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187): [" _" {5 C- x, e
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)  s. u& |% q1 V. T& o
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
' E  U3 K8 L0 V+ M2 {        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
. S3 m: y5 V# M3 i+ q. n2 g9 k        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)# M( T4 L4 b% ~" d0 |9 W; ~
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
4 o7 ^  k3 Z/ U; U. ~$ K' u        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
# E  K. ]# s* q9 A        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290). _7 s& _; f; @1 |6 _* a
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
: z- E& l# |0 _8 q        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
' ?6 k# ]6 o9 Z& e* f; X        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324), G( i0 T0 i/ [
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)1 U8 I  Y( [  ^9 ?  p
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
6 ]9 n" ~; E( D( y0 T& Q0 o, o/ p- u1 F        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
: c" m# ]/ d  h2 P9 @  U, I  C        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)" S3 T) e/ Q3 X* h
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
  p2 Z, h" u- J, m- P4 g& H        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
4 C2 x" z3 n) B) V        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
, L) H. b$ L# E  q0 p6 q( B; u        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source), o/ @+ g& ]- `* D
        at java.awt.Component.processMouseEvent(Unknown Source)5 k- p' {# _2 A$ s/ j
        at javax.swing.JComponent.processMouseEvent(Unknown Source)* C1 _% i$ F& Y+ a# W
        at java.awt.Component.processEvent(Unknown Source)
, l+ m. @, G+ B5 z8 M4 s; X/ H, C        at java.awt.Container.processEvent(Unknown Source)' @1 l( M( Z' V! y, }+ Y
        at java.awt.Component.dispatchEventImpl(Unknown Source)
: Y) V/ @) ~2 W8 i( N8 a' F1 u        at java.awt.Container.dispatchEventImpl(Unknown Source)7 G" Z# j- @$ n
        at java.awt.Component.dispatchEvent(Unknown Source). }1 Q2 B6 h0 ^# ^; p- z3 ?
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)* Y1 {+ [5 Z8 u8 e! k+ U5 }
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
- i* f5 h: Y- {; m1 Y: E        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source). b2 t( b* e/ Q  W3 @
        at java.awt.Container.dispatchEventImpl(Unknown Source)
2 ^9 p3 Y3 _( i9 }& `& n, @, }        at java.awt.Window.dispatchEventImpl(Unknown Source)
& ~! |1 ~8 }: E% M9 ]        at java.awt.Component.dispatchEvent(Unknown Source)5 q( {4 I* x, U- x
        at java.awt.EventQueue.dispatchEvent(Unknown Source)8 Y& I! T1 u$ k3 I4 U
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)+ x. i" ]8 j( b- m' T+ f; o$ O5 W
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
& O0 k! e' n0 Y. z4 b9 o        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
* b% a% O1 ~. d/ r- o        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)4 y  W- I- q! U$ F: r9 _0 G( M
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)& m# e3 _. H2 F# q' r( F  d  y) G
        at java.awt.EventDispatchThread.run(Unknown Source)
7 D- Q- n' g/ S1 D  T
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-18 22:56 , Processed in 0.015580 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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