设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5067|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
( l" X  V. {2 U( u6 {7 r. e. I, W! d
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
* w% \9 Q; z, i6 g6 I6 m* Q7 H$ h* j; R. J/ d1 ]8 E
2012/06/13 09:59:23,312: Error while creating displays
  y/ L( D, C% Z( ~' K5 Pjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.$ u- C* L* \$ Q5 A( p9 H
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
# Z% q4 V0 Y3 _5 L        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)) v  A- J. i) C9 Q1 ~1 K& I9 g
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88), l2 F9 [" z' h2 d2 g7 C- a3 U
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)) p3 j# z  {* w" b
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
$ P0 {! I+ R; w6 \& ?# `! x1 z        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
4 K" P1 i( d& L1 N        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)" S1 \. b! r2 g" n! V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)9 d  L5 M, X6 r# t& h6 n9 e5 F$ w0 Y3 f
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)' U4 E' ]6 g- g- [2 Q
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)/ I- q$ G' V( x$ {
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)+ g0 ]$ v: W  n8 S' _" p( z
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)3 L" H3 F" z' Q3 p% C  B
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)+ U! ^4 h" c# |& l; B8 e( z2 V
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)* v. X. F0 R6 i5 f* W# T
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
, Z8 D3 ~! ]+ S: Z! ]& S2 N        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)7 Q) p8 K$ M  S
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
- U; A% W8 |1 A4 b- W  v6 _. I        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
9 r. l5 [4 E; p7 [' c        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)# W& Y7 g0 L+ t6 Y' t
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
8 Y7 `, I2 i" G% \6 b        at java.awt.Component.processMouseEvent(Unknown Source); O" F+ c+ G. `" q
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
9 @: G+ q( x5 O' V4 E. e( a* T+ c        at java.awt.Component.processEvent(Unknown Source)
1 x& H. k$ a  ~3 z' d        at java.awt.Container.processEvent(Unknown Source)8 d- G" s1 I% b( ]. k
        at java.awt.Component.dispatchEventImpl(Unknown Source)
0 Z9 T- N& H; ~0 M        at java.awt.Container.dispatchEventImpl(Unknown Source)
* C) v8 |. }0 j, w, G" U+ [( D        at java.awt.Component.dispatchEvent(Unknown Source)
  B  j& }; J5 G# w        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
1 D0 B1 s, k' f6 R2 ?: y        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)/ S( Y4 X2 b3 l6 N% f
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
' H6 U0 H; c( R        at java.awt.Container.dispatchEventImpl(Unknown Source)" _' C& s5 K9 l( Z8 r8 C
        at java.awt.Window.dispatchEventImpl(Unknown Source). j6 Q/ m* i( k& h4 V. p  J
        at java.awt.Component.dispatchEvent(Unknown Source)
, ^8 z: F/ v% `        at java.awt.EventQueue.dispatchEvent(Unknown Source)+ t9 N$ E# D: i; L7 W/ `
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
' j' p/ p, O& a' d        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
4 w  f3 f  R1 W* e& a        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)& x* k! x- z* c7 o. b& N
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" E3 u1 \, }6 V+ u1 K        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)4 K  a4 n1 [/ |- ~4 h/ |$ q8 h
        at java.awt.EventDispatchThread.run(Unknown Source)( w* [9 H( E8 C1 h, Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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