设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6078|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
* G9 }/ e! A+ x: @# k% p: F5 w- FERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
/ o( v0 |$ _6 w  W% `; p5 _6 Grepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.9 Z7 T, s: z( X% X0 w
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
+ s/ P3 A4 _/ o        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
9 z* @5 q* O' a- l6 L( Q# b8 p        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
# @% m/ x3 c" ?. ]' M# O+ U4 @        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)3 B! s9 [" D7 X' j7 j0 g: l
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
# C4 U8 N: ^. X9 P8 J% D        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
/ ]" E4 r4 ]8 O$ ]; U        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)9 ]: [2 K7 o- f2 \
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
, e" b* W% d: h  Q        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)4 h/ t7 I5 }; \! ~" |3 c! c+ |
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
" x1 B0 _, V' m) ]+ q) D        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
  D' l* Y4 n1 W: s' [        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
( N+ K( v( g( v. Y" O        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17), X9 m4 w5 w" W! w" t
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
, ^0 n5 U8 _, ~7 ?        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
" w. [+ E7 b; u$ n        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)3 z* b1 D  E  _
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source); l6 T7 s1 `. d4 U6 l' E) K
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)& e8 f! N/ i& J0 b$ u. {
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)9 v3 x  n/ I' ]9 B3 A
        at java.awt.Component.processMouseEvent(Unknown Source)7 X+ Y1 i0 C& M- F# e$ r# `
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
. ^8 U, P' s6 P, k        at java.awt.Component.processEvent(Unknown Source), c8 U9 L2 O% y6 {
        at java.awt.Container.processEvent(Unknown Source): |8 h) e5 p6 Y7 d- u
        at java.awt.Component.dispatchEventImpl(Unknown Source)
! J. y$ d1 \( T: d        at java.awt.Container.dispatchEventImpl(Unknown Source)  Y# X% l6 N' M" G5 K
        at java.awt.Component.dispatchEvent(Unknown Source)! I8 F8 y/ {) D1 B  v) h: ~
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)3 Q6 R% |  Z5 k  D4 K% T
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)3 T  ?% r/ ]7 }1 L
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source). V5 h! O  x6 E' L* _+ `0 k! u/ o
        at java.awt.Container.dispatchEventImpl(Unknown Source)
, U, `: n$ W3 b3 U7 Q$ s        at java.awt.Window.dispatchEventImpl(Unknown Source)% {0 w) ^( L. R, ?. j
        at java.awt.Component.dispatchEvent(Unknown Source)( P9 Q# _% c+ |2 X6 a: K( D
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)4 I# J# f' Y- Y- A+ ]8 q* j3 P  F
        at java.awt.EventQueue.access$000(Unknown Source)
( j. p0 S. W/ z4 S) K8 \6 a7 u# |5 m        at java.awt.EventQueue$1.run(Unknown Source)
/ F) [2 x) ^, W9 [4 W8 ~        at java.awt.EventQueue$1.run(Unknown Source)
0 J, Q$ O$ R7 J8 G  l        at java.security.AccessController.doPrivileged(Native Method)3 Q  y, k) }1 U4 D# u; U  b
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
/ n) n$ W1 j: X  m  T1 Z5 C        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
9 z, F, h& }; V. d        at java.awt.EventQueue$2.run(Unknown Source); s$ G. p' z, n
        at java.awt.EventQueue$2.run(Unknown Source)
' \$ y  m. s( s, C        at java.security.AccessController.doPrivileged(Native Method)
6 ~7 n# U; M7 m+ u        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
: }/ K1 Q! p) g  Z% `4 Y3 |6 c        at java.awt.EventQueue.dispatchEvent(Unknown Source)# f3 t# Q: Y7 G: @
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)$ _4 D/ ~. L& `- o& l% R
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)7 G1 m1 @- r, b. x* \
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
; b. a# j" a1 R$ l' f        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)9 J, B' y( O, `3 J0 D" C2 }
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)$ H0 l) `# ]0 i
        at java.awt.EventDispatchThread.run(Unknown Source)! |# f& r5 u8 @" @" ?
Caused by: java.lang.NullPointerException
: T" e3 g9 E) k) P3 I  p9 ~        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)1 ^& P( Z+ x* p/ Q
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)7 p* s' }1 m, @- Q% r
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)7 q! a$ u2 H4 z3 D
        ... 49 more
' @' b* s2 V8 A# }, j( O+ z7 C
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-19 00:41 , Processed in 0.017651 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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