设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7113|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点! H. E: K. B3 I* X
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays) d; e8 @/ s" [) r6 T
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
- Y% u. `5 Y4 r! B) {2 m        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)' y8 @3 G9 Z# L& Q2 s! p
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
# S& y- H* j) `6 h5 _        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)* B  H5 T+ D* L! {! S
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
' a$ k( i8 F- Q        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1). h  U6 O2 I7 V. i* i$ V) Z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)5 S+ C& \7 Y% l; H5 O1 D, Z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
! p7 \6 M4 f# f1 O" w        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)+ v3 L' D/ h4 I/ W9 ^
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)4 [! M' q8 ]! [
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
4 K" c2 V4 f, }; V        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)/ p; l# ~6 G1 J2 a# P3 |' C
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
! t  v" O2 i3 o        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
, G3 R) N% _* d% ^% |: g        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)4 U2 n* h" [! t! \0 m2 x; K
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
- G' I' e1 ?$ }; t6 z        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
6 g8 H: T6 G3 j) L5 c0 x        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)) M3 r& O  N4 T# f
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)0 W8 }, ]7 n7 Y1 b) T% \
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)# l4 r. [4 V% w) q6 w
        at java.awt.Component.processMouseEvent(Unknown Source)* V1 a7 y" t% K
        at javax.swing.JComponent.processMouseEvent(Unknown Source)8 s: K/ ]2 {" w& o9 p  f$ |
        at java.awt.Component.processEvent(Unknown Source)
' R% h4 A( h/ s$ ~( E        at java.awt.Container.processEvent(Unknown Source), y( A/ T% l/ k9 c9 S8 P* E
        at java.awt.Component.dispatchEventImpl(Unknown Source)" B, a" }( }" ~7 I- y9 q
        at java.awt.Container.dispatchEventImpl(Unknown Source)
' `  ~. I" g/ R$ j4 u% o        at java.awt.Component.dispatchEvent(Unknown Source)
8 p1 \0 {2 ~+ Z5 H+ W; n8 q2 k        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)" Z! }( H0 ^; b& s
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
) K, ]" L0 ^  Z+ \1 r5 Z2 w        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)# u8 l; q( h5 ?
        at java.awt.Container.dispatchEventImpl(Unknown Source): H" T. n) Z0 g# x* I+ C. v
        at java.awt.Window.dispatchEventImpl(Unknown Source)# E0 t6 S7 L9 O$ s' A2 T
        at java.awt.Component.dispatchEvent(Unknown Source)# D; w  b1 q$ c' g
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)& y* ^8 h. v9 Z# r. _7 B
        at java.awt.EventQueue.access$000(Unknown Source)
0 h9 C' n' t% T7 `1 r& [        at java.awt.EventQueue$1.run(Unknown Source)
* j5 V% q! B4 V$ }: e: U& d        at java.awt.EventQueue$1.run(Unknown Source)/ g% e2 t/ m3 ?, w( _
        at java.security.AccessController.doPrivileged(Native Method)
9 M, _6 y! [3 x        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)+ ?) ?! a8 K8 E8 q
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
/ U5 c3 g9 l% q5 v. S1 g        at java.awt.EventQueue$2.run(Unknown Source)
2 V3 i7 h0 W' Z& B' O        at java.awt.EventQueue$2.run(Unknown Source)) q/ Y& D$ e4 J
        at java.security.AccessController.doPrivileged(Native Method)/ v% d; ?1 _/ N
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
/ e% i& \: h: q' ~3 @3 M3 @2 s' Q, b, i        at java.awt.EventQueue.dispatchEvent(Unknown Source)
; V% W! K. b  p4 J( M$ H        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
/ B$ t% X6 d% ^        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source): _8 T; P+ k9 {/ J( \7 x/ y8 f3 p
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
# s1 j, g2 J, @* P9 `# H! n        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 ]% K7 o( v9 _8 h0 W3 F9 U# K% r
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 f: X) u. P1 L$ b3 \1 q3 V$ i
        at java.awt.EventDispatchThread.run(Unknown Source)
8 Q/ J+ {' y0 t, M; s. BCaused by: java.lang.NullPointerException9 k: ]* j  X. m& j8 r" X0 _. @
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)3 v6 Y6 v( {; u
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)% \$ V5 _6 J% }/ o* W& `3 _$ O6 Y' D
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)* L3 t& _. p: Z) p( m3 V9 q. Z6 i
        ... 49 more
$ V" G2 Q+ }! ?- ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-14 03:07 , Processed in 0.012934 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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