设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4836|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
' \) N' {" O% g$ d# {, Z# G* N/ [
0 h. {$ o" c7 T2 M% b; {运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
/ d7 J6 f3 }+ n$ e
" {) r) w1 o; `/ q$ B( O! I2012/06/13 09:59:23,312: Error while creating displays
$ ?) Z+ m5 T: v9 |0 c7 ajava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
0 K  y6 w9 X# ~: {8 x/ ^        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
2 F7 S/ m4 E# o5 I. M' @        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)4 M+ D- l5 {- M/ r
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
, y6 w  T/ u' c5 S. i        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)9 F1 B1 F3 ]5 V& a4 D. f8 `4 {
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)& ~2 x3 j+ N/ \6 T9 }% c8 D+ R
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
. B2 l2 l& i' ^# G  V/ a        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
  f" L2 ]5 F* G" q/ R        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ ?  m  H  p( x; N- K6 t. ^        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
! c8 Q+ V: D3 o: s2 C/ g        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)$ l* z" q' |% ^7 }7 J
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)7 k. b5 s. \" O6 u
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
+ ]5 w; I- E( L0 X5 X3 D        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
% [6 v: A7 Z! @. B7 j/ {        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)  u' D9 N  \% `$ E2 J2 a
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
* `- ?3 O  N* b        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)$ ]) C: g- q1 t
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)$ ^* j8 t# F+ m  V5 _4 E& i
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
" Y: `- x+ Z7 V0 @: A# s; a- t        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)( s  m. {. ~0 s6 p* J. S& N
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
# N+ \; ?0 y# ?; _# y2 s' L        at java.awt.Component.processMouseEvent(Unknown Source)
+ f( Q" {+ i3 X& d# E; G8 V4 N8 {        at javax.swing.JComponent.processMouseEvent(Unknown Source)
$ I2 j7 U: c2 @        at java.awt.Component.processEvent(Unknown Source)0 M8 ^# M* J' ], A0 g& b
        at java.awt.Container.processEvent(Unknown Source)$ q0 a- `0 h; l9 e: d1 E
        at java.awt.Component.dispatchEventImpl(Unknown Source)+ t: ]  p8 e& G$ o6 ^6 d0 h
        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 B6 m' k4 C4 g5 i        at java.awt.Component.dispatchEvent(Unknown Source)6 T: K2 F3 k# M3 e. P
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source): F3 t: t7 R2 c
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
3 r; r8 O! |3 ]. k. D: W# _        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
2 V1 M- q) ?4 C# C9 z8 G: ?        at java.awt.Container.dispatchEventImpl(Unknown Source)! y$ S, i3 i: p; N  F' e& h  S2 n
        at java.awt.Window.dispatchEventImpl(Unknown Source)% B8 {: K  n( K5 |
        at java.awt.Component.dispatchEvent(Unknown Source)+ E+ ~- d+ x/ C8 h
        at java.awt.EventQueue.dispatchEvent(Unknown Source)# s, y3 x# G8 V# L4 H
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)& L- @7 H" o/ f( g! k& ?: @8 x+ u
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
$ O* U/ t) J# E- N2 s) d        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)+ H, h& _, D" a" S5 c) r* |
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 ?( d; X+ p9 p9 L9 X: d0 J) `
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
: i! F- n" @9 l! D5 E5 u        at java.awt.EventDispatchThread.run(Unknown Source)
# j6 t* L+ J7 z" i3 Y9 t/ @
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-9-14 00:25 , Processed in 0.012820 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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