设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7481|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
; C( f, o  \$ T1 fERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
, j" P& L, u$ Trepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.8 C+ n+ M& R6 o' k
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)1 X2 S& H& w8 V0 W; i6 O6 `
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)4 T. s) H' P5 k! p' M: N
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)/ h; Z- Q3 z& H- E4 U0 l  o  v
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207), q( a4 h. R! \. u- Y1 ^
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
! k  X) S* }" x+ G0 R3 W) o- h        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)9 d7 a1 k8 z8 i; W
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)7 X) U9 V" a+ a5 a! O
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)* G# {. [& n+ E
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)' F' B, r7 \2 q
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
! N0 i0 t$ t& X* }        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
9 m3 J& o& }0 b% J2 l        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)7 ?+ d. o' Z- c$ z, y: }4 ]
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)# L+ a- G1 w  D# Z  b# V" u
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)! @3 f0 b9 Q6 e- p. A
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
" L/ ^, f# r; `9 ?4 j        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)  E( w: ?- }( D8 ~: k
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)3 w" W* M3 l- I) Z/ ?9 S% M
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)" A) \6 z# K; V! H* P* e( y5 L
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)  p/ J4 K5 V0 D: K  w9 @( `3 @
        at java.awt.Component.processMouseEvent(Unknown Source)
: g' v; g' @. O0 y" t- V7 m# ?        at javax.swing.JComponent.processMouseEvent(Unknown Source)4 |7 C' {8 ~9 T5 @+ ^
        at java.awt.Component.processEvent(Unknown Source)* V& N  b7 T% V9 T! i
        at java.awt.Container.processEvent(Unknown Source)
: x+ W; b; Q6 F9 e3 Y        at java.awt.Component.dispatchEventImpl(Unknown Source)" V1 ^9 D1 ]! A5 c% o
        at java.awt.Container.dispatchEventImpl(Unknown Source)
5 d0 z/ M8 L8 S, M! \% X6 A        at java.awt.Component.dispatchEvent(Unknown Source)
; D9 N, s4 h7 c2 C" J7 c        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
3 O) _7 X: @5 V' X        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. I1 P9 p: S9 u0 d1 K        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)6 l  w& u/ z7 a  [7 h
        at java.awt.Container.dispatchEventImpl(Unknown Source)3 C# S9 ?4 H( B! F* S( V1 q
        at java.awt.Window.dispatchEventImpl(Unknown Source)
" |9 E3 G/ c3 e' v( ]4 c% S        at java.awt.Component.dispatchEvent(Unknown Source)
* k2 }7 y* G  P& ?$ A        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)) Y3 `# v1 I0 Q2 A
        at java.awt.EventQueue.access$000(Unknown Source). H& ^: U1 Q4 u# W/ t
        at java.awt.EventQueue$1.run(Unknown Source)1 o1 L8 ~# B. T& g. l& ]
        at java.awt.EventQueue$1.run(Unknown Source)6 r- G' b& J9 _
        at java.security.AccessController.doPrivileged(Native Method)
2 a  x- Y" S. T& p0 u( Z, _        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)6 j  k. }( B( D& N* {; U
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)9 w% G! R+ q7 |! o/ a% G7 q) R2 Z
        at java.awt.EventQueue$2.run(Unknown Source)
4 }' A& U4 i1 |% ?' f' D) l        at java.awt.EventQueue$2.run(Unknown Source)' W8 w. J, v/ t( p9 t8 t/ K4 e
        at java.security.AccessController.doPrivileged(Native Method). e- o$ V8 i* {& W0 Y1 N' a
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
0 K! c+ ^1 B+ w        at java.awt.EventQueue.dispatchEvent(Unknown Source)
2 \, X0 G, Z% ^4 B, u        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
) i3 b" X* T( C, z  }' x0 j5 R- [; q        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)% q1 }: B1 {$ S& ^5 L+ E+ P! [# m
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)& d" G1 N& P3 Y0 @& G0 \* `
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)) E4 N) I% a5 `- a6 {4 @
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
9 `) M. Y8 `2 ]0 H        at java.awt.EventDispatchThread.run(Unknown Source)
" W. J2 r  X$ r1 _! kCaused by: java.lang.NullPointerException
: h* h6 j% z9 R7 }' [        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)2 z# d* L6 ~9 c6 M) F# D, ~! G
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
3 e/ I/ W9 f2 @& {        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
# M0 P( S% {9 Y7 G- r: b        ... 49 more# N9 j0 [( s$ _6 x; B3 [
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-13 23:25 , Processed in 4.635142 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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