|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
, U+ H5 O( F" A8 [$ b/ v* O2 N
& i9 |$ k: P }运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
& n8 P, { ]2 I3 Z' C# x# c9 Y! B: x& M' A% L2 x2 j1 N2 [
2012/06/13 09:59:23,312: Error while creating displays
4 e G3 b% M7 }9 B/ G/ Pjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.- m" h" v" v% L9 a5 f) I6 C
at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
2 h9 O5 P0 H4 B5 \8 f at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187); M/ _. u3 V+ F8 ~+ N: {
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
" Q) b0 ]+ C4 F4 S at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)! v+ t/ V4 {" \% v& A4 c( j
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)- g0 u0 i3 a# o5 y# m
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)# _9 X( ] { F+ O: N0 _
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
: k# [. |$ s- t at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290), _ X; J2 \* h7 W
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
/ h _8 _7 a5 w9 a at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
8 v6 |' @/ A2 A( ?6 Z at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
; q- d$ b: x) l at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
& i `5 c4 g0 `- L( _+ R& D; x at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)3 Z6 R A n6 n
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)! w T, J: ^$ E; @* u1 L8 S+ Z8 m
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)" r5 B: L9 F& {' J \2 R# E
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)1 c D9 {! g- v
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)2 G2 N3 t7 p% V; K( b+ ?
at javax.swing.DefaultButtonModel.setPressed(Unknown Source): {2 y9 U; M1 p k( H8 j- H9 M
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
0 `5 n* v/ [/ |+ Q" ~ at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)3 G! A q+ X- f9 x1 q3 C5 V6 M4 i0 [
at java.awt.Component.processMouseEvent(Unknown Source). M( r9 e5 d+ j
at javax.swing.JComponent.processMouseEvent(Unknown Source)
5 z) k, K' @) k- L at java.awt.Component.processEvent(Unknown Source)
" N" s+ C7 r3 `5 B3 o at java.awt.Container.processEvent(Unknown Source)6 P7 `4 |) L1 y2 i$ i
at java.awt.Component.dispatchEventImpl(Unknown Source)5 N; `9 y7 E8 l: j' U6 b
at java.awt.Container.dispatchEventImpl(Unknown Source)
1 E: F3 ]4 b5 V3 z at java.awt.Component.dispatchEvent(Unknown Source)' i! n/ ^6 z1 [% C- `% }& q
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
4 Z% p& W8 l F7 v: M at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)- n1 o& f' m+ g# u* o
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 U8 Z2 t d8 d5 m$ K7 _4 N
at java.awt.Container.dispatchEventImpl(Unknown Source)+ `6 i% r4 p, c! _3 E2 K
at java.awt.Window.dispatchEventImpl(Unknown Source)- |- j% |( N3 z& A7 p
at java.awt.Component.dispatchEvent(Unknown Source)
0 S( o3 n- H- q$ J5 C7 @) u$ _ at java.awt.EventQueue.dispatchEvent(Unknown Source)- n" u5 W0 T) K5 c
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)1 p4 V5 \8 H: [9 s6 d) P$ t3 X9 q
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)# C7 ~$ G* o, |2 N4 O& `) r( [
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2 b9 e& I Z+ W( r( g3 v j3 L v at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" W( h2 J2 L9 ? a3 P9 m/ a! f# a: g at java.awt.EventDispatchThread.pumpEvents(Unknown Source), v& z2 F' n6 \; D8 ?
at java.awt.EventDispatchThread.run(Unknown Source)
' t e6 o) [. x |
|