设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5233|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点' l! k1 _2 \. \& C) }) X! |
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
! X" c8 j5 e; u( vrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
. q; C7 a  |- ?6 f& b        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
6 l6 v7 K7 @4 g        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)! p+ t7 M  v! ]1 B& L; t
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)( R3 ]2 f) E3 {: A
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
! _2 u2 {0 [8 u1 g6 K2 G; Y1 G  o" q        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
$ @1 V7 z& X- n) s/ B  z! Z. i        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
1 c4 g1 j6 b# J0 Z3 D  h: g% N        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) P3 i% e; p9 D( S# |" U4 z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
- g3 G1 a9 _0 a8 J        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
  t" I8 U+ d- c        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
4 i- I8 x! W  N( V- \        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)0 `7 I# e/ \1 F+ O$ B9 F& O
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
$ W+ E) e0 L0 ?- g3 y% z        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
, C/ Z3 O7 x* r        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
2 q% D- v8 K% x: n& {" v7 {        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
& K. d9 V# i: Z- O( N. N        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source). r5 V- ~( B' z# d; C* B; s+ J
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
6 i4 ^, x% ]6 Q* I        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)8 N6 b- {4 f5 X1 Q1 Q
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)0 E3 J/ c4 a2 A) I1 b) _( S4 j
        at java.awt.Component.processMouseEvent(Unknown Source)2 Y! k+ d& K3 f0 `( X& f
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
" M3 @5 a# g. D. t' ?" W        at java.awt.Component.processEvent(Unknown Source)* y6 k( P6 `$ y, F' I
        at java.awt.Container.processEvent(Unknown Source)( l) q9 n7 D2 {5 K8 _/ A
        at java.awt.Component.dispatchEventImpl(Unknown Source)4 R3 i/ d) H) }( }! O
        at java.awt.Container.dispatchEventImpl(Unknown Source)
7 B; D. V6 h" V$ U1 j* O        at java.awt.Component.dispatchEvent(Unknown Source); b* s2 t6 f2 S; n
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)) x' ^4 n  l! x  b% `
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
* p4 U; e2 e6 X! q# u7 ]  U        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)4 ]% V. P* M2 U# t- m: q. N! b
        at java.awt.Container.dispatchEventImpl(Unknown Source): N1 I' l+ p! b3 p/ l
        at java.awt.Window.dispatchEventImpl(Unknown Source)
% U9 \8 p+ p0 z( o) P; s        at java.awt.Component.dispatchEvent(Unknown Source)
+ E8 o8 F: ?! x4 I        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)  @1 M! K" X4 w2 @; Y1 K
        at java.awt.EventQueue.access$000(Unknown Source)" a% j+ ~, O1 }% w% k; d2 ?
        at java.awt.EventQueue$1.run(Unknown Source)
: i& @1 S7 T( _' y4 g        at java.awt.EventQueue$1.run(Unknown Source)# e4 N- k2 L) G1 `3 b
        at java.security.AccessController.doPrivileged(Native Method)3 Y" o; W; W. O, M. G
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)# ~& ?- D1 ^+ X- ~
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
* ]3 o8 @7 M0 B$ l0 C9 e        at java.awt.EventQueue$2.run(Unknown Source)9 h+ r! i; S% h/ I6 w
        at java.awt.EventQueue$2.run(Unknown Source); a9 l$ g0 N8 y" T; [& z8 ~
        at java.security.AccessController.doPrivileged(Native Method)
! W3 [6 s4 S- K- \        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)+ H5 Y; m' G% U' |1 l* M3 T" \
        at java.awt.EventQueue.dispatchEvent(Unknown Source). h- x" T$ F$ v  T) N! `
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source): t/ k6 T1 E& T. a1 `
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
7 V9 d. u/ x% K        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
" m/ k: ~) C$ c! `0 `        at java.awt.EventDispatchThread.pumpEvents(Unknown Source), F* `. a9 E  T7 Y
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& X+ A' h  c6 Q4 e. ]; @# U        at java.awt.EventDispatchThread.run(Unknown Source)
$ [  b: e1 I8 BCaused by: java.lang.NullPointerException( r# x& K: W2 h" k  _9 s* n: V
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)' f2 y; C. f  Y1 `* Q" u  T  O/ I
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)3 }7 R6 K  E  ]* T4 ?- g
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
: T( }! [" p5 T/ l# m- H+ \        ... 49 more
' ^# X& q# `. D+ C
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-22 00:17 , Processed in 0.013698 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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