设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7778|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点  ~$ t) z& c; V- e1 \
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
1 H( c, r- e5 k2 Drepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
0 d6 q5 S3 A0 U7 q9 Y2 \5 w: t2 w        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)* a6 q: t6 U+ h4 R+ V; c
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)! B, P1 w( f6 `. ~& Z- R
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
" m3 }. _) r& l( G0 C- _- ^        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)% p: n# b  L8 W9 B
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
' G( P9 k. D1 Y8 v9 f2 V; ]1 K7 T* e        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
) ?; Z  r4 A; ~; N9 ?        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
0 u+ Q& k+ Z2 ^        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
+ T) X% s. u) ?        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
" A: s$ \* c4 I) ~$ j) |        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
1 h) o: [$ z- k* A# `        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
  g5 \% |0 D5 M0 _# f        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
/ ]1 h5 p9 @1 l1 T        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
1 E, a& J0 L. A4 v5 f: ?        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)4 I/ U; s9 }4 d' q8 G/ R
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)6 _! o6 y3 ^) r  q2 t& y
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
4 h; M# B3 t. T        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)1 k+ I2 g+ `) U2 h! |
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
8 t/ }, m) x( G* V) D        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
  s4 E( K, b' B7 ~0 n. D( ~        at java.awt.Component.processMouseEvent(Unknown Source), ]. H: z, Z. D+ \8 B
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
# }% ?; {; ?% u3 E- K  m        at java.awt.Component.processEvent(Unknown Source)
; G" f' @$ T/ o  h        at java.awt.Container.processEvent(Unknown Source)% f0 L: u+ S0 E' @+ u$ ~/ X( P+ S: s
        at java.awt.Component.dispatchEventImpl(Unknown Source)) o( r; J2 P( g/ \% b  C
        at java.awt.Container.dispatchEventImpl(Unknown Source)6 u2 L! S& W4 {3 w6 R  c+ {
        at java.awt.Component.dispatchEvent(Unknown Source)
" m' |9 G) p/ W6 |        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
# x/ ^  N0 A7 p' \( n9 q        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
; k$ Z- D) M% q        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
4 A/ A2 I5 W7 k# p4 q( F        at java.awt.Container.dispatchEventImpl(Unknown Source)" s5 i) u; v- s. Z1 V
        at java.awt.Window.dispatchEventImpl(Unknown Source)
0 f7 f5 W, S$ ~* r3 l" ]! J        at java.awt.Component.dispatchEvent(Unknown Source)6 u( }' ~/ f, k2 O- g# g- G  N
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
! X* T0 \8 o  l! E& m( d* O$ P        at java.awt.EventQueue.access$000(Unknown Source)6 y) R' v) c6 n" z
        at java.awt.EventQueue$1.run(Unknown Source)
) E$ A  m; ~! d7 g& a. w7 h8 k        at java.awt.EventQueue$1.run(Unknown Source)
0 ^0 |$ n3 z$ I3 U4 R        at java.security.AccessController.doPrivileged(Native Method), n- l! n$ x# ?. A2 ~9 \3 R
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source). C# W7 H3 E+ ~6 q6 [' D( K5 K
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)( {/ g  P' m9 q+ P
        at java.awt.EventQueue$2.run(Unknown Source); g+ ^: D- t$ E
        at java.awt.EventQueue$2.run(Unknown Source)+ f$ s  \1 {2 m& ^' i/ o0 m, w) ^
        at java.security.AccessController.doPrivileged(Native Method)( v/ G6 c! L) e
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
7 a$ u- I/ p5 O2 y! H; x/ w: |        at java.awt.EventQueue.dispatchEvent(Unknown Source)
' R( r8 W% T6 Q, h# q* C" t        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
! {( e& x3 J# z# E7 Y        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)# [) B' }. u0 U% I2 ~& H$ Q
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
$ P7 ~' w* y) l/ F7 T        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)" _% g; c8 _- `% }+ c
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
' U" B" g( r" E5 c3 ]' u: d        at java.awt.EventDispatchThread.run(Unknown Source)
. Q- q8 R( z" A( RCaused by: java.lang.NullPointerException& b5 R# s& u. ?. B3 K$ C. ]  `
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
% u1 b! g0 c: o) `# T) F9 w        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
$ l5 i; q; o+ j  j        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
: x; T" T6 \5 P  B4 e        ... 49 more
8 y- o8 u4 N3 J; L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-8-4 22:23 , Processed in 0.015254 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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