设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7828|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
; `3 y8 A1 V+ Y' f6 `; y. |ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays6 n& m4 `' J9 g+ e
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
% u' n# U. W/ r# r        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
6 L& J; H* Y. _        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
, |& ?* r7 e% o2 r* E5 d        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
' {8 e5 t$ ?5 n1 U- P6 Z# p        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207). B& o+ ^9 z9 B4 K
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
6 l) [5 i% F: v0 k/ x' q        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
9 G2 O: I2 n) V+ I: R# {- \) Z) v, z        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
/ {0 n# X: c1 X- g& ^# A8 |3 K1 P; O        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)* ^5 z0 B* d# Y/ c
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)7 K- X; q+ A+ O2 B! z
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
5 _( e0 S& d. `2 D& D        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
) `: D3 D' _: m        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159). _* l# d7 _, B
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)7 r3 ?: Z& _0 h8 @
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)% G1 w! ]5 a5 t; O; s# C  Y
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)* R: J/ U1 l' ~: `# \4 x9 s
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)% r9 \5 }- j' K7 B( u
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
* H  j  x3 Y" C) N) C- G  d0 W        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)7 V1 |8 T1 |7 c/ ?! m7 x  s$ M
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)4 C0 {: g2 [* O, g6 u* I
        at java.awt.Component.processMouseEvent(Unknown Source)( g$ F, B" l2 e* |
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
* u1 G- ~! |' k        at java.awt.Component.processEvent(Unknown Source): Y: B  k; S' ~: N5 L/ u  B
        at java.awt.Container.processEvent(Unknown Source)0 O: q8 t1 D  ]5 s/ |% M6 C( \: H. R
        at java.awt.Component.dispatchEventImpl(Unknown Source)
# c/ Z9 D& Q, V! s        at java.awt.Container.dispatchEventImpl(Unknown Source)
' b- f8 L( X. A/ C0 Y8 a7 w! z        at java.awt.Component.dispatchEvent(Unknown Source)) m" F7 d4 o* t1 N( k/ ~9 E5 p* m
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
% J! n1 L! k( h8 c5 ]& t! U        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
8 I6 ~2 ^, j5 v8 W" U        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)  E( Y* V- B- t# |
        at java.awt.Container.dispatchEventImpl(Unknown Source)) [8 h0 _& {1 i% f
        at java.awt.Window.dispatchEventImpl(Unknown Source)/ Y) y  C' T. @6 ?/ J
        at java.awt.Component.dispatchEvent(Unknown Source). I# ]. b, i) L/ ~- E  x. f0 L
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)7 }& L  ^$ M, G  v. F
        at java.awt.EventQueue.access$000(Unknown Source)
9 \- f5 s2 n' {        at java.awt.EventQueue$1.run(Unknown Source)
8 O$ p2 T& g0 L' a4 _3 c9 O; I        at java.awt.EventQueue$1.run(Unknown Source)
/ C( E3 y9 _# P+ m        at java.security.AccessController.doPrivileged(Native Method)6 s7 A  w& f  \6 g" t1 n! |
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
. W6 |9 K  C+ Q) V        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
3 g$ x. q8 N0 w0 D; U        at java.awt.EventQueue$2.run(Unknown Source)
! i8 k' j! G" B& G8 P        at java.awt.EventQueue$2.run(Unknown Source)
" W( G( x. X0 p& m! b        at java.security.AccessController.doPrivileged(Native Method)
$ P. ]- z1 u1 w2 _( ?# ~, D        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)& f- N- C% ?8 [: l4 ^
        at java.awt.EventQueue.dispatchEvent(Unknown Source)3 S7 r" t4 W" k1 `5 `5 s0 F4 ~) }
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
& R$ j3 s2 V: u& j! ]9 M        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
2 j) x9 K6 y6 o1 q3 v. H) Q! f        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
0 k* A' q" ~: b1 t% V( |3 c        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
! }  S6 `$ N8 w        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
. w1 h6 p; {- u# u) V: D        at java.awt.EventDispatchThread.run(Unknown Source)
5 n3 ^+ ^2 |( ACaused by: java.lang.NullPointerException
+ }3 y# m  ]2 {/ I$ X5 ^- [        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60), ]" k: E- U5 d
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
8 M0 ^" w" J3 b6 \        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
9 f/ p+ j5 t) K- Z        ... 49 more& s6 J2 `% g$ i- n9 j4 l
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-8-16 11:24 , Processed in 0.015071 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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