设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5809|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
, r7 u) U# r5 o- d2 q8 c+ M. d, x4 z( B, o; t1 z2 Y0 Y
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
! o* p, S6 j$ e! q; s3 Q" l" l. D: {* d5 M- c7 F5 f7 c' K
2012/06/13 09:59:23,312: Error while creating displays% e7 ?) _( x- ^0 F) Z4 b' D
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
" [# Z% ]# D" h# Y6 i" q! t/ h* q: {4 W$ j        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)& ~" A- A. J3 d  m- y) S
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187). R9 u3 A' k4 \6 S2 F
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)" n4 s6 b2 n  L) m) a
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
' o# u) X7 t4 t; I; v        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)* m# `) }. m* u4 [4 P: U+ ]5 ?
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
- E/ g1 ]9 o& x% {0 y' Y# n: |- y        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
8 C! |  C7 w0 H        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
' J2 \* n5 f/ Q  Y) E        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)4 K9 r4 a3 X8 Y" l$ }
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
, h4 m! F2 |$ W* w8 J" K# E        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
& {8 U# T1 w6 A8 x8 Z        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)  }+ n9 ~; @( m. x" K' r
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)5 Z# t/ |0 }5 P4 }! V
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
) {+ d* t# L* I8 e% t( A- {9 F+ r        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)* f5 a* {. m; l' A3 @4 o: q2 U
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
9 Y. S) {# h1 S5 M( t0 N        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)2 x5 {1 z3 Z4 S+ \
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
, e$ D* j2 F6 o- |        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
' r7 n) D, q# @" r2 f) K) e        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source); Q- P% R- |+ N$ |. \
        at java.awt.Component.processMouseEvent(Unknown Source)
3 h  @+ }. I) d$ p  V        at javax.swing.JComponent.processMouseEvent(Unknown Source)' m; Y+ D) L$ ^: S
        at java.awt.Component.processEvent(Unknown Source)" A! o6 a/ ^/ {6 e0 f: g* Y5 x
        at java.awt.Container.processEvent(Unknown Source)7 I/ V$ l# c, D; N7 J0 T- N" s. H
        at java.awt.Component.dispatchEventImpl(Unknown Source)1 t" i+ s, i& c6 d0 x
        at java.awt.Container.dispatchEventImpl(Unknown Source)
% f8 i# |6 P8 ^+ F: f, x8 E' D        at java.awt.Component.dispatchEvent(Unknown Source)+ r2 k1 F2 G* K! m8 Y8 r/ C
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)* M; k5 S8 v+ i, L  R, U
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
' O" U! t- t3 j) d        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)7 ?% h$ E, ]+ K) y
        at java.awt.Container.dispatchEventImpl(Unknown Source)
! u3 Z$ z/ G1 E# S2 M6 s4 y        at java.awt.Window.dispatchEventImpl(Unknown Source)1 {6 c$ l5 T% g7 B6 @3 n# `4 k: y7 @
        at java.awt.Component.dispatchEvent(Unknown Source)0 w1 I8 H' E5 W
        at java.awt.EventQueue.dispatchEvent(Unknown Source)/ ]5 b8 x& C0 Z5 }
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
& ]6 I$ W' G7 k4 x) W* [# s        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)5 \, m: A/ g7 b& [  h
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
5 a+ o# F! b9 E& J        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
: |0 K3 O% n1 z1 E        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)) L& u2 Y) g; D9 y7 S
        at java.awt.EventDispatchThread.run(Unknown Source)% Y! {5 T) e% A$ z5 _* I
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 08:45 , Processed in 0.013757 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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