|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑 ( N% X2 o/ @/ f, S
3 A( \6 S( X' W$ @
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:7 m# R2 L# G1 _/ _
1 N0 k, ]. ~, W5 g. g
2012/06/13 09:59:23,312: Error while creating displays
$ o( h% Y8 @) \. C- P# Djava.lang.RuntimeException: Projection 'ContinuousSpace' not found.
X8 ^ K" } a# ~' r* N* ]. @ at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)) B/ r8 W3 N( d( N+ u1 G7 A0 s( Z
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187). }& t0 f1 O* d) s1 c. |
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)+ u+ U* J' s" Z; u1 B# f# H
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)4 ?0 d6 f( e/ e
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
: a1 g& T W' W: G- ~; Y at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
& M1 `0 f0 Z5 Y0 I+ N7 {" t" Y0 \ at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)) l- s9 Y C, F0 E& e# u
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
! W$ z) ]# ?6 N- ^0 i at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
r2 I7 O# i% G at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
7 n/ D2 L5 a, l at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)0 z5 w) Z9 p& a2 w! N
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
7 f. h- Y" W* ^% [' P at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)" _2 R2 J8 g; h9 a: ~4 ?/ ^: s, l
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)/ v8 S' Q% y6 V$ t! d) B
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)9 t; U( x8 `3 ~' d; z, }2 d+ k0 ]! b
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)- J* w% v5 E3 _' i
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)+ x" z5 X- x" y4 Y8 n& m- w2 m
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
( J; W- e7 C2 D* @# r at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)' g; P: n3 L2 T" n# p
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
" M [" T5 h+ I. b at java.awt.Component.processMouseEvent(Unknown Source)0 d3 o) L0 E! S5 b2 |
at javax.swing.JComponent.processMouseEvent(Unknown Source); x7 A, A, T6 Q: u0 p+ a
at java.awt.Component.processEvent(Unknown Source)
, }4 P0 I" P' I, H7 j- k- B1 ^( b at java.awt.Container.processEvent(Unknown Source)4 j( t ]4 O3 M6 a1 m( [
at java.awt.Component.dispatchEventImpl(Unknown Source)* d, y+ ^5 d1 j
at java.awt.Container.dispatchEventImpl(Unknown Source)
6 j/ |5 G, r/ A8 P# w4 [ at java.awt.Component.dispatchEvent(Unknown Source)& y: i* z6 w2 L% a, L0 n$ K7 f; y4 j& n
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)" _+ W/ }( w8 M% }# |8 Q, ?
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)4 |( J; ?) t+ C0 f
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)* z: F$ q& C7 z8 K' ^
at java.awt.Container.dispatchEventImpl(Unknown Source)
+ b2 E: j7 Q5 j: e2 S7 F" p7 L at java.awt.Window.dispatchEventImpl(Unknown Source)" }( T' r* |; s- U I& G
at java.awt.Component.dispatchEvent(Unknown Source)) f2 u/ [% H7 f/ ]" S
at java.awt.EventQueue.dispatchEvent(Unknown Source)
% J0 n3 u( B! J0 {. [) j6 c at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
; Z& w7 L0 s* W4 W at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)/ i! E- y( L/ @9 [3 ]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)& _) k0 g1 L- c$ P- f; U, v! h
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2 U8 p/ Q0 T$ P at java.awt.EventDispatchThread.pumpEvents(Unknown Source); G/ D& o1 W% E$ V+ J& f+ d
at java.awt.EventDispatchThread.run(Unknown Source)
( `* C0 X; c$ E I4 U( d) D' m |
|