设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6187|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
" q! G5 P+ t7 y9 _( FERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
0 _. I6 b1 _0 J) n6 W0 y7 N3 Rrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.7 W$ |& J- b1 Q* z0 x# W
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
2 {8 O& n* S4 i5 M3 a        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
. @! J3 q  [/ b$ \. t        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
0 ^/ D6 O7 U! ?% `        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
' {! L# b8 j, l  J        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)& Q$ s# j9 W/ H- e* r/ z) Q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287). N% B6 R4 d6 f% o5 E1 ~0 G1 f4 [
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
$ A; v5 j, g. u- x3 X9 O        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ Z; [' \- Z0 y4 U! K2 j        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
5 l) d9 l. s7 T        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)1 X! y$ w/ ]0 u
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)! R+ @( d$ U$ ^" E& [
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
, l" K9 v8 |9 l) @: n        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
9 z9 X7 t" _# u! ~2 Y* P# }9 t        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
) y) L( y# B& R1 u1 P6 e        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)' k; O' \9 i! F& j  s
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
- \" b( F6 w; ]% K0 y8 I' T        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)8 u4 ]( Y2 n5 X/ \$ \4 K" F* S
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source); s# K. h5 x& S7 B, o! }
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
$ w8 Z# s. U5 K% a5 _        at java.awt.Component.processMouseEvent(Unknown Source)
  a0 O# S6 s8 n- v' p/ D+ W- `        at javax.swing.JComponent.processMouseEvent(Unknown Source)
3 g4 \) H' e9 K  K4 m  O$ _* N        at java.awt.Component.processEvent(Unknown Source)
) O' ^" B/ K- \: K) {& o        at java.awt.Container.processEvent(Unknown Source)% I7 u* H; U, H, L
        at java.awt.Component.dispatchEventImpl(Unknown Source); f# w9 Q8 q1 E6 r" G7 l
        at java.awt.Container.dispatchEventImpl(Unknown Source)1 F8 S& g% @1 f
        at java.awt.Component.dispatchEvent(Unknown Source)) G& _) \6 q3 ]
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)6 \. p; i% f9 m$ ~# I$ d* z
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)  S. n3 `& T5 g, L$ X
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)' n9 T6 d. p1 M3 T) @* v+ P; W0 ^
        at java.awt.Container.dispatchEventImpl(Unknown Source); {- l2 R) D' H( }  ~
        at java.awt.Window.dispatchEventImpl(Unknown Source)
* t  z- Z7 i, }$ |5 G' l        at java.awt.Component.dispatchEvent(Unknown Source)
" D( F" K; u# Z        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)# T# m3 P; \- Z, g
        at java.awt.EventQueue.access$000(Unknown Source)+ J5 w+ b) Q8 T: L. j4 R" C
        at java.awt.EventQueue$1.run(Unknown Source)
+ {: ^, p8 t2 R* j        at java.awt.EventQueue$1.run(Unknown Source)
. b& c3 w  Z2 v6 b: L        at java.security.AccessController.doPrivileged(Native Method)
; l8 m! z( h; `0 \: g        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)' G; g) H3 `, T. j" W) o
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source); f% q" v! ~. v6 ?# _8 }
        at java.awt.EventQueue$2.run(Unknown Source)
8 |4 x. [$ e2 |        at java.awt.EventQueue$2.run(Unknown Source)9 B/ ^; v0 U6 k. ?+ ^+ M
        at java.security.AccessController.doPrivileged(Native Method)
% I" q  E9 x/ W& }4 {        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source), J* V( D7 }9 n0 I/ p" q+ N
        at java.awt.EventQueue.dispatchEvent(Unknown Source)  f' l% \; F7 k" K/ a9 a
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
: P9 _+ L* `8 [/ a        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)( k4 i, K- d( T$ v+ ^) M0 b, Q
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)$ i7 X' C1 `7 F
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" c- E' k" Q* l        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
5 c, g9 w/ `( h+ m        at java.awt.EventDispatchThread.run(Unknown Source)
) z) D& ~( O! u* z; i: bCaused by: java.lang.NullPointerException/ k  G( O7 F  w2 _) J1 T; ?/ [
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)8 z9 `/ k7 T7 x5 O4 t5 `
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23), b7 _. P  H9 B
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
6 G/ t: g# i6 Z, d) o        ... 49 more3 `6 q, g- d- P/ d" W% p
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-11 12:35 , Processed in 0.013829 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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