设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5870|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
0 H: n; V' J$ D. ?$ mERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
# }) J: Y( X* ?- X* Rrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
* N  @- c* W3 j8 I        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)0 d8 ~5 o" H- \: z( ]0 r
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
6 L# j: R$ n; s" o7 v$ S        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)! `+ Q- V, M/ v9 m& D
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
7 x8 C+ h: k8 }' Z6 v* q6 H+ I        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
! s- p7 E5 o: C% F8 v( c. }        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
/ I  D4 ^0 t2 r" a3 D        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290). p2 G- ^  r7 q  Y
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
( f1 t2 B8 V0 C        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
% o/ \9 n1 t  G+ g        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)' S" c( _5 @- G  i* h3 v! p0 H
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)# L/ _' y2 q. X! U5 x4 H7 F
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)) B0 {7 o- d8 K1 a0 O) R) X
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
# L) A; |/ V) G% s) }" l1 x, ~# J        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)3 V' h! G& G* P  X. l7 V9 a+ M
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)2 c5 ~8 b9 \' M$ E. t( E* F
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
+ `! \2 K& q+ X8 U& u        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)* W% d% X- R% a0 K) h1 R0 @' F
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
# @$ w% p7 m* n7 Q# P        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)) \( T6 e% k. p# e! T" ^
        at java.awt.Component.processMouseEvent(Unknown Source)! n/ X: B- w9 A) H
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
2 ~0 G3 p2 G& n# F. O4 a- B        at java.awt.Component.processEvent(Unknown Source): [4 t8 p$ x  F: j' ?" Q
        at java.awt.Container.processEvent(Unknown Source)
. i3 B, }5 }. v8 p4 [8 G        at java.awt.Component.dispatchEventImpl(Unknown Source)3 `* U% w0 `3 y9 e; ?
        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 h& {; ^) S- m% W        at java.awt.Component.dispatchEvent(Unknown Source)
" B8 c( y, D) M/ ?. y4 ?' ]: M) H        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
; ^3 F8 N% s( O) S! ^/ `- W        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)% ^# Q5 s$ _. g: b! B+ D" w6 I
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
+ K- N0 o5 e( B- N        at java.awt.Container.dispatchEventImpl(Unknown Source)
" @0 D4 D3 G8 e! V        at java.awt.Window.dispatchEventImpl(Unknown Source)
" \) m% ?, ?% P' k0 {: ~# A        at java.awt.Component.dispatchEvent(Unknown Source)' n9 H1 k7 W+ B  n5 `% @
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source); u* E6 I$ p! ~" s. f
        at java.awt.EventQueue.access$000(Unknown Source)
* h& D# E! k% h- P        at java.awt.EventQueue$1.run(Unknown Source)
9 K; @+ H* P( i" f" L) p        at java.awt.EventQueue$1.run(Unknown Source), Z! S" B$ s5 @0 K' ^, o  i! K
        at java.security.AccessController.doPrivileged(Native Method)
4 G; {5 D: z5 e+ X: t& G        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
' V8 ?, v/ S: `/ D, n        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
$ d' q9 h) r5 A8 c0 ~, H0 m        at java.awt.EventQueue$2.run(Unknown Source)
( O; H% D8 I. X2 C# G# |4 o& F        at java.awt.EventQueue$2.run(Unknown Source)  y& S* l4 \, ~% v2 ?* z
        at java.security.AccessController.doPrivileged(Native Method): A# v; ]5 }5 n6 Q3 h6 F
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
, G" T! z) O) M" ^. n1 j        at java.awt.EventQueue.dispatchEvent(Unknown Source)
$ ~5 _8 b9 D  m! R7 g        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
1 m; E/ }. s% R        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
) n* k" w9 }0 ~* S        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- X: T/ m* ?- ^; U        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
$ |7 e) O  A. b$ k" M        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)1 P' K9 m/ b) W9 |& K! F
        at java.awt.EventDispatchThread.run(Unknown Source)! B* N3 j0 z0 G
Caused by: java.lang.NullPointerException! L1 |7 S- M- ]; ]
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)% ~8 M4 ?* s0 s" c
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
1 I* G0 T- }/ `& e: r# l& X        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)5 J1 F9 E' N) J0 ?' A) F! R
        ... 49 more4 G* P  v2 b  K. ~1 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-4-4 09:34 , Processed in 0.019218 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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