设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3505|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
0 d# I" A! P- A% Y# J! b9 ^1 g) Y( U, |! E9 z5 e  a5 T  n
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:; O& n5 p& F$ m: M' S1 H
( ^) u- E: Q& S2 |3 W$ o
2012/06/13 09:59:23,312: Error while creating displays) j$ T' a( M/ u. S
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
* J, y3 u+ u$ ]: E+ Z0 O" u7 s        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
8 [" G) `% ]5 ]/ A* K4 E3 l: [        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
  Z- w* e( X4 ~- w) P6 A' [        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88): L+ d% V& |" n% R, k( h1 C
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
( F, x# q& K. O! x        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
* q! t5 X/ P9 K        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
9 P8 c1 u: w/ p# O/ g0 J! m4 i0 X        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287): N0 V% `- |* Z/ a# V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ Y* w/ T$ c& G. {7 J        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) K" H) _/ [7 O1 V, x/ r
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
2 D0 K/ B1 b7 i. y" I7 r        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)& T7 |- K. a+ G) ~$ }- a; B
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324), x1 M# r9 \5 X0 g
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
, l/ a( u; Z* X        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
: H1 I1 x* }0 \" o        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)! x: m, f3 W+ }" w8 y- ?0 I* e, B- O
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
* B; K7 b3 t! `  q" }6 I        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source), F  B) w0 d- h
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)6 p- L; M! T1 W, R+ u4 S
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
9 O; A$ P, M, A        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)* @5 k. }6 V: \& {5 m# \, p
        at java.awt.Component.processMouseEvent(Unknown Source)' P1 s  X  \1 @4 y& N% k
        at javax.swing.JComponent.processMouseEvent(Unknown Source)5 L' j+ T" h- D' F6 e1 r
        at java.awt.Component.processEvent(Unknown Source)8 E  }: M3 P0 {$ I6 I5 F: G
        at java.awt.Container.processEvent(Unknown Source)
& J% {+ h0 @2 ^9 j7 o# x0 W        at java.awt.Component.dispatchEventImpl(Unknown Source)+ ~4 f0 J( S' d8 m
        at java.awt.Container.dispatchEventImpl(Unknown Source)* F8 `- C: n4 E9 x! n
        at java.awt.Component.dispatchEvent(Unknown Source)% C% P% Q) v/ O. ]5 v
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source), m$ @# g+ L4 ]8 {* h
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source); V8 g- v; i- E; ?( J1 t& A6 a3 I+ b
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)5 d, }3 c/ g7 N2 P  J
        at java.awt.Container.dispatchEventImpl(Unknown Source)
- Z" L7 m: |6 W( K; I4 `$ R1 J1 F( p        at java.awt.Window.dispatchEventImpl(Unknown Source)
2 i% ?- U  k0 R/ Q: E        at java.awt.Component.dispatchEvent(Unknown Source)* D' ^$ E; E+ P6 N  d, o8 r9 ~
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
' C; W/ N1 c8 A; n: @: b        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)& F4 L: z% a2 c
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)5 @! E+ M! x# l2 ?! J
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source); r% w6 n6 H+ K! y4 ?6 N
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)' Y- s& d0 U0 D1 l$ j
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)# `1 t# ]7 x1 A7 s: c* h+ ~
        at java.awt.EventDispatchThread.run(Unknown Source)7 @( W% j3 |1 Z' Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-18 17:57 , Processed in 0.012503 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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