设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5026|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
7 U+ ?! C1 Y4 ~7 _- p, t
; L) ^: h  h  R3 K( w1 d* W# [运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:' m$ v/ d; D4 j+ R8 B2 ]# B

; c# K* T: u& j# O. W2012/06/13 09:59:23,312: Error while creating displays
1 R5 J: P) ?9 Z1 d- S% \; Sjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
  z: w. d* U6 }3 P8 D+ Q# h        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)" \: t, Q1 _' `$ e& X8 U
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
! A. j% X0 l' {2 L+ }2 A6 V# c        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
# T: {2 U+ O) S# h& [6 ^% L  n        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
5 R2 z3 w& q: U0 e) `        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
8 \/ s! z& c/ C& H: c        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)4 o/ n$ w% V7 {/ E4 x6 {# V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
% `% ?/ r8 r5 R& j        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)  q* n" a. u8 S& ^& P4 R, W
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
6 H, P9 x9 i, \& }' u        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
  [  r/ `% _. \" i# v' w        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)% e9 O  X' `8 @: c  Z  L
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)) l' e. V# L4 A2 C: W8 x& l
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134); N& i6 q0 M3 d' [
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
/ T7 z. K2 N2 G3 y  d6 H        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
/ s% v; I& ]5 `. m        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)! Q2 b: s6 C# c4 `& B, U5 q
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
# H6 N3 g) n' }- F" k0 ]        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)3 x' w/ K% U: K6 ^  t: D
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)7 C( T* }6 g* L. c' x1 o
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
. A0 H1 G# ], a% [6 Z' ]        at java.awt.Component.processMouseEvent(Unknown Source)
7 y4 T7 P7 c0 T6 i        at javax.swing.JComponent.processMouseEvent(Unknown Source)
5 T- u7 u; [) [( u( L6 n$ |- ^8 X        at java.awt.Component.processEvent(Unknown Source)! r0 P" q. f( `) M- A: u
        at java.awt.Container.processEvent(Unknown Source)
5 i: f5 l, h$ z6 ]2 R        at java.awt.Component.dispatchEventImpl(Unknown Source)
+ Z5 ?( ?- z3 g, n* \" B        at java.awt.Container.dispatchEventImpl(Unknown Source)' v$ a& f& A1 l8 t- X3 ]
        at java.awt.Component.dispatchEvent(Unknown Source)
! L" U8 T8 t* R4 c" z, A. I" ]5 y        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
& z  v$ @: Y& d' @/ l        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
# Y; S+ x' f0 [0 L2 ?        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)* ]- u, v+ I9 n; }2 Y
        at java.awt.Container.dispatchEventImpl(Unknown Source)9 N) x0 N5 r9 H
        at java.awt.Window.dispatchEventImpl(Unknown Source)
* {4 [8 u, E' X- z4 g$ }' p9 B( H        at java.awt.Component.dispatchEvent(Unknown Source)
* b% Q+ w6 p$ {9 t; w+ M        at java.awt.EventQueue.dispatchEvent(Unknown Source)% r7 h6 c- v. s6 I0 v) ?
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
+ ?7 {1 _7 V3 j. j+ i2 [1 K7 W        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source). H. q1 `7 x- j+ K5 v
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
0 G- J, T7 t8 r- ~5 o1 a) v7 k7 y        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
' h- b! A( Z3 p        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)/ c9 K, b; G% w6 p' t
        at java.awt.EventDispatchThread.run(Unknown Source)0 C6 n8 S/ t6 d6 h6 ]8 w4 r, ~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-22 13:10 , Processed in 0.016572 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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