设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5036|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
1 s" ~7 _- z, C% I6 ]2 |. v. U' V* b
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
( |$ u6 ]9 H2 z& g" W
* T6 A( G5 i' |; C7 k2012/06/13 09:59:23,312: Error while creating displays( |: g# h. Z: m0 D- B2 w0 d
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.& Q+ k2 [4 \' d/ O; P, d
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)+ `2 p2 f9 B( b5 U" K, S
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)( j5 a; u; I+ d0 [# h. o+ O
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)) _0 O) V) a! e- K; K8 ]+ J
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
  Q, _8 a. m' v9 v3 w        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171). d2 E6 n# A/ r" H0 x& t3 n
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
7 Z1 o; K1 T' m4 G: f        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)! }4 c1 ]# i" Y+ U" |2 L
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
7 V# _! r/ u7 k/ M& f        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
1 X! [5 [/ R8 P  c        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)% f' M& n+ d7 Q8 Y( a1 l/ B) V: x& x/ t
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)# G. `* w8 f) \1 q
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)# }3 _, B# C$ H, `, d; O  C6 B& z
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)% Z0 p* j, Z0 W4 Q9 T9 ^" @
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
; x! [+ c+ r9 u        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)# W' G& T+ H6 t
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
4 [. O" t, U! l9 p        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)7 D7 y7 v; O. [
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)/ J. k% S" n) \5 G" R
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
9 }! P7 U4 V. |7 j) D2 M: `        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
5 d1 E$ W& p/ s" c$ p5 B: y        at java.awt.Component.processMouseEvent(Unknown Source)
2 \, a7 j3 z- z; `8 i/ u) L1 Y  a        at javax.swing.JComponent.processMouseEvent(Unknown Source)
- E: S5 Z; `4 K% |4 i- H& w" W! V        at java.awt.Component.processEvent(Unknown Source)" _8 S) M( h& [+ r/ `
        at java.awt.Container.processEvent(Unknown Source)9 g. q5 B) E6 D3 \
        at java.awt.Component.dispatchEventImpl(Unknown Source)+ d0 [3 X+ y4 p1 h+ ^  a0 _
        at java.awt.Container.dispatchEventImpl(Unknown Source)* Y+ R5 x& x8 _) D2 C2 d: f
        at java.awt.Component.dispatchEvent(Unknown Source)" C7 S) i4 e# q  U
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)6 W# c5 L2 s( v" P) w
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)( w( O7 V" ]% P: V7 \
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)( _* m5 J6 g0 Z' ^$ |" Y
        at java.awt.Container.dispatchEventImpl(Unknown Source)% l; n3 P8 d7 _, M* S* j- f
        at java.awt.Window.dispatchEventImpl(Unknown Source)
  {! q! K: O; o, m6 U        at java.awt.Component.dispatchEvent(Unknown Source)
2 A$ c& Z2 ]6 Y6 w$ ?6 M' g        at java.awt.EventQueue.dispatchEvent(Unknown Source); s1 Y6 n; V1 X7 _, [
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
0 d9 ^; J1 j0 J        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)/ e# H( ^# C9 c) K% y6 M" Y
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
% [6 }0 v! P' \% ]        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
/ I* D0 S( [9 H        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
+ N0 ]. ~7 V& @; K        at java.awt.EventDispatchThread.run(Unknown Source)
+ C7 H; \  r/ H9 C7 j/ s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-23 05:20 , Processed in 0.014350 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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