设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6066|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
9 W7 K9 S# J7 c: rERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
) J6 a+ @' T  C$ E+ u# k/ Xrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
1 V3 j+ X$ m9 H; z! `# P; M        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)' b8 d3 N( T; [8 K0 j
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)5 u5 [$ b/ ~8 u9 m' Y
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90), p6 n& f5 h- U. ?
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)8 ]) D  L4 R+ X- |
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
  S# T* D/ {8 I- Z: P7 Y  s        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
1 V, w4 D. A/ S) j/ n, T9 s        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)( R. I2 \5 ^7 }3 ~* t
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
8 m1 O. U. u8 h3 q- k        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& F5 ?/ \  u6 O0 |
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)% R& @/ x0 W7 _/ o# t# o! ]
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)! B5 S- [6 N% n, M( V
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)/ p5 M" ^' `9 @: Q/ ?
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
: c! [: U* F, H        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)/ ]4 V' F" w- ]
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)2 G( L1 b, z2 n% a: J  ]2 [
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
9 P. Z4 ^4 }( l$ K0 H0 |) B" s! t        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
+ h" n0 S4 g6 k* \4 j) |: B        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
2 Y; I4 P' M" g# U        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)7 H+ D/ l+ k8 R9 }6 w
        at java.awt.Component.processMouseEvent(Unknown Source)
6 M& G! M- E7 O: b9 ]% x) ?        at javax.swing.JComponent.processMouseEvent(Unknown Source)/ x4 O( ?9 P  z7 s; G# M. [
        at java.awt.Component.processEvent(Unknown Source)$ l0 m9 U, u! W
        at java.awt.Container.processEvent(Unknown Source)0 k9 g! p1 M! y* T: D2 C
        at java.awt.Component.dispatchEventImpl(Unknown Source), [; N' ^6 X$ U  x$ {
        at java.awt.Container.dispatchEventImpl(Unknown Source)2 Y  ?- w1 h3 R  N& H6 L! S, G# K
        at java.awt.Component.dispatchEvent(Unknown Source)
% N( @+ a+ u7 S+ q4 n        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
+ W6 K3 Y0 E) K" H( z9 d+ j( A7 R3 \        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)' Y) d' H" s  G
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
7 j' S' r6 c% [8 k        at java.awt.Container.dispatchEventImpl(Unknown Source)3 z) d7 `' Z" T( _4 u( M
        at java.awt.Window.dispatchEventImpl(Unknown Source)
1 A6 R) b6 X* y/ L1 H& S        at java.awt.Component.dispatchEvent(Unknown Source)& J5 k0 Q& o( g
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
" m( q5 v; g  x5 o        at java.awt.EventQueue.access$000(Unknown Source)) S( l" u# u! M5 ~* E
        at java.awt.EventQueue$1.run(Unknown Source)
0 l6 q$ M! I9 h        at java.awt.EventQueue$1.run(Unknown Source)4 `/ g5 C8 B% V
        at java.security.AccessController.doPrivileged(Native Method)9 \0 Y+ G! F$ G( P
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
) \; s1 ]4 i# \1 Y% G        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
& _% f$ @: S. e  i2 {' Y        at java.awt.EventQueue$2.run(Unknown Source)% S3 D3 p$ G% b4 u. k7 M8 _% N
        at java.awt.EventQueue$2.run(Unknown Source)
2 v, c2 M; n6 M8 G        at java.security.AccessController.doPrivileged(Native Method)
. G7 U, }( l$ w        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)" Q6 S. x4 f5 |% y) M6 B, n
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
- j' H+ \9 J! F8 ?7 ~        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
$ O7 c! `# U' o% m5 R) N! j        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
6 ?" O6 y6 V7 V0 u( w  T$ O$ `3 ~        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)8 o: x! _" W4 g: v
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
, _, R+ ?- p4 |' \        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
+ D* n2 `  A3 K- R" X3 k2 G2 }% y        at java.awt.EventDispatchThread.run(Unknown Source)
2 e* U: b# H9 X& ?Caused by: java.lang.NullPointerException
* |, g' H! l6 M  L        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)! R# h& M5 t  a' @. \1 x4 n
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
/ u$ ^" e& B- E4 `  G  n        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
8 f  t3 F/ r( E1 l        ... 49 more
0 w3 D; ~' ~9 x9 }) t0 q! E
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-6-17 11:33 , Processed in 0.012693 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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