|
|
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点# } [- ?! a" p8 [' l
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
$ ^7 @) a! E5 i4 n0 a& R8 ^' Hrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
' O9 U' o8 ?" k: @3 { at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
- _2 j$ K6 p$ f8 z+ H3 a at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44), G, ]% D- P1 }6 ^
at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)' r# e$ ?/ H: J& b0 S) Z7 M! y$ {
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)0 U" P. D' i- \1 o$ }1 q
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)' ]% e0 c$ E1 y/ Y m0 S8 J
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
1 V' }3 z4 K& `) q. v at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
9 A" P6 z$ J; @9 | at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)$ D* Z) R2 B0 z* ~+ u. e
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
$ u4 t9 A% p6 I3 s2 ? at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
% p& Z2 X0 U# w9 E, {/ L at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
. ]$ ]% j7 O" V3 j9 E; K% t at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
/ S) P4 S q; E. z at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
2 m( R& g2 G6 |- E l2 C) K at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)3 {( F" i' Z/ q# R, u1 r
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
/ \2 D6 ^/ a. m/ O, T at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
: d6 U3 G# z; H) o) b at javax.swing.DefaultButtonModel.setPressed(Unknown Source)9 N5 l5 @, H& x) n0 b
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)3 {+ S" z, K0 w' F
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
; ~( o7 A6 @+ B at java.awt.Component.processMouseEvent(Unknown Source): L; R; ^0 {, b* D1 `9 }: E) h
at javax.swing.JComponent.processMouseEvent(Unknown Source)9 `4 }* G- w" b9 a) y+ [& A0 J$ I8 A
at java.awt.Component.processEvent(Unknown Source)
) ]6 c; q! m8 U- o3 l at java.awt.Container.processEvent(Unknown Source)
( p/ f/ |, J( I* | at java.awt.Component.dispatchEventImpl(Unknown Source): \' z6 X7 E% `, A; g5 O# P
at java.awt.Container.dispatchEventImpl(Unknown Source)( |. U' U3 m2 W6 f
at java.awt.Component.dispatchEvent(Unknown Source)
8 o, H) ]# h' m% x. G5 u at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)# j* H' \, J, `! Q3 R4 Z
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
( W, M7 d: @' |; q& q4 \1 b at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
2 O. ^4 a( Z- c. e T at java.awt.Container.dispatchEventImpl(Unknown Source)
7 i0 Y. a, b0 c0 F v at java.awt.Window.dispatchEventImpl(Unknown Source)
5 P6 i; q. M% x, B* z( p. G at java.awt.Component.dispatchEvent(Unknown Source)
" Y5 D% n) ~7 h. b4 g- c# V at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
1 l `! G5 z$ F5 {- [6 T0 w at java.awt.EventQueue.access$000(Unknown Source)
7 y% ?" a# a3 d9 W4 p at java.awt.EventQueue$1.run(Unknown Source)
" @! `/ ^ B/ U2 w at java.awt.EventQueue$1.run(Unknown Source)
% f9 V1 y: v1 u2 p: N at java.security.AccessController.doPrivileged(Native Method)
: d& x: P& a& x# p- C; f3 S4 K at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)$ ?% m8 U5 [! V8 `) w
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)- d0 ]: U* B, u7 L
at java.awt.EventQueue$2.run(Unknown Source) r) l! P: n/ J e4 d' m* M' o
at java.awt.EventQueue$2.run(Unknown Source)
) q" n% \5 y: _5 C# a$ }5 B8 p+ V1 M, ^ at java.security.AccessController.doPrivileged(Native Method)
& S- L+ r* r6 T at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)( o- H+ [# L5 C, p" G; d* Y- k
at java.awt.EventQueue.dispatchEvent(Unknown Source) z" N: H9 G9 l, S6 \7 u) E3 T2 [
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
}* x5 q5 ]. m8 `, v at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)# P. R2 {- X7 _
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
: t" d' }: B4 o! R at java.awt.EventDispatchThread.pumpEvents(Unknown Source)1 F, z2 ^0 e6 P3 T
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
t# A0 x1 R: C: V% k at java.awt.EventDispatchThread.run(Unknown Source)
2 Q$ ]' |, b. D0 PCaused by: java.lang.NullPointerException
9 D. |6 f( V$ r5 w! S1 v, l+ b at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)0 s3 T; ]1 {/ m, K ]
at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)1 s: _' [2 L G: t1 [
at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)/ N# ^, R F8 K. w K/ `) v0 x
... 49 more
2 y5 |% o" ^& ?, X8 ]3 ?5 A& A( k |
|