设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6549|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点" X$ ?" s# ]# R: |
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays: @, g6 k) E' J$ `# Z
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.% n  F1 s* v9 h$ \7 \" V; l
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)$ U5 [$ @3 \& q: d# ]' K8 W, {
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)2 A- _8 t! f; t9 O, ?; Z+ Q
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)  F* c# B$ S1 k+ j8 Z
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)4 l* v. ?7 q  _
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
1 J' |/ }# V( K# ~( F% X3 X        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)" q" K3 z8 i$ D: r! k% Q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)- I8 P: i: s# i4 f! e/ o
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) [9 V/ l' U) B( i* o$ }
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
3 w$ K# x# |6 M/ k        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
1 f& s+ {7 x. g3 v( m% w9 \6 `, L! J& b        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)! Q# S/ L5 m8 B4 i/ t2 j
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)# U& q/ @  X- L- P; {1 D. L& [! {
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
. z0 r" v1 `$ h# N$ _" v0 D        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)/ \% ~! U/ o0 \: b# x. h
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
+ Z  g$ @$ l, _& w8 K        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
* n: f- w- S9 l& B        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)3 r6 p5 w3 K1 `7 v# M; B
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source). I( ^1 n' l2 ?4 B0 D- a' s$ S
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
* K& l" A6 Z5 u. p* n) k        at java.awt.Component.processMouseEvent(Unknown Source)+ ^& x+ l# a$ d# s
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
& f  s1 ]: z$ L/ q( m6 Q# b        at java.awt.Component.processEvent(Unknown Source)( c7 b0 C3 l, T3 q0 d
        at java.awt.Container.processEvent(Unknown Source)
5 `( y- ~  U! ~. `  O        at java.awt.Component.dispatchEventImpl(Unknown Source)
' r  `9 x) i. X5 ]        at java.awt.Container.dispatchEventImpl(Unknown Source)$ J+ F" o7 h1 |9 {6 c' y4 g" f+ m& X
        at java.awt.Component.dispatchEvent(Unknown Source)% s6 l1 v# ^) Z! W: _& y3 L* |3 H' Y
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)( I# r- E3 }- ~5 Z9 i9 @0 f8 J% T
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. F0 H3 n* V% n0 B2 p& s8 u5 g        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
1 C. X* V/ y+ w9 @        at java.awt.Container.dispatchEventImpl(Unknown Source)9 _6 G+ m7 f/ u! ?+ S+ p& B7 B5 o9 u
        at java.awt.Window.dispatchEventImpl(Unknown Source)
" j3 ?, O6 n& j, K$ `        at java.awt.Component.dispatchEvent(Unknown Source)1 N  O8 z* e4 l! x% e/ K
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
2 l3 ?0 p+ t/ B; F        at java.awt.EventQueue.access$000(Unknown Source)
) w% ], [6 d1 J9 ?        at java.awt.EventQueue$1.run(Unknown Source)
, P, V, G/ r' x. T* j7 `0 ^        at java.awt.EventQueue$1.run(Unknown Source)& F: r, L* F7 a, Z  B
        at java.security.AccessController.doPrivileged(Native Method)
; S# E- s8 c8 Z! W        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)4 Q# {6 H. ~: Q8 d- ^4 y/ J" P: r2 t0 Q
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
# {$ N4 s* [6 ~) W        at java.awt.EventQueue$2.run(Unknown Source), ^/ c  A' Z. e% b/ `9 |
        at java.awt.EventQueue$2.run(Unknown Source)
3 c) n  O3 J! i        at java.security.AccessController.doPrivileged(Native Method)8 ?6 N$ @& m& w6 f6 }
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)5 N, @; Z# v4 S- ~0 m! r
        at java.awt.EventQueue.dispatchEvent(Unknown Source)7 @, p1 S6 A' q7 C( {  l
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
2 }% ?/ P; v" h- W) C2 t        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)) v( H# @/ e$ C( L% b" |( ~4 j) Z
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
  b6 i+ z5 e! q, s% d        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  X+ c% c3 a4 k) A. Z5 h) R        at java.awt.EventDispatchThread.pumpEvents(Unknown Source). X+ K3 ?& Z0 Y# B  B, N
        at java.awt.EventDispatchThread.run(Unknown Source)
. Q: ^& L6 u0 h  Q7 v: P2 tCaused by: java.lang.NullPointerException
) D2 N- K/ o. g* h5 t) b) l        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)2 A7 S" {, a2 o9 d' O9 @" y
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)1 b' A& {( Y/ g# w3 O3 X
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
# T5 S" z. ^. q5 A2 S        ... 49 more  j( I" V! W) P
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-30 11:28 , Processed in 0.014968 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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