设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5468|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点7 L/ E8 w7 l1 u% U
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
) {" C  y- N& N# K8 J  [0 @repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
( o# z1 \6 e- A8 a        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)  i5 e: L# i# u4 N# @* Y3 C. V' z
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)$ s4 M9 d! p4 j1 `4 i, C
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)1 a. U  o' t: l. `
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
9 e' L4 y  `2 u' r, z# w7 h        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)* j  \- K/ K) P+ m0 i9 |5 {3 ^
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
; F! m2 v8 Q0 V- o$ m$ J, u        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
% S, Q( w1 p' Y  [7 u        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
/ o! V/ [. K, N5 B3 ?. ^( k        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)# o) x- }* b+ O' i9 t' W3 K
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
- B' ^2 T, Q$ x, `0 ?* K3 M" g" u        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
% Q* T/ ~5 N3 L( p5 q6 ]6 s% e! j        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)5 n% v- A$ v- x. R' n, i4 {
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)/ Y4 _/ o' Z4 q% w6 ?& }
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source); t0 |0 l6 o0 a& I4 b6 n" d
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
8 a# H" R. S! _9 j% G1 o        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
+ e9 k5 B# }/ ^* ^9 x        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)) g! E) l% f/ \& c# A
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
9 w+ a5 @* }2 B3 O/ e        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
( n: t! ?. u  I5 N# R        at java.awt.Component.processMouseEvent(Unknown Source)2 r4 v- O$ B1 d( W6 S2 ?! `7 q
        at javax.swing.JComponent.processMouseEvent(Unknown Source)4 k! Y; J; T  u1 ~
        at java.awt.Component.processEvent(Unknown Source)
, u8 i( `# l3 b        at java.awt.Container.processEvent(Unknown Source)2 x0 u  I9 S1 N+ d
        at java.awt.Component.dispatchEventImpl(Unknown Source)
7 m" |: f5 M4 x- f) E        at java.awt.Container.dispatchEventImpl(Unknown Source)
1 f1 v5 I9 P& p2 M3 ~8 R        at java.awt.Component.dispatchEvent(Unknown Source)* O) M9 u4 r. P8 A# g7 L5 U; A
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
; N( k' |5 W" V% ?. `/ o. I        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
. q$ _% D! r  _: O9 R# c        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
/ C2 `9 f+ F9 z+ `        at java.awt.Container.dispatchEventImpl(Unknown Source)+ q( q# m" j2 D/ @9 M& ]0 ?
        at java.awt.Window.dispatchEventImpl(Unknown Source)
; l  b$ l& N6 x/ e" {        at java.awt.Component.dispatchEvent(Unknown Source)
& s9 x: }9 V. k        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
' ~1 T' i( D, Z4 Y) g5 I4 u# N- o        at java.awt.EventQueue.access$000(Unknown Source)8 \& ^6 L' J. B) c
        at java.awt.EventQueue$1.run(Unknown Source)
: A1 i( I8 {9 d! a$ ], P        at java.awt.EventQueue$1.run(Unknown Source)' J/ \$ `( N. m/ R8 J
        at java.security.AccessController.doPrivileged(Native Method)
# j; p' `1 T, a8 |: `* E) W+ v        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
6 l+ J' _+ u) J) V5 L# k4 O5 `        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source); @; H0 [# b& ~, R) ~+ D! O5 K
        at java.awt.EventQueue$2.run(Unknown Source)0 ~! o. }  `; a5 y* E8 g
        at java.awt.EventQueue$2.run(Unknown Source)
/ g3 M( q7 E) f4 z" t$ u- s        at java.security.AccessController.doPrivileged(Native Method)
! m& [! W, G. q2 Y3 a& c& ?6 V        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)/ l+ W6 P8 [& a5 [" q  h  m
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
1 |: i9 i- X4 V! n! Z- {  P. ?        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)7 c( [$ D/ [9 }: e) S
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
& q/ h& |, }, p5 V; q/ D        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
# ]0 X$ C6 g$ v+ n1 o        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  T7 @; E" A5 V. k+ q3 E  G        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
. ~# Q8 ~. c) {2 E        at java.awt.EventDispatchThread.run(Unknown Source)( Z# q; a4 e, ^2 k& t' S; \
Caused by: java.lang.NullPointerException) }/ F& h3 [% T8 d( g! ]
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
! d6 o# t% c' @0 N% O        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
; g  e+ h, t' T        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
) g( h2 E1 Z: O. w5 T        ... 49 more
$ ?7 q9 T9 q1 s
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-2-2 01:59 , Processed in 0.013154 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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