设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4762|回复: 0

[求助] Repast Simphony 2.0 中 Error while creating display

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
) H/ @- F, v7 c$ s4 z$ v5 r9 dERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
* R0 M7 y" A/ \6 brepast.simphony.visualization.engine.DisplayCreationException: Error while creating display./ i3 O3 f1 P4 q- G1 }1 S) ]  B
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
) A6 S5 E! z5 @* {8 @* R        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)( N  u2 i' C; k* p1 O# q& A1 O7 X
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90), E7 H4 d1 i' ~* G) h2 K/ F* y
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)- h4 r, a! G4 C6 B, a8 m5 x
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
) O3 i) O3 \- j' V/ f        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287). M3 M* y  J, K' V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
, C* ?6 e4 C. h" W- [# y        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)8 _7 I) q' A) v1 y; R
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)3 B. j( |. V: G% [) ~
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
: s* Q: n# ]* @7 T! }3 W) G        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)9 Q' S, Q3 _: O; y" j- j
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
% I9 g5 _% g" \7 H" i' x. \        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
- X' ^$ _5 Y" t' W        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
. Y1 `% Y1 K% w6 h        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
) ^* ]% j) O3 |8 {/ e6 z        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)# G) E3 t. E1 g( Y. M7 m
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
/ E4 Y, @. G* w9 ?$ O) }        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)) J* j. U9 Y3 C6 X& F
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source). e  l7 g7 D$ O: o
        at java.awt.Component.processMouseEvent(Unknown Source)0 s4 W; t. n* r
        at javax.swing.JComponent.processMouseEvent(Unknown Source)6 O. y- A! t* }9 N8 L0 ^
        at java.awt.Component.processEvent(Unknown Source)! n% R2 C% P5 o# G7 z
        at java.awt.Container.processEvent(Unknown Source), G/ z2 g$ y" p$ Z
        at java.awt.Component.dispatchEventImpl(Unknown Source)" }( @# |. ^3 S7 @! B
        at java.awt.Container.dispatchEventImpl(Unknown Source)
6 R  m0 b6 m# D2 ^5 T3 L        at java.awt.Component.dispatchEvent(Unknown Source)
3 `$ V& e7 z" c' A  w4 A; {        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)5 ~, ^, ?- C- o/ Z: q
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
3 g9 g- M3 Y2 P        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source): O6 D; k5 Z  M( r) F0 ]8 ]
        at java.awt.Container.dispatchEventImpl(Unknown Source)" z1 X- t' a, l. q0 b: h9 [( l
        at java.awt.Window.dispatchEventImpl(Unknown Source)- S/ C2 J# [: b! [& L! Z. z+ q) U
        at java.awt.Component.dispatchEvent(Unknown Source)
3 @* ~+ {+ E' G3 d" M        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)# _& o4 H4 H  ]& H
        at java.awt.EventQueue.access$000(Unknown Source)
; d7 a! y$ S) e+ }) D6 [        at java.awt.EventQueue$1.run(Unknown Source)/ p$ R1 I6 l/ _- {; F, Q6 G  U7 d- h
        at java.awt.EventQueue$1.run(Unknown Source)0 f6 U9 c, [9 O" `/ ^6 S* i
        at java.security.AccessController.doPrivileged(Native Method)
9 k! L, c7 }  h" [% r        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
+ Y% [  j% a0 x. ]! }: d        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
. G$ [. _+ f' I        at java.awt.EventQueue$2.run(Unknown Source)' }- }- q! K/ @- d, w
        at java.awt.EventQueue$2.run(Unknown Source)
; t8 J: \" z. i( @* L5 v7 K        at java.security.AccessController.doPrivileged(Native Method). Z, k7 t2 J& B8 c/ d0 }
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
! w0 h/ h/ X+ }; F1 u5 b3 U+ a9 G        at java.awt.EventQueue.dispatchEvent(Unknown Source)
% p9 }7 F9 I/ z- N, r* K        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
) p+ t/ D5 \  W/ Y! h# s        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
# L' c& Y1 u" M- A        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)# Q. S% Q1 F7 O7 [
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2 C1 I4 j9 L1 ~$ h, K        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)6 r' u7 m% F: ~- c7 M5 P6 G( Q: M
        at java.awt.EventDispatchThread.run(Unknown Source)
. p2 D% @  A) Q* sCaused by: java.lang.NullPointerException. e, Q9 V4 d2 ?6 U& N
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
. k) Y5 U  O7 Q/ z        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)$ u4 \1 ?& b( H: [
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)/ f  S7 M; o' c! T+ _
        ... 49 more& F' E$ m8 r6 T* p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-5-3 21:20 , Processed in 0.015039 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表