设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4887|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点' H/ A5 J/ |$ v8 L1 D) v  e) Y9 }
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
  e5 K$ [6 Y6 r9 w) i  s1 Brepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
% Q: R" W( N  i+ H  x1 h" v2 Q% P: \        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
3 d% m* p: A5 R1 G2 [        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44), s6 ^5 l, {( g- r; E" _
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
/ Y! h5 J0 Y* ]% d/ r7 m        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)' ?4 X  m2 U+ R+ r! }1 x
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
- I& ~5 z3 A0 A, G0 N        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)0 j1 o. G. }6 b
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)$ T$ ^; M1 }3 M7 P8 Y$ F9 O  u" o
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
. L% L4 E5 h" l# S  `/ Z& k9 a        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)" H% E  W$ P: o" g7 m( U
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)# n; r' n( C! P1 g" \# o
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
( A3 q0 _$ n6 o5 M; Z( ?, G        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
: J/ U& T/ ]7 {. H( A/ a        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
% c" }' T- @  w6 t. I. n        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
9 _1 D2 w: T9 {1 _! W) p* F3 Z        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
3 i  @1 V2 h. T' i5 J        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
6 j- v4 k+ N! D; s3 ~; w5 _2 M* r8 k        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
( j5 v! K, {/ W) N/ n        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
, ]' G- w; e4 E7 p        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)/ [0 j0 V, C  R) Z: R$ u
        at java.awt.Component.processMouseEvent(Unknown Source)
3 s* t+ @! ~" o0 Z; Q        at javax.swing.JComponent.processMouseEvent(Unknown Source)
9 v# E$ ~* \: L9 q        at java.awt.Component.processEvent(Unknown Source)8 e3 i4 J: Z1 y+ ~8 f
        at java.awt.Container.processEvent(Unknown Source)
4 @6 K; L7 h: u) H        at java.awt.Component.dispatchEventImpl(Unknown Source)  q6 ?. m" F- A. ~. f; [4 E. F
        at java.awt.Container.dispatchEventImpl(Unknown Source)! u9 ~1 y' d+ K$ b; b+ `
        at java.awt.Component.dispatchEvent(Unknown Source)6 t# Z2 }5 }& @0 A6 T2 k
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
3 D2 X& V( V6 S. j        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
3 H& k8 K* K; t" x+ P. x        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)7 k3 c$ M- _  J# `
        at java.awt.Container.dispatchEventImpl(Unknown Source)9 D1 Q; v, Q+ t1 h% n5 O
        at java.awt.Window.dispatchEventImpl(Unknown Source)
; X( M* X. p9 `! v  J  G- M, Z        at java.awt.Component.dispatchEvent(Unknown Source)
3 b) K7 T9 w. C' I, w5 Y& o. R! T        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)1 V& q1 n( r% N" _$ z, }+ K2 t9 I
        at java.awt.EventQueue.access$000(Unknown Source)( Z4 p& `  m, |! B, B% c. E  Y
        at java.awt.EventQueue$1.run(Unknown Source)
# ?$ N, w& c& n7 [! @- X) [7 h- T        at java.awt.EventQueue$1.run(Unknown Source)- S; K( s$ T8 s" y) I" }! {
        at java.security.AccessController.doPrivileged(Native Method)3 x/ s3 X0 G( l% F
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)$ m6 X+ i; e; V4 c# ?# m3 {
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)$ j1 H" J9 C! I, _7 y  k
        at java.awt.EventQueue$2.run(Unknown Source)
7 `3 x3 {! V: y/ W/ ^        at java.awt.EventQueue$2.run(Unknown Source)% U# K/ m" z" a! f! N& [# F1 @. R
        at java.security.AccessController.doPrivileged(Native Method)4 N7 [7 s0 ^% M. @1 e# a8 [- U
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)" t: m( I4 x$ P0 l) G" f( t+ H. e+ w
        at java.awt.EventQueue.dispatchEvent(Unknown Source). m/ K/ q$ b0 h% o0 B4 w. O  X
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
: P' {5 s$ ], `7 _8 S: ]  {' [        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
; o% k/ D  `- e) V; B- O& w        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)8 C1 c2 u+ z! ]) d; U7 Z$ c4 j- L- L
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
4 Q- ]1 l2 {, {, I( w        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
; C: X7 l7 Z( R1 O" O        at java.awt.EventDispatchThread.run(Unknown Source)
  l) U6 J6 k8 p# F. R# N8 |Caused by: java.lang.NullPointerException
- {$ i- f( G: ]. s& A. D5 B        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
+ m0 F0 M2 |! i0 T        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
8 M" u& i4 `& x" v# ~        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
7 y  P( Y$ X8 J8 M; l        ... 49 more
" i, {- q9 E+ B
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-18 11:06 , Processed in 0.012930 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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