设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4893|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点2 _5 n. w. p; v4 G& s2 x* H9 q
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays9 A; S3 j! w' ]
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
# ?( v( w% a" \9 n# B7 x        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)  e, n2 T/ n( _$ F. B6 g
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)3 H" _1 D  t, @! Q- E
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
; s1 S+ Y0 `- Y  ?' W0 l        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
. X  d$ Y: q. g3 [( D# ?        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1): X% e) s# u" w  k
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)# U% b8 h1 P) I! z! A2 ]
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
0 i3 T+ D6 |! v! \) W6 F/ p0 Z        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)! l( c2 n9 S- z6 V
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
6 r; I. j! G6 ?: ]+ A( L        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
2 T8 c3 C1 }$ ?" d9 r: E        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)+ B! N. t( g+ u+ I7 M1 M' y
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
" g% S8 V  y7 R8 k        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
: k! V$ A& ~2 V& W6 \' x4 p8 V        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)( Z% p! _8 y" r! p  A
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
/ M7 A9 i4 d/ \. x        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
- o* ~  X) M2 }2 o" S, I        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)! Q2 l. n9 b  e) \0 `, F
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)6 m5 b1 z1 @7 ^! s7 o" ~* y
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
% y. r9 y6 k: X2 e        at java.awt.Component.processMouseEvent(Unknown Source)
7 Q  K2 r4 `  D        at javax.swing.JComponent.processMouseEvent(Unknown Source)
( E/ I& N9 @7 O4 H+ ~        at java.awt.Component.processEvent(Unknown Source)
# h5 N0 m+ s$ o: Z- z7 N        at java.awt.Container.processEvent(Unknown Source)% s8 w: u+ D+ T( N) |
        at java.awt.Component.dispatchEventImpl(Unknown Source)
6 j7 G6 ]) X6 L( A7 I        at java.awt.Container.dispatchEventImpl(Unknown Source)
) S5 Z. m8 _6 j3 X' b# e4 p( @        at java.awt.Component.dispatchEvent(Unknown Source)6 @" r  D8 _$ Z. U% {
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
8 |2 K' w: B4 T1 ~* ~, g2 U  Q        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
1 q' i1 u, `7 N0 d& ?3 M0 c        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
" q; H6 f# B3 S4 ?( d9 j& q/ q        at java.awt.Container.dispatchEventImpl(Unknown Source)
) G6 M8 H& P7 ]1 V4 e        at java.awt.Window.dispatchEventImpl(Unknown Source)1 i* f9 c! `- i* c% u7 I8 p
        at java.awt.Component.dispatchEvent(Unknown Source)
& b5 |1 `5 s5 M) c9 P  f1 m/ N* J        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
  R8 {+ e, P8 x7 O/ d! J* P- l        at java.awt.EventQueue.access$000(Unknown Source)1 g2 n: K0 g2 k% a9 Q
        at java.awt.EventQueue$1.run(Unknown Source)! h+ T4 E3 {6 d7 A; x$ ?  F
        at java.awt.EventQueue$1.run(Unknown Source)
0 l2 @' U6 |4 l8 ?1 j: O1 |        at java.security.AccessController.doPrivileged(Native Method)( P# U* ~( `" |' ]% n2 i5 ]
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)4 d, |& Z  G3 H% B4 u6 w  R/ u6 B5 {
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
" a+ Y  Q7 C& g( z        at java.awt.EventQueue$2.run(Unknown Source)
% [$ @' v  F+ l. V9 m        at java.awt.EventQueue$2.run(Unknown Source)
, [2 w/ z9 \4 V9 v        at java.security.AccessController.doPrivileged(Native Method)# {; L1 v+ u9 M9 E/ U! U
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
! R( ]5 ]1 C# v0 i        at java.awt.EventQueue.dispatchEvent(Unknown Source)
9 U, ?. u% Y. N0 t        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)2 }1 n  i; y* H7 o
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2 M3 b  p  t: w: G/ R        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)$ W$ L; Z+ P: M2 M4 A; j9 A
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source): E: u+ G% d( e4 Y' r, ?) S" o
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)5 R  K7 h$ [+ W- q
        at java.awt.EventDispatchThread.run(Unknown Source)
: Y, g: m: K3 K' uCaused by: java.lang.NullPointerException# ~. A/ g4 M: L) C! A% L
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
. ^% o9 [$ q7 \        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)/ M; i2 v! b7 k( {- \5 a
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)2 _/ J1 b% j" p: K
        ... 49 more; X' ]- o/ h7 w' c; w) V, W6 N
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-19 12:10 , Processed in 0.011618 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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