|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
$ q0 [ q; X2 ~+ L1 T- |/ V) k1 e; v7 u0 Z6 Z. L! U; F
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
% i) f1 R- x9 H. F5 ~
3 [* p6 \& E& [6 i; r2012/06/13 09:59:23,312: Error while creating displays
. d% I0 O+ w* f8 Sjava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
g$ |/ ]; | L3 I at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540). ?: _, ^3 K6 b: v7 |- f
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)7 S0 }$ K; J7 m: k
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)
! f2 n- c( }' r& T at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
' @8 T# ?2 G4 h( F4 B at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)3 [9 V( t/ H3 t& R
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)% d' I- Y! w) ?. @7 d
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
& {$ `' i4 C9 i( e at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)9 P/ j) t, Q* ?, `% y3 i
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290) T9 D9 ^) e) [6 F! n
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
( E5 _' S1 A; O at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)1 ]% H5 |4 M; y# b; J$ M
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
0 y5 l7 X/ W4 k( G at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)0 L6 h( H C. }; n: I8 b
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)( ]9 p R& ]1 D, o
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)$ E4 Q5 S6 b7 F7 z: O3 B4 [2 ]6 ]
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source): A4 g+ v& x; D; D
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)/ S5 B+ }* \5 B3 `1 u7 R
at javax.swing.DefaultButtonModel.setPressed(Unknown Source), Z Z& N }4 t8 m
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)2 {: ^" K8 v& k3 B
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)9 t" P( C0 F& {# w9 z
at java.awt.Component.processMouseEvent(Unknown Source)) _* a4 i' x4 p0 J, W) S3 a/ T
at javax.swing.JComponent.processMouseEvent(Unknown Source)- _% {5 @, v, S" P2 M
at java.awt.Component.processEvent(Unknown Source)
& a& o5 T1 v& @& U/ Z- } at java.awt.Container.processEvent(Unknown Source)
G9 \8 M8 z1 ^& r3 i. c at java.awt.Component.dispatchEventImpl(Unknown Source)
3 v' }; B/ L7 i4 ]" x# L at java.awt.Container.dispatchEventImpl(Unknown Source)9 G! {$ Q. _8 o$ y/ [$ F: W, p
at java.awt.Component.dispatchEvent(Unknown Source)
4 ?. i" C( H1 I* y: u at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) V6 ^4 h- Q8 j; o9 {
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
; c5 U5 h. S0 G+ G+ Z% v8 ]1 h at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 m# X- O8 r0 z) s/ z- [) |8 [
at java.awt.Container.dispatchEventImpl(Unknown Source)3 A3 n) d1 b4 p0 e5 Q5 \
at java.awt.Window.dispatchEventImpl(Unknown Source)# l, G" A) m/ ?9 l+ E" y
at java.awt.Component.dispatchEvent(Unknown Source)
/ S; g N. {3 q6 T' I8 y; ^ at java.awt.EventQueue.dispatchEvent(Unknown Source)- Y- j9 i! B4 {7 o
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
: a- ^, [, N- W4 w! P at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)+ F& _8 s& X# A; @# X) ?
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
5 f( C* V0 Q7 E( Y# p: C8 J at java.awt.EventDispatchThread.pumpEvents(Unknown Source)8 \' M3 ?: d- {% n( L
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) @/ n/ i% x+ E5 f
at java.awt.EventDispatchThread.run(Unknown Source)
* |" k8 ?0 j5 r; w; p# ^6 x1 @ |
|