设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7112|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点2 ^* `# f& L0 ~2 f
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays) U+ _4 M4 W; u7 z2 }
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
3 ^/ S- M( ?; U9 g$ _" r, h5 _        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
0 e. X7 R+ Q2 ]+ e. E$ I# k        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)! K! u- d+ C# A% t  E: D
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)1 W: N* Q; @, A+ X2 J: D3 u5 \! `# r
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)2 F4 I& A5 \! K
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
1 ]' e8 P- t' x        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)# [+ L; _$ x9 ]
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290), E0 o& s$ U$ f. x
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
2 X+ `( e; w, {. ]        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
0 s7 \$ V; N7 e4 P  }7 o, P        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
7 N6 `, g3 M; l3 \        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
7 ?8 Q9 O6 R4 f2 d        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)5 D$ V( P1 ]2 O) E. o2 q
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)2 Q3 g( E. F: b: n
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)% \" d8 \5 s7 h. D. c4 C
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)! G, F8 R# [1 \" W9 M. H
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)$ R. K( ?* `8 X) A' n
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
2 l; U9 v4 F3 r0 b5 B" t  V        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)5 o! k& ~9 Z; p# T$ P+ Z. F2 ?
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
' u' f) T2 A# N. t  a; R        at java.awt.Component.processMouseEvent(Unknown Source)# u4 t: i# x+ g4 G
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
, E* N" E8 X) g) a        at java.awt.Component.processEvent(Unknown Source)
$ Y7 O5 N1 ]4 X' C- v        at java.awt.Container.processEvent(Unknown Source)
. H' M2 P; Q( z3 _, Y        at java.awt.Component.dispatchEventImpl(Unknown Source)/ f; Y! O& G, [# i. |  i* `( r* d* H1 B
        at java.awt.Container.dispatchEventImpl(Unknown Source)
' i( `; A. Q3 u0 G, y* V        at java.awt.Component.dispatchEvent(Unknown Source)& Y% c) x; D2 q5 d/ K
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)# o$ u. Q: C+ N
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)- ?- p$ I; Q# g( d
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
. R/ D5 u9 a, h( z% K% g        at java.awt.Container.dispatchEventImpl(Unknown Source)
, L' D! f: v$ s  f8 h" f6 ~        at java.awt.Window.dispatchEventImpl(Unknown Source)6 [) @+ |* ^( j
        at java.awt.Component.dispatchEvent(Unknown Source)# L- f# P1 R+ j$ Q. m; q
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)- X: z5 [  X! l
        at java.awt.EventQueue.access$000(Unknown Source)1 }" |# Z3 V; a" \7 E6 _" o
        at java.awt.EventQueue$1.run(Unknown Source)* O. Q# H1 b2 T$ b2 {
        at java.awt.EventQueue$1.run(Unknown Source)  V# B5 U' k4 Y$ Y/ o4 A) x
        at java.security.AccessController.doPrivileged(Native Method). E, d, q. m! Y" A0 L, ^/ H
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)" o- U" n; X4 ?" X
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)7 O. j/ r0 z5 C% @" K
        at java.awt.EventQueue$2.run(Unknown Source)' }7 T" }. j7 B2 \$ i
        at java.awt.EventQueue$2.run(Unknown Source). Y$ X+ b5 x" s' s- p
        at java.security.AccessController.doPrivileged(Native Method), ]7 V  K$ h0 F! \: j: _% e
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
: F3 P, i5 E$ A) @6 F0 \        at java.awt.EventQueue.dispatchEvent(Unknown Source)
" v! d, c$ I3 C) t! L7 K6 t        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
7 a- s& p5 |# D& x8 ^4 H        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
" h# A  s9 {! T7 c; m        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
* C5 C% {# A. }1 m& M0 a        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
6 ?$ Z/ `" b# p& H7 l5 G" ]5 }        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)7 d  w( \4 C( k( i' i
        at java.awt.EventDispatchThread.run(Unknown Source)
* t' C% p3 Y$ g0 L! g- KCaused by: java.lang.NullPointerException
2 E! d6 O% v- c3 c; O/ L7 n        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)" y' Z! f0 j9 Q
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)7 M4 h* i6 }$ K
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)- A* Z' I- m0 f- a* X7 N. Z0 V
        ... 49 more7 I! i0 v  [* l) k# q8 |  j! X
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-14 01:19 , Processed in 0.014656 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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