设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5872|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
) G6 l8 \% u* \
0 M; [4 y. v& }  k7 N' W3 p. y运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
- X$ f% ~. o4 Z
0 \/ ], E' \  v4 I* ?) N  A2012/06/13 09:59:23,312: Error while creating displays. z% T, ~3 e& s' G  O
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
. C$ M8 v& l' v3 i5 k8 J0 I9 J9 Z, M        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540): V$ G7 K4 C  D# S7 t
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)! e+ y' Q% n1 [
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88): f# i9 F8 }, Y! W' \, g
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
! x! {7 d: v% f+ ]/ t! ?: j; [        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)1 l5 u2 Z  U5 n- u2 U0 ?
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)8 R2 y( `# }* i4 h3 y: X  j2 c
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)/ c3 w+ ^- x& k1 j0 b: i
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ w! u7 `- }2 _1 @% K' k        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
, ^3 Y$ x) T& v% q# k* K+ H        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283): I6 i$ X! F9 T! a% l, A: M2 I# y3 Y
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)7 Y8 d  l9 @  L. U# c
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
8 N* H( S; d; N        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134). S" y0 @$ c  X( I5 w) r
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
+ c7 J+ s+ n! Z        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
! P; Q) H+ j9 J& i% R. S, Z0 Q! p- U        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)% W  d7 i+ M+ p% |! ^* ~
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
$ u1 K/ _$ {" x        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
/ _2 G$ p. p+ e$ y: a        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
: n  K/ R9 {. v: H        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
% G- G2 T( u, c3 E# p! v& }7 l        at java.awt.Component.processMouseEvent(Unknown Source). X* h- t0 _1 a5 Q$ i
        at javax.swing.JComponent.processMouseEvent(Unknown Source)) \3 A$ ?$ Q2 b$ V! `# Z) \
        at java.awt.Component.processEvent(Unknown Source)
' u/ {& c! C4 G, y- K7 P        at java.awt.Container.processEvent(Unknown Source)4 D% Y" o& z9 z! L, f/ ?+ C
        at java.awt.Component.dispatchEventImpl(Unknown Source)
4 [6 n8 n; ^$ e! `/ n        at java.awt.Container.dispatchEventImpl(Unknown Source)8 ]  z0 y9 ^. B( l
        at java.awt.Component.dispatchEvent(Unknown Source)! N, L, Y0 u6 ~
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
6 z$ T( d3 q' y5 g        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
  |/ j5 r1 B1 P* y( w- ^        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
& O! X) V/ ^7 ]( J        at java.awt.Container.dispatchEventImpl(Unknown Source)
% q& C8 a% K7 F3 A* C8 a        at java.awt.Window.dispatchEventImpl(Unknown Source)
4 k/ k' Q: A5 x: C& x+ ]* T        at java.awt.Component.dispatchEvent(Unknown Source)
) Z9 ^8 ^2 R$ V2 N) F0 L        at java.awt.EventQueue.dispatchEvent(Unknown Source)6 w3 @) ^  ~! D* N3 n
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
0 q4 x+ ?" i! w" r& N3 {* L3 C        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
& g- Z9 L  x4 V, V! Z        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)) U$ x/ h" O, B9 S" X' U
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
$ H0 e8 Q% x# l        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  H" `2 M" o( q) b
        at java.awt.EventDispatchThread.run(Unknown Source)
0 |- S0 R6 e! Y( f0 |$ k2 y
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-7-2 07:31 , Processed in 0.012139 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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