设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4259|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ; W1 K: A" y  F
3 `7 ^1 O# E  p
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
+ a+ i/ I# f1 S$ w, h, P* P0 _# T! X, G6 U, ]
2012/06/13 09:59:23,312: Error while creating displays; h, Y5 i1 J: F- M/ y) S
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.) F# q: m, C6 A: I6 U
        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)6 C) G+ t; T7 z5 R) L: f
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
8 ?( X9 c6 {8 I' e# {( i        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
/ k9 e3 V( E: \4 R$ _( ~. M/ v        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)' u, b; ~" W% K& j: g0 @7 P  b
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171); F/ @# w7 u% E) O) V4 E5 Y
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)1 J! _" v3 W+ {' s# w5 C" o0 u
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
$ ]( P2 F7 ~% s, i2 y) A* [( ]        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290); b  z: l: `* }6 H5 J
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290). |' e! x- u" d; z* v& [
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283); P" b8 R- C, Z9 l+ c- K
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
3 F8 A; w' Z" E- f8 W$ Y        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)6 Q) i/ Y/ P/ ^9 A
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)* W2 V% M( G; w8 U7 S) Z
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)* c& D! V) Z# p2 M2 P1 m
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
4 t/ U. i' D1 k        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
) U; R6 d+ {- m        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
$ S9 t  y/ x  n; s" Q2 S        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)$ w3 a+ Q! u0 x) Y8 F! e
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source). }0 H3 Q; a0 y& }6 d7 R
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)1 h' ?  v. p7 i* \' z9 g! Q
        at java.awt.Component.processMouseEvent(Unknown Source)" J+ w6 }, _' s9 p; r# I  l1 x# G
        at javax.swing.JComponent.processMouseEvent(Unknown Source)7 h6 w/ {+ b  H6 J2 f) i. g
        at java.awt.Component.processEvent(Unknown Source). \8 h0 m/ \1 k
        at java.awt.Container.processEvent(Unknown Source)) Z$ v& _1 s$ o+ ~! l
        at java.awt.Component.dispatchEventImpl(Unknown Source)/ S& e6 r) L8 ]3 K8 V( }* d
        at java.awt.Container.dispatchEventImpl(Unknown Source)
; s3 b0 g' Z/ `- Q7 [        at java.awt.Component.dispatchEvent(Unknown Source)
/ z2 S# E8 k/ f( d+ N7 D        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)* T1 q" |& w$ l( k# w
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)2 l& i( Z( p: p* @7 @1 i" b
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
5 y( S) Y1 V( {( S6 P        at java.awt.Container.dispatchEventImpl(Unknown Source)7 K! p8 \! a+ _) U. Q2 @2 T. C
        at java.awt.Window.dispatchEventImpl(Unknown Source)
! O: e1 F$ k* v  W4 E        at java.awt.Component.dispatchEvent(Unknown Source)
: E( p; v% h  z) z9 s        at java.awt.EventQueue.dispatchEvent(Unknown Source)- [( M8 z- H* @& H. Z1 Z* t
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
4 g8 d3 @. ]! I+ C$ }" h2 O        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
( n' a3 z. q: x; R& d        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
3 o9 o8 O  V2 E( E9 N: d) n  U        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
5 m' i0 }5 g9 g6 m9 _3 h        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
6 i$ E& c/ F# a% \) v, M" L2 I        at java.awt.EventDispatchThread.run(Unknown Source)- b% a4 n& z3 _
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-4-5 00:09 , Processed in 0.015754 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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