设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5415|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ! n7 G/ a$ w& f4 z5 _
4 d: a; R2 T' I
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:9 Y# A  y7 \# g5 F; c) a1 j
. g; M' A; [# a# ]
2012/06/13 09:59:23,312: Error while creating displays7 K: j( S9 v3 S5 [4 G2 t+ p  y/ z4 s+ Z/ |
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
7 W8 F: n& J$ p8 W; N# w        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)3 Y+ m! ^3 z7 n5 @( l
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)( }" E" }/ t! G9 K  p
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
" F; ~5 ?- f3 @3 [        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
1 P; V  c6 j5 I/ v- \        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171): c) s1 S* z- @1 ~' |1 j( `
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
9 V; n& a: P# J8 W' {; C        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
- {7 h. r+ b, K3 g8 G4 T        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
5 W/ Z/ z% {3 w$ K% M! ^        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
" ]% l5 \+ ?8 {4 `9 t# X; m        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
+ a# e9 @0 _$ }6 |        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
" \. [6 d8 T* x        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
0 M' X1 ]) d/ S        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)7 r5 x9 |1 b, M' S8 H+ F
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)# N. g/ |" C- x# h! J
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)% T" c6 X4 M0 U+ f/ v
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
9 i4 e- X" g: X        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
0 K  E5 t9 q/ h5 q, N- ~        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)7 P5 E) r  P9 c
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)3 B" e% X5 h" M9 L
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)/ z9 v6 O( \& B' S, ~2 A' \
        at java.awt.Component.processMouseEvent(Unknown Source)1 P$ p8 u, [5 J% ]* u
        at javax.swing.JComponent.processMouseEvent(Unknown Source); v, G3 V! s# X2 G% Q) J4 M
        at java.awt.Component.processEvent(Unknown Source)
* |! _" }5 P8 e, t) s        at java.awt.Container.processEvent(Unknown Source)4 i9 Z. t2 }: x7 u6 C3 M' k1 }
        at java.awt.Component.dispatchEventImpl(Unknown Source)
" J( T; ^3 g# ?2 B        at java.awt.Container.dispatchEventImpl(Unknown Source)0 N; Z1 d9 k9 C9 S- ]
        at java.awt.Component.dispatchEvent(Unknown Source)
6 G# _# I, y0 |9 N2 y; v        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
, E9 G9 I3 Z; F        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
3 A- _# O2 G6 s. j: s% C6 }        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)8 D4 m$ p4 ]/ ]
        at java.awt.Container.dispatchEventImpl(Unknown Source)' X$ a) v" P! X3 z7 g, _6 O
        at java.awt.Window.dispatchEventImpl(Unknown Source)- I0 u! M& V+ B+ V( t7 o
        at java.awt.Component.dispatchEvent(Unknown Source)
8 s/ p. ?3 L. c, }        at java.awt.EventQueue.dispatchEvent(Unknown Source)* L& i4 |" P# b5 T0 ~; {% p
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)8 _+ V7 ]1 L8 t& S$ L
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
8 ?6 _" s: M4 O+ I6 p6 B# I/ A* o, X+ Z        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)9 J; v7 X4 k' v; q
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
) ^% E- l/ ]# E; o! G4 Y' P$ l        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)" h+ \' h* q0 }" I1 s2 u- {
        at java.awt.EventDispatchThread.run(Unknown Source)
& K. {! x( A7 Q5 C& C' D/ e, W
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-2-5 09:35 , Processed in 0.016666 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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