设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5237|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
' m4 f; e& P2 F$ I5 c8 \ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays# U' b, Q' p/ ?  x; \) c
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.' ]* e4 J, [" U
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
. r  X. Q6 q, M9 X( c        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
4 z( }2 p" N9 s  |        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)* _$ L+ y/ f& m/ i( {
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)+ J6 X: F: r) K2 O/ c. w
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
- A! V6 X" |3 ~        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)" Z/ ~1 z# r- r! \& x$ `
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)' B9 S# ]3 @( O& h- X, j
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
$ P. }4 g1 h2 a& h- O        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
9 T8 G3 \7 U- a% m        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
, [) ?/ y, h0 k# J! H3 x! B9 `/ e        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
6 i: U  F/ y" b" K9 a! D3 x, ~        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
5 x/ @$ n% G7 b) `# P0 w        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
. x. n) K' N1 j7 ^5 q        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)5 s( M% {1 W+ G- h* j9 F, e9 g
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)- s4 t! q- q' `% D1 j4 ^
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)% {! f" E0 q9 N; r2 A' }( h9 Y
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
' r$ x% T! s! S# Y3 I        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)5 }  v4 X& x( f% ?0 N
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)- n1 T3 A3 q( y0 {
        at java.awt.Component.processMouseEvent(Unknown Source)
* `9 o0 u( E. u$ p0 [1 c) v+ q        at javax.swing.JComponent.processMouseEvent(Unknown Source)9 B# K4 o' ]" G/ v+ S
        at java.awt.Component.processEvent(Unknown Source)( t9 u6 H3 l8 C: J9 T
        at java.awt.Container.processEvent(Unknown Source)
3 q, i  |6 S) \7 b" V        at java.awt.Component.dispatchEventImpl(Unknown Source)
, E3 |% D/ a! Q0 K        at java.awt.Container.dispatchEventImpl(Unknown Source)( z; D9 e# Z! \
        at java.awt.Component.dispatchEvent(Unknown Source)0 b! ^% A# L+ S9 S5 x
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
7 m# f) V1 c9 f6 |* M        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
7 }; u3 F5 [; s, p/ f9 d        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
% @' x  i! |4 @/ n/ O        at java.awt.Container.dispatchEventImpl(Unknown Source)3 ^* |" h% z- u9 e" Q( ]* ^
        at java.awt.Window.dispatchEventImpl(Unknown Source)% D1 Z( X( Y4 v- K; g
        at java.awt.Component.dispatchEvent(Unknown Source)
7 t- f7 l% _% s2 [- j  t. t: p        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)! {( u% i5 G7 M0 N# \. R" i
        at java.awt.EventQueue.access$000(Unknown Source)
) c1 C- i3 `4 {        at java.awt.EventQueue$1.run(Unknown Source); L# W& z" F" J
        at java.awt.EventQueue$1.run(Unknown Source)
; P) X% v8 S5 y        at java.security.AccessController.doPrivileged(Native Method)( `" Z3 k/ n& F0 q* n
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
% Y' ^. B' u. g7 b0 M1 r' ~        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
5 ~/ X! h: ^7 L+ Y' x3 |        at java.awt.EventQueue$2.run(Unknown Source)7 b- k  u; D2 i9 c* y& [
        at java.awt.EventQueue$2.run(Unknown Source)
- [$ g! o% q& ?5 G- R        at java.security.AccessController.doPrivileged(Native Method)
, v1 A6 ~, y) A- I+ }        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)) _6 J5 u) U! _) w
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
1 W" T, P$ a4 M9 o+ Y4 l) b7 h' M! G        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
5 Z5 Z; n0 }- p2 \        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)$ o8 s, D+ i0 T$ Z9 S2 r
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
% [8 W6 G" O' A7 l: b        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
: D0 {5 w% A) e; h' {! z' _0 ~0 T        at java.awt.EventDispatchThread.pumpEvents(Unknown Source); f, \) @4 j, {: b# P
        at java.awt.EventDispatchThread.run(Unknown Source)
! Y! E; ]6 N% ICaused by: java.lang.NullPointerException
+ y* `9 N) ?: j        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
( `4 E0 ^  z& P. D6 C        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
" L: P2 U8 `1 y% S( t1 n5 Z6 T0 D2 t        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
& ~5 l; x' G. [2 |        ... 49 more" ~: f% }+ G- U4 u# d: L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-23 16:00 , Processed in 0.011613 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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