设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6065|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
6 g. N8 U  m- L6 y8 T) [# B6 KERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
- R9 ~( B/ x% h  I1 orepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.6 h: ]7 S8 x5 x
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
9 k, l0 B3 R6 v  P: \! A8 ]        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)6 V; s/ e! t% ~6 E
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
+ @* c1 _) @" v# V+ ?8 \- g        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
% M/ B& W& f. K0 i) f        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)5 D. j( e  i1 F' J) I
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
6 T$ C, m( w$ i2 R5 k        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
! [( J' J1 c- v        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
5 X% C' _2 N# u        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283), e7 Z1 X& h! ~
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)/ v; V- A) V/ D# V8 \
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)9 ?+ m$ ?) o/ Q- [
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)  G9 F7 V  R, T$ ^
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
$ a0 M; g+ }" F9 T$ B' y* Y9 K        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
2 ?' F$ _& z$ d, o        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
1 U. \( f! @* u: c. n1 D8 d) s/ x& a/ ?        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
, ]" @0 \6 T2 A/ o! X1 P        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  }2 a  Q9 I5 Y        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
9 F3 ?) W# M! \0 w7 p+ b" ^! g        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)- w* G6 s7 B: }: R
        at java.awt.Component.processMouseEvent(Unknown Source)
6 u! e$ V5 a5 p: U* o* R+ e4 ?        at javax.swing.JComponent.processMouseEvent(Unknown Source)5 c0 C. C; P# ^( U# H1 F) f5 f! d
        at java.awt.Component.processEvent(Unknown Source)
: l- U. F2 N" M0 M+ [% g        at java.awt.Container.processEvent(Unknown Source)
% B  K5 }; A: g! J! V6 e0 z+ y# i        at java.awt.Component.dispatchEventImpl(Unknown Source)0 O: y3 b  S* m+ {- v- x, u
        at java.awt.Container.dispatchEventImpl(Unknown Source)3 z8 i( A/ w; [$ \- N
        at java.awt.Component.dispatchEvent(Unknown Source), j  P6 _2 X2 g% P+ t3 I+ w7 s
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
( b2 e; q. d/ w% ~" d6 O8 J        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)& B1 J2 }+ b2 n6 V' z! f$ @" C; a5 f2 k
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source). F& p% h7 ?# X+ m9 g
        at java.awt.Container.dispatchEventImpl(Unknown Source)
3 }. h* \& W$ Y) ?        at java.awt.Window.dispatchEventImpl(Unknown Source)! [1 E. }' a6 U9 H, U3 T4 V
        at java.awt.Component.dispatchEvent(Unknown Source)5 a$ {% L7 m5 ~
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
4 ^/ z' d* E( e( ?        at java.awt.EventQueue.access$000(Unknown Source)# A1 ^* Y- l" U/ @2 ~
        at java.awt.EventQueue$1.run(Unknown Source): n; o7 e/ Q; F4 j+ {. H
        at java.awt.EventQueue$1.run(Unknown Source)8 c" A) T4 [0 N' V
        at java.security.AccessController.doPrivileged(Native Method)  ~( H8 M) V4 H; z5 w& p0 ^
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
7 K- H- z4 g# n! L1 ^        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)2 o% a9 b* ?- ^
        at java.awt.EventQueue$2.run(Unknown Source)
/ K3 }6 ], c0 X& M        at java.awt.EventQueue$2.run(Unknown Source)0 O  U* o! q  y* m! X% J
        at java.security.AccessController.doPrivileged(Native Method)
3 ^  c/ T* n3 i- ?8 K7 t        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
/ O1 e+ A% |3 H: Z" r1 ^6 R: B4 @        at java.awt.EventQueue.dispatchEvent(Unknown Source)" a; |7 u6 P7 I& E
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)4 E- z; V- q) G- v3 a$ z; F
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)2 _/ R3 _4 Y+ a6 l, x4 V$ V& X+ q
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source): _. [$ g, a0 ]6 E
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  Q! J/ G$ o/ q4 [2 C        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
7 g# O0 L" q) x& s" c1 @        at java.awt.EventDispatchThread.run(Unknown Source)
( P/ k/ Z$ d, Q" jCaused by: java.lang.NullPointerException
* L  E- e: U3 ~. a, e        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
8 d! U' b* ?- e) C) }5 N. S+ X; e        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23), k6 @7 X9 ^5 \0 k
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
% s5 z. ^! ]9 R2 o( ~% C        ... 49 more) @5 P$ m1 h8 O& g
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-17 10:21 , Processed in 0.016254 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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