设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3510|回复: 0

[求助] error while creating displays

[复制链接]
发表于 2012-6-13 09:56:23 | 显示全部楼层 |阅读模式
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 + v2 Z+ K6 O7 ~8 W$ M; _
/ D. X+ C# i6 M+ S" L
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:! M0 }; B9 v. x4 W2 K5 p7 S
2 \# X6 X/ I6 R$ M5 e" T
2012/06/13 09:59:23,312: Error while creating displays9 c" W: e- U. H1 p/ q
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
; r2 i# }; H- V+ |        at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
' w! l. J% Y3 V  t: J  {& }, D        at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)! o; G4 _4 q* k; b- T( |
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88), T; z) Y% z; h( V/ R9 ?8 p+ y
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
7 P, P# z+ e- N. K        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)7 i: v1 z5 p+ W3 |6 V8 U7 m
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)7 ?& w' d* H1 L  q5 z, c! u6 V$ V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
+ M! m. n( W# u4 y5 I7 Y; l8 O0 ?' A5 I        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)& P8 r1 G) ~1 L5 Z8 v& ]- ?
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)' l. c) W" B2 ?5 t
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)* F# ~  F) g; k; R1 K- y
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
' e" x6 Z' n; T0 X( }9 z# _* A        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
/ z9 A$ j5 V0 ^7 c: ]# x5 |        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
2 o  q1 I3 o$ d        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
* S* [/ v* P, V        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source). G+ H; Z. c  F' |* z9 C
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)0 g' v) N- S  N( j0 E3 d+ m
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)7 {. B: @- {7 M1 K8 u  m
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)! F! v- ]$ Z+ `. a$ r- r
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
6 [! S$ R3 w+ c$ j- u8 ^. K        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)( |1 K0 b. }/ L; K9 m0 q! H# h
        at java.awt.Component.processMouseEvent(Unknown Source); t/ l# ^# }- \! Q
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
$ N  i* G6 l- u$ j; {+ N. B        at java.awt.Component.processEvent(Unknown Source)5 q4 {8 }6 r! v( B
        at java.awt.Container.processEvent(Unknown Source)" x" d! H# I9 @5 q6 C5 J  E
        at java.awt.Component.dispatchEventImpl(Unknown Source)& G- }! A; L. @
        at java.awt.Container.dispatchEventImpl(Unknown Source)
! m; J4 j; }$ B: z9 K) _        at java.awt.Component.dispatchEvent(Unknown Source)* c2 x4 S* u* m: `
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
) c; s+ q) z1 }* {( ?        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source). y+ v; i$ s/ N4 h3 z7 W0 z
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
6 d+ q6 K. E- Q, ~1 S        at java.awt.Container.dispatchEventImpl(Unknown Source); L. }8 f7 d+ K# W8 ?  r
        at java.awt.Window.dispatchEventImpl(Unknown Source)7 r! P. o. m" {9 j! ?5 W+ P5 e& \
        at java.awt.Component.dispatchEvent(Unknown Source)' c/ p4 C# K+ o5 ?
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
* m0 v& S: ]5 Z2 ^7 X, i        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)' S; n/ {6 r2 T4 u! w
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)* o! V' [/ @8 R7 j) q- b
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)5 I( a1 I5 r  f- b! ^, X: }9 F
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
' n' ?* N0 m4 ]! P        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 P# ?% Q8 V' M- }, T% h
        at java.awt.EventDispatchThread.run(Unknown Source)) F5 K. X8 b/ _7 @
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-20 08:07 , Processed in 0.012561 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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