|
|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
- G9 c" l( \7 I( J/ w. B; \4 b" C* L) [ o4 V5 S
运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:, D3 v% h/ F2 p$ R/ U0 ~/ N
4 j' z* p! j, U, o j0 d6 d2 [
2012/06/13 09:59:23,312: Error while creating displays0 \7 i7 Z9 p7 h# l9 F7 t
java.lang.RuntimeException: Projection 'ContinuousSpace' not found.
4 U" H9 C2 |& n6 }6 @; t' M at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)( k2 `, {+ E- ]2 U. Y9 L
at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)! ]( c X. ~) j, n1 V9 J2 y- X
at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)$ E/ ?6 S: T: c
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
! W3 M' H1 V/ l8 o/ h' \ at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)+ G2 J; H+ Q$ k6 p8 `
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)* U* v) Z C& S1 {& W$ Y6 f2 M% m
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
% r3 M, k6 c3 f5 I$ A9 v1 k- F at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
% |3 e7 X' s2 J at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
' Z: d1 {) l; p7 J, B at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)4 Q! I! c8 Z0 q1 d7 M0 o
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)7 V# C o/ r, f! |, T
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
3 ]- |# g' H h; T' G9 G at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)6 w [4 P: [4 _# V" i& y0 \
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)4 n4 H7 O& @/ y- U( ]
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)# R4 |/ o h5 K/ S; C! A/ s5 M3 {
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)) y, _1 N( k# {
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
) Q. M* y( L" ^6 ^ at javax.swing.DefaultButtonModel.setPressed(Unknown Source)6 w, |7 y2 O( l8 u% J- s
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
3 W& z- J- q- U at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source): Q" C8 S# _2 c8 y
at java.awt.Component.processMouseEvent(Unknown Source)+ I8 u/ n* U. f0 T2 E: W
at javax.swing.JComponent.processMouseEvent(Unknown Source)
9 {) }* D; t x at java.awt.Component.processEvent(Unknown Source)& Q+ i: C; K5 j& V! M; s
at java.awt.Container.processEvent(Unknown Source)
/ w% h3 M- ?3 ~. J$ U at java.awt.Component.dispatchEventImpl(Unknown Source)
, Y3 F- N) w$ ]5 u at java.awt.Container.dispatchEventImpl(Unknown Source)
7 t0 J# b" [, H- v! |1 y. P at java.awt.Component.dispatchEvent(Unknown Source)2 c4 R2 |, r0 R- c7 g7 h5 m
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
+ E4 ?8 E+ t9 J* G6 b at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
2 ~4 \0 q, R1 P7 u7 ^1 b) l7 S at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)1 \8 N7 [! Q( o$ W: {- h. {3 J$ c
at java.awt.Container.dispatchEventImpl(Unknown Source)2 M S: o" x3 x8 X- H
at java.awt.Window.dispatchEventImpl(Unknown Source)% l2 C* Y7 p& X( |- R
at java.awt.Component.dispatchEvent(Unknown Source)
( X3 d( Q: u& j2 T# a at java.awt.EventQueue.dispatchEvent(Unknown Source), F% G# m" t& W. t: s2 m; f1 a
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
- \8 O- l; s9 |8 {6 u# u at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
+ r9 u6 z$ r3 y" t3 K/ }* q at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
+ W9 Q2 w; K5 s" s) j at java.awt.EventDispatchThread.pumpEvents(Unknown Source)# u+ w* k' Q, P. }
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2 r( Y/ T) _$ B8 h$ b0 Z at java.awt.EventDispatchThread.run(Unknown Source)/ g' d$ g; y' t& [5 l6 Q
|
|