设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6525|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点" X; k2 {' u0 X- n: |8 P4 ?
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
, }! G9 c' m6 z5 Frepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
- }6 j# H% V4 q. n- T& ^        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)  p! E% @, R; ^
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)5 W- \& f' @7 z2 B5 _$ M9 Y
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
1 ^+ ~) |3 W; |; w: d; q        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
+ F1 Y8 g: Y; z        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
7 F  a! F7 K6 a8 J% V! k6 N% i, G        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)1 X% h+ {( B" i* v, I
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)/ d5 C1 a, U9 s5 q" o! Q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)0 A$ Y- P2 \( [- R! p  M8 j7 L
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
1 i9 k! Y6 B1 ~' }        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)- Z1 N, t( p0 G) n6 ?8 Y9 ~
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)* e! e: q8 F. `9 ~# V, ^
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
5 p8 a$ e+ b8 k% p9 H, \% m- ~  v        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
# L* N5 }  }  m+ L0 w        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
* ^7 l1 b: G* F. Z- I0 \        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
8 V& l+ G& m0 d: O        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
+ o8 l* W* H8 x* Y        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)$ f1 n8 d: [3 m0 @( t3 ~
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
/ L* [2 K& x3 E$ a) \- w+ @        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)8 C+ E$ t  n3 D
        at java.awt.Component.processMouseEvent(Unknown Source)$ x' A4 d' R6 Z/ _/ X8 ^9 ?
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
2 F$ P3 O  l3 s/ `% Q- n        at java.awt.Component.processEvent(Unknown Source)" J$ W) T, [) A  m: e# [& V
        at java.awt.Container.processEvent(Unknown Source)
- v' m( N6 @. {        at java.awt.Component.dispatchEventImpl(Unknown Source)
- O2 t- @8 o$ f8 E# C        at java.awt.Container.dispatchEventImpl(Unknown Source), Q) l( S) N1 v* Q" f
        at java.awt.Component.dispatchEvent(Unknown Source)
' `( D$ Y$ M1 O4 h        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
5 r0 t3 y- }. G        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
* f5 y2 `9 S0 P, G        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source); p0 A/ o/ H9 x+ f
        at java.awt.Container.dispatchEventImpl(Unknown Source)
" M/ S, }. J, J( Z        at java.awt.Window.dispatchEventImpl(Unknown Source)
, ?7 W( W' M" O+ V( _0 D/ [% S. ^" A        at java.awt.Component.dispatchEvent(Unknown Source)) t8 }) A& E' n# I8 ]% @& T
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
+ c% o" d: t' l        at java.awt.EventQueue.access$000(Unknown Source)
8 W) m# y$ m# O, Y* a' W) f% R        at java.awt.EventQueue$1.run(Unknown Source)1 ], Q+ R4 s" E* u, q
        at java.awt.EventQueue$1.run(Unknown Source)( e2 o7 r& j$ i
        at java.security.AccessController.doPrivileged(Native Method)6 |# }$ n. q+ P0 L! Z/ V
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
- |" s( G5 @* ?) L( ]        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)% u* y% `  q/ {) D% N4 l
        at java.awt.EventQueue$2.run(Unknown Source)) r0 R3 v2 `, `) q
        at java.awt.EventQueue$2.run(Unknown Source)0 Y8 g, S2 f/ L9 s* ~& L0 g% x
        at java.security.AccessController.doPrivileged(Native Method)
5 G5 Z, t0 H1 C6 R        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
9 t2 B# i* ^& E- b+ x& Z( h        at java.awt.EventQueue.dispatchEvent(Unknown Source)- O- C7 m' z& K7 w" K. @
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)7 i. ~9 h" d; u) z- P( a
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2 N  j, ?, `6 G) x4 l5 `/ i3 D  j        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
! {. b+ n# T  `: Q. `) I        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)' \% e- s% g( k. w4 |2 V9 Z
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
' D0 P4 p4 f0 w# @6 l% o        at java.awt.EventDispatchThread.run(Unknown Source)
2 O0 J/ t4 S" x; q/ b+ m5 DCaused by: java.lang.NullPointerException
9 o; |) A9 Z% m( _7 c) ?) z        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
6 P- H& v0 n1 |2 T" s9 B        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
& `( h" W' f1 Y) X        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
: K$ j  h( K& {( n2 D/ X: I. ^6 e        ... 49 more5 k3 {; q; j8 H* w( N. k
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-23 02:34 , Processed in 0.016408 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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