设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7768|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点+ O4 L) S% ~7 p3 [
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays* k2 C; u& j* o+ ?7 k( b8 |
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.) C: M2 k6 \. O# S( k; L) ]% P
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
* J5 v' W, I" ?2 w        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)2 f9 T1 q. G; x! {$ N' O
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
$ m$ s. K) O# D7 F3 Q        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)2 X! p" P) E1 o
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)* N5 C! t& p, O# x  ?' W2 x
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
) ^* A9 L% i: j        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
- {8 E: T  V) w% W( Q0 \4 U        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)/ k  q/ m  K+ L; Z; a% I
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
- ?6 X$ ?& Q: S* x+ H$ M        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)  ^9 ]) D. ^. c3 P
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)- Y6 e! x3 [4 N. X# u
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159), q3 I' V9 a! p& Y- ^
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
' {( x7 F; x0 d* j* `& ^        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
- O; o/ O: r: m& H9 f7 R) S5 Y        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
: ]" N" ?* @2 F        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
& H9 z( z+ Q( Y! L        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
0 L! ]5 ?& g" j/ }, k# C+ H        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)' b1 P0 `) L% _, q+ `8 t
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
0 _8 U& o+ w  P        at java.awt.Component.processMouseEvent(Unknown Source)* m) V; F. w5 l8 A$ y
        at javax.swing.JComponent.processMouseEvent(Unknown Source)7 V3 Q3 O. i) D2 G  i
        at java.awt.Component.processEvent(Unknown Source)5 u+ m; S( h5 Y# K, ^3 z
        at java.awt.Container.processEvent(Unknown Source)/ o2 K* B% O7 r8 Q- x" \8 l9 Z
        at java.awt.Component.dispatchEventImpl(Unknown Source)
) Z; N* v9 B0 @( ~        at java.awt.Container.dispatchEventImpl(Unknown Source)8 J* t, D4 z( X- ~6 i) T
        at java.awt.Component.dispatchEvent(Unknown Source). {1 n* ~* X" e' r: e* q
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
) }+ B; x: E2 x" \        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
2 l9 y: ~' ]8 D2 B- ^2 h        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
# f3 v# W3 f  I! m( o        at java.awt.Container.dispatchEventImpl(Unknown Source)
% h: R2 `- z/ H+ l; o9 B        at java.awt.Window.dispatchEventImpl(Unknown Source)
, ^( @2 Z$ p7 w: j3 ?+ a7 B        at java.awt.Component.dispatchEvent(Unknown Source)' [6 I  ~2 u& C; Q
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
. [2 u3 [" ~4 M8 ]8 }+ i. U        at java.awt.EventQueue.access$000(Unknown Source)" v( ^4 f' @' |* L( ]  x! |8 v
        at java.awt.EventQueue$1.run(Unknown Source)
+ R& V+ i4 E* G2 I; n+ V4 I        at java.awt.EventQueue$1.run(Unknown Source)
! S" v: R/ z5 W2 b7 D* k' Q        at java.security.AccessController.doPrivileged(Native Method)
5 \% b* a4 j( c& P        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)6 y- @7 C. Z3 ~# s0 `& A& Z
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
0 K0 [3 o* A: F+ |3 w3 L7 T* b/ V        at java.awt.EventQueue$2.run(Unknown Source)8 T/ H  \7 P& b" j7 Z2 S9 R
        at java.awt.EventQueue$2.run(Unknown Source)! u6 q+ A) P2 z& U! M
        at java.security.AccessController.doPrivileged(Native Method)
7 m9 ~: p/ Y8 l9 f( X  d  J$ C  T5 v        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)$ J/ f7 b/ T/ Y- f2 \
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
" t& c3 t* Q, e; u5 v% Y: z        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
/ |+ A& t& H4 A  X  I) ]9 I" S        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
7 [7 m% _9 d7 t1 W9 u4 x        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source), C3 x7 W2 [- k) W
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  Q: H6 D( I* Y$ J) a4 r7 [2 Y2 q& T        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
5 _8 `' A# ^: H9 _: O# a# x        at java.awt.EventDispatchThread.run(Unknown Source)" C! ^: |+ R2 \( j
Caused by: java.lang.NullPointerException9 d# p3 s7 i1 E
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)2 H3 b. ^+ J: L2 V
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)" b. y; |+ t) u; I. D( {- l
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
1 j. b" m1 j! C3 }# V) g        ... 49 more- i8 O2 w' y! R! n4 R; Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-8-4 07:53 , Processed in 0.015465 second(s), 15 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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