设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5995|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点7 _+ Z6 x$ S) f$ G- ]! g
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
8 d2 X( ^, ~* L4 h+ {repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.4 h7 o+ w9 Q3 J+ f) o
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
1 J0 k4 [8 p% o        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
# v& B1 Z# l$ j& g! ~        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)) ~7 m) G! }: V+ a8 i1 c4 O4 k0 G* p
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)- }7 x  w0 G& W' F. ?4 a  O4 E
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)& z, d' _+ Z0 {" I) M& I4 r
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)% R& q  M1 t( D# M  _; j
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)# y5 h  D: m& l1 F( D) A
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290): }9 c" [4 {) d
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)- B$ H0 `. u: D
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)% x5 ~* k0 Z- S
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
8 q. c" o2 K6 Q$ z, E        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
, a* P8 ]1 K5 q: |) v        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
; B- h! |3 J! F& \& a6 Z        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source): P& X6 W# z7 [) V
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
+ r& C. C; P, S" }! i        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
& v1 P3 e" n3 t4 R3 p; e* R        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)  M2 T- J' l1 o# z# B$ J+ P
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
5 z& t" w: i. \& a% \, R+ B/ |- Q4 D        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
" O9 F# m3 P' U8 j        at java.awt.Component.processMouseEvent(Unknown Source); T: V& L4 U( f2 R7 l
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
3 @5 W' w" G) Y" g+ A        at java.awt.Component.processEvent(Unknown Source)
- q, A2 y1 B0 _6 u7 J: [        at java.awt.Container.processEvent(Unknown Source)3 u9 r, F: D; j0 \9 K
        at java.awt.Component.dispatchEventImpl(Unknown Source). R4 h. X( F# F! s
        at java.awt.Container.dispatchEventImpl(Unknown Source)/ E" }" M8 e% k1 Y& Z
        at java.awt.Component.dispatchEvent(Unknown Source)- S7 T6 e* A8 o3 w
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
$ h. G$ o# T2 p/ l  M        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)5 Y, T9 ^1 W8 x* _
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
0 s( y. I8 v% i4 l5 Z2 r8 M8 z        at java.awt.Container.dispatchEventImpl(Unknown Source)
* f; e* m$ Q9 U" f1 y1 }, @        at java.awt.Window.dispatchEventImpl(Unknown Source); E* m) N3 F# \- e
        at java.awt.Component.dispatchEvent(Unknown Source)! ?9 `- V3 J4 E. g+ v+ r0 [! C
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)4 Z* M9 ?# |$ R* h, v6 o* l/ l( T
        at java.awt.EventQueue.access$000(Unknown Source)
  {  |$ G* ]7 v        at java.awt.EventQueue$1.run(Unknown Source)% b5 Z8 o0 q0 L4 U# V
        at java.awt.EventQueue$1.run(Unknown Source)& o( C3 b+ M2 s9 Z# Y' f/ Z
        at java.security.AccessController.doPrivileged(Native Method)# S6 V  X1 U5 N9 e
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
' W( m9 O. n( |        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source); n1 ]& v9 P7 s1 f. S$ V  f$ ~; z
        at java.awt.EventQueue$2.run(Unknown Source)% w' p1 D& B5 x* x- \& r
        at java.awt.EventQueue$2.run(Unknown Source)8 g* Z, q7 X# b8 g
        at java.security.AccessController.doPrivileged(Native Method)
5 E9 \6 i  O  b3 u% O$ W( r        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
8 S% {: y" q* s# u" Z        at java.awt.EventQueue.dispatchEvent(Unknown Source)2 U6 `# B1 _: H" j" ]; t
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
: G. y3 B/ `! M& o8 {/ H        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
9 Z+ R' j/ q" A6 f7 P        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source). x& p& U& }& b( X9 E- }) j4 ?
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
1 F  D' ]/ y$ d3 |3 \. s" \        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)( j' i2 U" H6 y# @9 J( s
        at java.awt.EventDispatchThread.run(Unknown Source)' Y/ t8 L7 v3 K0 U- @
Caused by: java.lang.NullPointerException& ~) Z! U: S: K6 M
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
( H4 @  g/ q* l! o        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23), q+ ^; D$ T/ J- @. S1 |
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
( B) @7 B# u8 n5 e. r        ... 49 more- Y8 M6 c+ H0 B7 x& I1 [2 G
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-5-19 07:24 , Processed in 0.017766 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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