设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4482|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
* i# R/ [6 Z( d1 [& \" L7 ~- ?
) d1 [  c  u+ \2 [. \+ g9 w' j8 o运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
: `  X! Y1 e1 b% D) x9 v  o* B" a0 p/ y4 k) T+ y9 J
2012/06/13 09:59:23,312: Error while creating displays$ S: e# X* G0 E8 q) b
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
) f+ s' a8 p. r        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)7 E! n5 H+ e9 k( d# T
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
1 X, F9 m# o1 i3 w        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
7 T! M' t# A- q# A- @; m        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)0 j4 n) M# K' S2 h9 v! u" w
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
+ D* J: B5 N' r8 X        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)+ y1 \, ^' V1 [+ W3 e) W
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
( t3 Z* R9 j3 r) B4 L" [6 P' {        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)( c. V- {; Z2 |& I% u* e
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)& }- h, N/ l# Z/ {  v* z6 m
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)( r) m( Y* V4 h) s/ ]/ R: S1 m
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
" e; Y2 f1 I5 M- d1 e8 A        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
& i0 \1 Z5 }- M3 t        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
/ j8 P3 P; h, S6 I+ P        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)' ?, \# P1 z' z1 I& D
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
4 I' d8 `3 O  X7 ~( C, s" i        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)/ B& u2 l9 y9 {. x+ q
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)' W- D3 }3 x1 v) E
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)6 w% {* A; U3 R* K7 p/ P# Y
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)4 {% B( H: n$ t" s2 X
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)) }4 s& ^/ q  c8 W
        at java.awt.Component.processMouseEvent(Unknown Source)4 u, j9 f* a% q* _
        at javax.swing.JComponent.processMouseEvent(Unknown Source), J1 {. I% T% c2 y: e; P; a
        at java.awt.Component.processEvent(Unknown Source)
8 ]- n. m- t% I1 U, m4 x        at java.awt.Container.processEvent(Unknown Source)
4 o2 [4 e& S/ S* i# j; }; i        at java.awt.Component.dispatchEventImpl(Unknown Source)/ L, z  ]+ S$ L3 z4 {# f: l+ s
        at java.awt.Container.dispatchEventImpl(Unknown Source)% X* B6 k+ W" i! `' F0 s1 E
        at java.awt.Component.dispatchEvent(Unknown Source)
8 k% D, k6 _: `5 v; p1 c7 T! L        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  T- V3 P& K9 I$ R( d) N+ X; b        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
& J3 H8 m1 \, D; F        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
/ H  P, F6 f3 @$ f, x0 d0 C5 o1 D        at java.awt.Container.dispatchEventImpl(Unknown Source)
* @  ^- x3 T; l! X, |( ]/ C        at java.awt.Window.dispatchEventImpl(Unknown Source)8 U6 X! C& u. }% \1 ]+ o
        at java.awt.Component.dispatchEvent(Unknown Source)
- n& J& v( x' e* Y  A, R, [        at java.awt.EventQueue.dispatchEvent(Unknown Source)2 E' j3 u2 n$ V7 ]" m, G; p& ^* r
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
1 }! r4 I2 o' o/ X        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  N  E+ q& b2 [* \5 k& D        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
1 j3 f, b; C1 o  k& F        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)# }( U8 x# L# B2 a/ w* T9 S% d
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)  r1 J4 b8 w" c0 N; B7 ^
        at java.awt.EventDispatchThread.run(Unknown Source)
" K' u( c' Y  ^- D/ S+ m
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-27 11:09 , Processed in 0.014583 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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