|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
0 d2 O) m& e( c+ @% j) a
7 \* [# o8 O) A5 M/ A' @运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:
- k; J, ?( l( z" l$ z0 `3 k9 j6 I
2012/06/13 09:59:23,312: Error while creating displays6 @% s( z& A& C2 @2 f
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
4 `4 f) G- }, q at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)4 }5 y( ]. v0 M* o6 X& f: `
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
* O+ f1 e& h q, G. t$ l: n2 Q l at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)) b( D) U. Q$ T8 f0 H
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)! `. g8 ^& w" e' b5 N% h
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
6 G5 x- K3 c! N2 o at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)- I T! ?& f- t3 T0 X- T0 b$ B& [
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)7 X }, f [$ Y9 ~) L% f& O
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
' j0 o* [8 k3 h, p- b1 u at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)/ a7 Q" E( I' c; |. n* ^
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
( m5 w( f% E' {0 @% q% s9 N. k+ { at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)# o# f; Y7 D4 g
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)5 j. N* ^; M' {; I
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)6 `& u3 t2 w) D& R# |9 ~
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
3 y* h7 S$ ~7 t at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)& x; S1 v, G* q! v
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)9 f1 I1 Y& q9 ~9 r2 L- E( t
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
' V, `; _0 K( M8 B3 M+ [ at javax.swing.DefaultButtonModel.setPressed(Unknown Source): f& I3 M+ O! \5 c/ c1 l; f% u
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)3 s/ x) l1 [1 H/ ?2 V% q, T
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)# W& Y4 b6 o6 H* i m( U
at java.awt.Component.processMouseEvent(Unknown Source)
- B q9 _# d$ x3 t at javax.swing.JComponent.processMouseEvent(Unknown Source)
+ W( l7 c. u/ d$ G5 R5 k- f at java.awt.Component.processEvent(Unknown Source)
; M/ p2 \4 q, P( I at java.awt.Container.processEvent(Unknown Source)
; x0 L- Q, E2 d; \6 b8 r2 A- t7 m8 ] at java.awt.Component.dispatchEventImpl(Unknown Source)- a V0 |; f: v) E
at java.awt.Container.dispatchEventImpl(Unknown Source)" @: R9 j9 w7 g
at java.awt.Component.dispatchEvent(Unknown Source). @6 N6 y5 x l9 M% q J; R
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)3 ]; I, W- k, f$ F g! t
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
, e7 P- U+ H ^( d% @; }, e _0 z( X at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
8 k7 ?8 p/ _. W) o at java.awt.Container.dispatchEventImpl(Unknown Source)9 S) m s' F3 p9 \ k0 C1 o
at java.awt.Window.dispatchEventImpl(Unknown Source)8 x( y6 A$ q' E4 Y; c5 n4 Q
at java.awt.Component.dispatchEvent(Unknown Source)
# Q; [2 g7 m8 D4 `' k7 s- N1 y9 i& v at java.awt.EventQueue.dispatchEvent(Unknown Source)' t9 h; p6 z+ l7 F E
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)8 O# A$ ~, M( ]; i5 W
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
+ O& n- l. y4 ]9 w& n8 _+ A at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)9 Y" R6 j3 T' P7 h* Z
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)' ]" U$ }( f6 K( W% E
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)0 ?& s2 _6 q% Z5 L5 i# a9 k
at java.awt.EventDispatchThread.run(Unknown Source)% _, ^' x4 D* E3 |- [9 @' N- \0 {
|
|