设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7546|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
  ?6 D2 x0 [& K! s5 X, fERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays! x3 g4 e* c/ U3 d) [
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
$ [& J0 }8 ^' V        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
1 ?+ [4 d: K+ e  G# V* C5 ^+ A) E        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
0 Q5 K2 P6 b+ r' R        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
, s3 S/ m5 D3 }        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
3 e9 `3 {% H0 ~9 L8 i        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
+ `3 M. r, P; u- }% {( X        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)8 B9 W) @# {. k1 I
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
, E1 t3 G: v: E        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
  a( l6 j0 w1 w8 o# Y1 `        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
; V' P! a' [. @! M9 Y% J  E        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)* {# D# Q1 R& S1 M$ E
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)) K! Z# ^9 k0 w3 K
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
& U& h/ A( b+ }& t& F6 Q        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)( p2 p' v/ m' Z/ @7 Z
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)0 D) J; e& _# I# P1 Q
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)% j* [0 W# N9 ~* A
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)+ g* J  M& G  H3 }5 U2 N9 |
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
7 c* v) e: o, M; h        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
+ c* q. R' T7 j        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)$ o! K" [/ h% J) ?6 o
        at java.awt.Component.processMouseEvent(Unknown Source)# C9 n" f9 W( C( @! q& y
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
" t9 P6 l+ B. S* {& c) @        at java.awt.Component.processEvent(Unknown Source)& t7 m0 D  V) d( K0 E, N- B* s
        at java.awt.Container.processEvent(Unknown Source)
- R  ]6 v. G% o. }' ~' ~. M/ E        at java.awt.Component.dispatchEventImpl(Unknown Source). n- Z' \/ e" O$ U" X) S9 a
        at java.awt.Container.dispatchEventImpl(Unknown Source)
5 m* q) s' O7 O0 q' O" ]3 I        at java.awt.Component.dispatchEvent(Unknown Source)% ~# O$ o6 p. M2 u3 m- ]( c
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)* |# m9 |# W# f7 ^5 x
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source). S- V) K+ L5 Z6 t+ I' j3 L5 w
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source): v( Z, r; M# ^1 J$ U7 v' {" @4 B# o
        at java.awt.Container.dispatchEventImpl(Unknown Source)# V9 d; ~3 n9 y
        at java.awt.Window.dispatchEventImpl(Unknown Source)$ H* T- H5 ]6 A0 N* C
        at java.awt.Component.dispatchEvent(Unknown Source)
# z  e% G1 H" s3 u  N: @        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)7 c' G+ I! T1 g4 q) H, ]8 {
        at java.awt.EventQueue.access$000(Unknown Source)& W- C; B9 H9 Q# A# w7 h- D, ^4 J- B
        at java.awt.EventQueue$1.run(Unknown Source)
8 g: {. f% Z8 q6 a$ L" i! f- c        at java.awt.EventQueue$1.run(Unknown Source)
; u4 ~+ x( a6 q6 S        at java.security.AccessController.doPrivileged(Native Method)/ C/ m$ {& X7 I( z
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)3 z! Z, ?' y5 [  _- @) e
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source): a+ _: U! T  {0 T
        at java.awt.EventQueue$2.run(Unknown Source)  D9 H2 H7 s) S% W2 t( G
        at java.awt.EventQueue$2.run(Unknown Source)( G# }7 p' V! P
        at java.security.AccessController.doPrivileged(Native Method)
' ?0 D5 c% q) i" v- t4 m        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
7 b( y: c( E3 E9 B% v. @3 _" @        at java.awt.EventQueue.dispatchEvent(Unknown Source); j6 w$ Q- Y0 I; ?; H9 l
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)9 S4 Y& {% X; B
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)* `' b" U3 ?& I% m6 v+ L" L
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)1 q& X( y# H" ?4 c
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source): S1 k, B) k/ M# `6 [1 u
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
' H: a6 m5 Z: b/ s0 z        at java.awt.EventDispatchThread.run(Unknown Source)# T* ]; y0 y# G7 W# ]+ f
Caused by: java.lang.NullPointerException
, _3 O' L; w2 U% o4 o% v3 O. l        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)% M; t0 M6 k: z* g
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)0 F4 E/ B. d- [9 c
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)6 Y  o( D) _( L/ k4 V6 e9 J. M3 w
        ... 49 more
: R5 y* `4 I! Z# @; V+ R
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-7-2 07:34 , Processed in 0.012863 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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