设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6664|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点9 i9 b. ^7 l. b' _0 e& J) e
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
: ~8 B. ^/ j3 e" d/ ?repast.simphony.visualization.engine.DisplayCreationException: Error while creating display., @* M0 _' ~% f0 W5 y. k0 _/ d4 R7 X! T
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
; @: ^+ W# I6 Z        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44); o* e5 x9 K2 U7 R2 X
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90), l/ T- A0 M0 g( ?
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
+ q1 X4 X; z4 g, z  ~$ }' u        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)% B0 G& Q' l- c) @. M% h
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
  ~& ^( d1 _* [1 z* J' W        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
- K5 u& u4 t* W        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)5 p6 N2 l/ m, _; ~; j4 O3 I8 n
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)7 p6 h" s$ ?) e- i9 D) u/ ]
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)" Z6 H/ c% C  `: |9 d! P6 t
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
5 o, S2 S- W1 G% d% k) f; C$ J) ]        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)( p) Z" D1 z% E& k) a  u; W
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
# G0 X4 j, ?" ]: [7 `        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
! V, l+ {/ o# h( H; h        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
4 U7 }: q0 q+ S+ n. o        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)% G! F. z, E3 h) w0 R
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
2 A8 g7 G# d' w2 B( I        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)  ?# O8 i; s6 A
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
5 ~5 ]6 E# {2 I' @        at java.awt.Component.processMouseEvent(Unknown Source)
! N5 F! @* y4 ]1 v: L6 f+ T; y        at javax.swing.JComponent.processMouseEvent(Unknown Source)
% X2 {9 k3 S$ y# S/ V' T/ V        at java.awt.Component.processEvent(Unknown Source)
+ v. B1 K2 ]8 k4 o' `        at java.awt.Container.processEvent(Unknown Source)1 ]5 A* h( T  Z3 J' U8 \. A
        at java.awt.Component.dispatchEventImpl(Unknown Source)' ^: u! K. N3 C- V: Z
        at java.awt.Container.dispatchEventImpl(Unknown Source)) m3 w% X9 w5 L& ]$ z% e
        at java.awt.Component.dispatchEvent(Unknown Source)
6 i. P0 b* Z" C1 W3 ?$ g        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source): f1 J6 v5 L7 }- G! ]* t
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)+ L' G+ \4 `5 i0 S3 W) O% C
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)+ r, K6 Y: t; Z. }! o
        at java.awt.Container.dispatchEventImpl(Unknown Source)
+ d9 H' X0 X" v. ?        at java.awt.Window.dispatchEventImpl(Unknown Source)8 @. P/ A" d1 l$ e! Y! h) ]
        at java.awt.Component.dispatchEvent(Unknown Source)" O4 k+ _6 [4 q) v" r9 T$ B
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)( q: m- V. z, ]4 ?) F6 D# ?
        at java.awt.EventQueue.access$000(Unknown Source)
0 t; w; B4 s9 |: t        at java.awt.EventQueue$1.run(Unknown Source)0 Z+ v; l. B& b, H3 c  B
        at java.awt.EventQueue$1.run(Unknown Source)
3 Z/ G& c* ]' n1 ]( _" J% A        at java.security.AccessController.doPrivileged(Native Method)' I) O  O3 Y2 Y$ X4 {
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)/ T; u' R$ G  y1 l3 i# v: G
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
# [: b  J; J/ m  B' P7 t        at java.awt.EventQueue$2.run(Unknown Source)# }* ^. P0 b; P
        at java.awt.EventQueue$2.run(Unknown Source)* X5 B: u* W! T4 g8 O
        at java.security.AccessController.doPrivileged(Native Method)* p: i4 `/ a; F1 }3 R
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
8 e' ~9 n; N- l& F* o8 @        at java.awt.EventQueue.dispatchEvent(Unknown Source)+ J" N3 X+ Y! L- O+ R7 y
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
# L9 Y' }" D0 s( F        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2 }# M/ {* T2 P  Z7 T5 a        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)+ h2 f- K1 f% |' S9 n. X# J7 j' {
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& g8 b5 [* W4 H; Q  q* V        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
" Y2 ]" \- S% u6 p% ^  P7 w! M        at java.awt.EventDispatchThread.run(Unknown Source)
$ h3 P; ]3 ~8 M6 c- YCaused by: java.lang.NullPointerException
' |9 H5 Z1 A2 c2 U        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60), u( H- L7 W/ p: U8 k/ F
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)" n5 k% F, a; |
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)2 A  z1 R: J- R' p* N8 k1 ^1 s
        ... 49 more
: X% }: Z2 M6 B7 B8 x( |& j: t
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-11-19 06:20 , Processed in 0.012018 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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