|
本帖最后由 panllrose 于 2012-6-13 10:06 编辑
! y, `% A; N9 O
) }9 l& Y' Q8 F3 W' }: {7 x运行程序时,repast给出的错误信息看不明白,怎么查找问题所在呢?我的版本是RS1.2.0,参考predator prey示例写的,context只有一个continuous space,上面分布pedestrian.agent。错误信息如下:5 i0 I: a% a/ l$ H( C8 y8 s
" N& ~0 \* g) z/ m. i2012/06/13 09:59:23,312: Error while creating displays
8 n; q) D, h# M* U9 J# p# E( C+ Ujava.lang.RuntimeException: Projection 'ContinuousSpace' not found.* l; O0 I6 j* Z8 y
at repast.simphony.visualization.engine.DisplayProducer.createLayout(DisplayProducer.java:540)
F. N0 q+ B% @8 m/ W; u | at repast.simphony.visualization.engine.DisplayProducer.createDisplay2D(DisplayProducer.java:187)
) Y+ i8 K9 p( e x' H0 { at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:88)" V: x& b9 R8 K7 C# O
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
- ^$ F4 e6 n* @) J' w7 m" q at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
5 K7 J$ p1 b( j% y6 w0 ` at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
; x" a2 A. ^ ^6 g: D at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
0 U! p+ a4 Q0 S at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
# n6 W; V$ P1 x at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
) H( t7 X3 y7 T! s* ?0 Z }. Q at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)5 c3 F+ e- m- l1 [& t
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169) X! I0 }3 i+ F
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
' b5 J- k0 I$ W5 `/ G8 S# G/ Z7 P at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
* v; ^7 j" {8 _! }4 i7 s% C0 H at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)+ Q5 [2 j& ~( M# R
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
. `: F# r& ~* T at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
4 S9 J1 h8 h6 c0 o( q at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
( c& |6 S" h9 h at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
8 S" r8 o9 g; d7 \+ {% D* | at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
( v- ] _( U2 e& t1 m' m8 {4 V, A at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
4 Q! E( z7 y4 x at java.awt.Component.processMouseEvent(Unknown Source)
# a7 g" ]9 ^# _. h. h at javax.swing.JComponent.processMouseEvent(Unknown Source)
u9 o# P6 L% B0 i2 S6 u! F at java.awt.Component.processEvent(Unknown Source)
- J2 F# K( n' U% B2 A7 f# P- v3 Q( R9 M* h at java.awt.Container.processEvent(Unknown Source)
9 K* N4 ~, y$ a( g at java.awt.Component.dispatchEventImpl(Unknown Source); s) U( s5 t/ ^ v: \& I8 ~
at java.awt.Container.dispatchEventImpl(Unknown Source)- O0 o! ?5 B6 n7 m
at java.awt.Component.dispatchEvent(Unknown Source)
4 z; J* I& N3 o/ U* i at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source), _* B& E( B; I; `
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)& m) u3 h8 l3 j9 b! F) d
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
% Q$ k9 z. h( M0 y at java.awt.Container.dispatchEventImpl(Unknown Source)* t" }1 {! j8 `+ m4 Y% z
at java.awt.Window.dispatchEventImpl(Unknown Source), y9 J0 b+ N& K: b
at java.awt.Component.dispatchEvent(Unknown Source)
) Q& [% L. c. Y at java.awt.EventQueue.dispatchEvent(Unknown Source)
! x1 u" U3 z: z/ V. f, w at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)$ h: R$ h; K$ U5 w. `
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
- p3 o, q; g. u. z* h at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
3 M& N" L( q% L3 A0 r at java.awt.EventDispatchThread.pumpEvents(Unknown Source)$ B5 ?' p; H" i1 x
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
`3 Z$ p1 v6 o6 G at java.awt.EventDispatchThread.run(Unknown Source), I! r$ L6 }- F/ N# h5 M. S% F6 |" K% S
|
|