设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4930|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
. P  a" J! d, ^1 \5 s6 Y4 g8 z5 X, S0 X0 V' d/ ~2 O7 L
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
$ J9 Q6 E3 t7 O& l$ s" y) A, v. i, D% V" g( q/ p
2012/06/13 09:59:23,312: Error while creating displays
  r+ K. ^5 L4 _  \3 c7 Zjava.lang.RuntimeException: Projection 'ContinuousSpace' not found./ T6 Y; E4 Z5 p- i2 K% `0 p
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
6 ^  H, L* ~) ?! m. K0 H8 \3 w! e        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
9 d6 u# d: S7 H; N* v        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)4 M2 @* ^- C( W, I3 w2 g' u
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)7 y8 n5 s- L1 N3 y( ]+ s7 o. @
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)" L' w5 E8 }  l* m5 t. v
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)0 k$ H$ I1 i" C9 q' U# c; t6 `
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
" v0 }8 s' y: m; R. O2 u        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
" ^& d5 x% y3 {" x8 m* R$ S        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290). ?9 \8 U9 G4 M4 y2 D5 }. E
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
' ~1 n7 P. h. r6 H1 A        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
* X& r$ ~$ i4 }0 P9 c' _        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324). a! T, N* k! {* L" n
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
& o- d! H6 u' Z        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
3 D5 N" M8 @9 k2 w) m1 e/ b# F* T        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
& }& g1 P% t% M4 \7 i5 R2 b6 ~: T        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
( H* I, D2 m) o. o  c! |        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
1 Z6 E0 n- Z) U& e3 @        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
4 L% _, p. l: C! F  t4 _5 ]  {        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
$ p& C2 a; i9 c& @! f# P2 Y: t        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)% I6 d* y7 O, Y( T2 V5 B8 v! n3 P
        at java.awt.Component.processMouseEvent(Unknown Source)7 D0 I8 T; k. M2 H  n8 C' g: K
        at javax.swing.JComponent.processMouseEvent(Unknown Source)5 c9 Y) F9 D4 H: ?6 S" y/ M4 U
        at java.awt.Component.processEvent(Unknown Source)
# D, m# A! p$ E; g        at java.awt.Container.processEvent(Unknown Source)/ s1 Z$ H3 j; R4 O& r9 C6 p1 N( ]
        at java.awt.Component.dispatchEventImpl(Unknown Source)) m* S" x9 B  z$ b
        at java.awt.Container.dispatchEventImpl(Unknown Source)
3 Q* j! {: E$ J  ^6 t! a        at java.awt.Component.dispatchEvent(Unknown Source)0 ?/ h& _1 B+ g5 R# W# Q
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)" U4 D% v( l5 A2 \
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)$ Y- `0 c# Q  O6 z2 }/ t
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
# ?4 d7 N- C9 A. a! ^% |1 y* V        at java.awt.Container.dispatchEventImpl(Unknown Source)
4 [6 x7 J! U' y0 R7 U        at java.awt.Window.dispatchEventImpl(Unknown Source)6 T4 b/ A3 L& O
        at java.awt.Component.dispatchEvent(Unknown Source)
9 B: u) w, O3 L) Y. s0 ~        at java.awt.EventQueue.dispatchEvent(Unknown Source)  Y( _- ~! q1 _, f) Q9 s3 @4 J
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)& |4 F- v- I  t4 B
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)/ m  d$ j& L& q* n7 M
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
3 G' O. C" v2 s* S  T" a        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
$ O; L  u! t2 M- z: j0 R7 O' E( d/ h        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" T' m9 [) l3 H; Q0 o8 f        at java.awt.EventDispatchThread.run(Unknown Source)7 f0 w5 P# p, t/ a
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-3 15:56 , Processed in 0.013927 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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