设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4447|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 6 C; I& J0 K/ ^$ c: r: Y  N
/ }0 F' V" e$ e: y4 N5 k2 w
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:, Z. n/ p" e& O, @, d) F( u
5 S1 F; C' J' G9 P4 z: H4 ?
2012/06/13 09:59:23,312: Error while creating displays
& G; c& y0 i  J- q  Zjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.% c' z) ]3 D- X7 {: X: i; R3 p6 R2 M
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)( M& c$ v1 x* K; e* {8 j  J3 c
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)! ?8 s; K$ l* u) z
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
+ ?- j1 h% M, r. x8 J3 \6 {        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)7 p: Z' m$ k) f5 A' L' L) R1 N- j
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)$ W) l5 U5 R1 y6 X4 y! Z
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
( J# y6 E$ i) @0 {# u8 {% H        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
5 W% E" I! m$ {5 Q2 H8 B) c6 T" U* W        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)3 V, y- `- B5 @5 [3 I7 \) x
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
: w: L- w2 x: [9 g        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)7 M% e3 R9 N- ?$ o0 q  D2 l0 x
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169); u" x) z$ x8 ?  y4 N: t
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
. [8 }( O( I4 N) q7 r- B        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)% l$ w  W* D2 r0 q- p. E* M
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)6 h" K+ \# }2 ^3 I. Y
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)3 F* `$ o" q! K
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
# ]1 J- V2 J5 I  v. y        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
/ O- L" V/ p( q5 _- D        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)6 H' V3 L. C+ }9 C" e
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
+ P& {7 t4 a: d9 H        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)1 W" d; j4 @2 s1 C
        at java.awt.Component.processMouseEvent(Unknown Source)! k' a7 l2 ^- @  b, `" U
        at javax.swing.JComponent.processMouseEvent(Unknown Source), E/ |) G6 m* E1 P
        at java.awt.Component.processEvent(Unknown Source): ?; Z5 o2 H9 n3 |5 W' }
        at java.awt.Container.processEvent(Unknown Source)
$ ^& }: L' z* @$ v3 [9 G( ~- d, y        at java.awt.Component.dispatchEventImpl(Unknown Source)
, W1 `9 z/ O. f  l3 q        at java.awt.Container.dispatchEventImpl(Unknown Source)% j5 M8 j$ \; h1 o
        at java.awt.Component.dispatchEvent(Unknown Source)
+ U0 S9 T/ a6 }6 j3 C, E        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
. u# u1 R+ [) u% p! x2 M        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)& J4 m8 M. Q, g& K0 |
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)) j+ |( \& n& _+ ~4 W6 S# u% {
        at java.awt.Container.dispatchEventImpl(Unknown Source)
8 J, b$ i/ G4 g' Q6 \        at java.awt.Window.dispatchEventImpl(Unknown Source)
" ~, V: e9 X" \$ L; m        at java.awt.Component.dispatchEvent(Unknown Source)* R' j$ u& b+ w% S
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
/ V2 H0 f2 T& E; A( p        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
: D9 w- M# P" U7 ]& b        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
" h8 S2 U' l  j7 S/ X3 ^        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
$ C' D% ~& f& n2 g9 o  a        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)1 e" G8 ~' Q3 Y( |
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)" T/ y* ]. |2 t1 t7 ?
        at java.awt.EventDispatchThread.run(Unknown Source)8 k8 A1 ]8 ^! [) v8 n$ H
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-18 02:09 , Processed in 0.014076 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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