|
|
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
) e u; \% u! W. z9 U2 m! lERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
* m" M1 B* D9 G8 y( wrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
7 W3 I+ q: Z* J' c2 b at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
% N# }4 G. X8 N/ Q3 D' r at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
! A3 n# S$ I& e. t% ^9 k at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
/ b9 M# _6 h, z7 s k1 e1 E' i at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
$ Y: y1 l0 G/ _, q at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
& p7 I. F/ W8 d) j& d at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
$ D0 N% p0 o! F: f: p# C at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)! z/ ~3 \9 G: h! g
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)/ P! z9 f9 X! p# x. }
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
7 e1 l) w% x3 Q: R at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)$ y/ G4 x+ B: |3 g
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
5 D& D# L4 c3 Q" S& r- ~5 k at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)5 @7 M; R0 N4 p
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
) R- v4 I3 O) n1 Y" x% U" u/ c at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)3 S, Q4 x: T% O& U0 {- J4 {
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
; i! w/ T) i; _- @5 b' v at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
0 z( V/ g9 x, z" X! \3 M at javax.swing.DefaultButtonModel.setPressed(Unknown Source)7 _- J7 Q1 w; t3 H) W+ r! j
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
- l% ~& `# I! l at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)1 ]$ A& g& [! f @" s* K
at java.awt.Component.processMouseEvent(Unknown Source)& Y+ ~( J5 _2 @) m. Z4 S/ c# C+ a
at javax.swing.JComponent.processMouseEvent(Unknown Source)
: I4 p/ l8 ]) M5 p& V1 O5 E at java.awt.Component.processEvent(Unknown Source)
8 c' U+ z# h: w4 X: K3 }% v0 Y at java.awt.Container.processEvent(Unknown Source)2 \; N7 {' X$ P1 `
at java.awt.Component.dispatchEventImpl(Unknown Source)6 Z# d$ x/ `. y8 _4 m
at java.awt.Container.dispatchEventImpl(Unknown Source)2 G& q+ w4 X/ W/ l. [- g( G
at java.awt.Component.dispatchEvent(Unknown Source)' S X' f. A% d' D
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
! L8 Y; b8 W, Q* E0 t# w1 N at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) l' U& T: S9 M9 ] F" j
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)4 I. P- K. V- l- F
at java.awt.Container.dispatchEventImpl(Unknown Source)
0 h3 n5 |. ?# A5 Q$ D at java.awt.Window.dispatchEventImpl(Unknown Source)+ ?1 y7 }4 p5 K" t1 e6 S* k
at java.awt.Component.dispatchEvent(Unknown Source)
8 R7 E% ^4 z7 o( h at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
% E4 l, i1 e( z& I! S7 T/ ~7 o8 H at java.awt.EventQueue.access$000(Unknown Source)
8 m" g4 }" \ G+ Q at java.awt.EventQueue$1.run(Unknown Source)) H4 ^/ F" v; P J$ V5 x
at java.awt.EventQueue$1.run(Unknown Source)- H. |( `9 V# p2 ~
at java.security.AccessController.doPrivileged(Native Method)
+ Z$ _ }+ f+ d& P1 }: ~9 L9 ~, u at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
+ T' U2 P0 ?: ^1 |' @) f! @ at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)6 u. P- k! s9 ?5 M1 ^2 }5 d3 v" i
at java.awt.EventQueue$2.run(Unknown Source)
4 z @. G/ G7 `! u7 j+ \! n6 D at java.awt.EventQueue$2.run(Unknown Source)7 z" _9 U% u7 d* i* ]& B; W1 R
at java.security.AccessController.doPrivileged(Native Method)' c$ `% j" g1 i" V
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
( U+ U9 [ o( w6 Q9 x0 j: p0 B at java.awt.EventQueue.dispatchEvent(Unknown Source). e( ~4 c4 i' G
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
/ R4 q1 J0 x! f; A: h5 `- w- \. Q at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)/ B, |; L0 K7 l; i# z5 d
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
& t$ n" b. J8 o( U+ W at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 N1 o2 ]- l6 {$ Z# X5 ~& c4 f2 d
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)& _" V$ _, q5 _! t. ] o
at java.awt.EventDispatchThread.run(Unknown Source)
1 N2 T$ V6 M/ S+ X3 CCaused by: java.lang.NullPointerException
) H" r- E. K4 o+ @6 `" }+ t; Y at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
; y& Z% a; ]) q% h6 T at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
" I9 l) u( p/ {- }( H$ x( s3 A! y at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)1 D# q j/ _& a/ P9 N
... 49 more" f! u0 j$ h& U: m
|
|