设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7140|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
7 v3 U, c( S. h' o( UERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
% \  J! Y8 U# E/ @3 crepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
$ z% ?* c6 o$ A  E- v        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)# A9 u3 M6 @, E6 |# m: m3 u9 w) T, n
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
7 M- s  T' U8 J& v        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
; _: _: n) s. `2 P. R6 M        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)2 G( Q* e$ L, }$ {
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)5 [2 A7 G8 j' K) ]& m: _
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)2 ^5 {, P( e* N2 e
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)1 W& \& s" Q# p1 _1 W6 O
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290): _" f: |# e# c9 n% B0 y
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)$ B: ?" ^& u# \$ s6 x
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)1 p$ M; w9 s6 n8 M8 _7 N
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)' R& A, W2 I9 P8 v+ F( r% h
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
( ~% n) z5 l8 E# Q        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)2 ]( Z2 t# h7 t
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
1 d9 U. ^9 |4 g, O4 v        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
9 `6 s* S9 L3 `' `2 u        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
' ~; E2 W: o2 q; A5 C. T        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)1 T$ L1 y0 _2 p4 a) A6 y
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
- R1 X$ |. q2 p5 d2 W0 J        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)* J2 u9 o: R, L* [0 ?
        at java.awt.Component.processMouseEvent(Unknown Source)
) U& t0 ]7 f6 e        at javax.swing.JComponent.processMouseEvent(Unknown Source). U& k8 X7 v, Z, ?" `
        at java.awt.Component.processEvent(Unknown Source)' x# W, B3 C0 N- L- e$ n) Q
        at java.awt.Container.processEvent(Unknown Source)
2 a8 q! @) b0 p* B        at java.awt.Component.dispatchEventImpl(Unknown Source)! @- G! k2 n5 Z+ d1 e8 T1 T! a
        at java.awt.Container.dispatchEventImpl(Unknown Source)
/ Y2 o. D& k, K. }) l& r9 A        at java.awt.Component.dispatchEvent(Unknown Source)
6 |$ Z- R5 c6 ~5 o  ], {        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)  t+ R$ V! A4 V. J7 D, N! T
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
: z/ L- v2 y4 {  r6 i1 c        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source): B$ k8 z1 N0 l& p# f8 O
        at java.awt.Container.dispatchEventImpl(Unknown Source)7 ]0 H# u# b5 F" T
        at java.awt.Window.dispatchEventImpl(Unknown Source)
4 y! @  h. P& C  m        at java.awt.Component.dispatchEvent(Unknown Source)
- e" n& D/ ~7 M2 |( o% l        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)9 z% O8 y) g2 O$ E0 H7 B, e
        at java.awt.EventQueue.access$000(Unknown Source)
1 b7 s) N) f" K        at java.awt.EventQueue$1.run(Unknown Source)0 C2 L( S1 t7 Z  |; r
        at java.awt.EventQueue$1.run(Unknown Source)2 N* j1 Z( \. v% M
        at java.security.AccessController.doPrivileged(Native Method)4 X5 `- ^4 i! C& G! y- B* o
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
: R. O& d- y& ?- }        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
' v3 D" `- \* d5 M) f# q        at java.awt.EventQueue$2.run(Unknown Source)
- g8 q2 ]# J& Z; b1 _- P5 w2 a        at java.awt.EventQueue$2.run(Unknown Source)0 g& j/ [# u8 H3 {' ?" u! N* C3 S4 R* p
        at java.security.AccessController.doPrivileged(Native Method)( F9 H& ~3 F7 Y9 U) f
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)0 \3 M0 g5 X& F/ [$ Y6 W
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
$ U- \9 T7 X" A' R        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
4 \# S- p2 o1 ]. c        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  P3 h* z  d& V) Y  K' j5 s
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2 ^+ o: r$ B" P        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 H  p: V* [; m" E
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
8 t* g- o: o) t; X) T1 v( Y1 C        at java.awt.EventDispatchThread.run(Unknown Source)
  m5 H5 X7 Z/ \: F; N8 }# c% w5 R! QCaused by: java.lang.NullPointerException5 W5 j, I) L$ c; E
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
' h4 _& E3 H9 v3 v+ P7 Y+ ^        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)0 V/ L0 q5 s7 n' R+ g# C! X
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)) c6 i/ |4 z$ f, p& O
        ... 49 more
& {/ x, T% u7 Q9 g) G9 q7 C* o
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-21 11:20 , Processed in 0.013423 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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