设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5230|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点  B2 N3 M% P0 e! J, m' Q8 h
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays+ f4 E5 o9 i! {* h, r
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display., F2 p4 W8 G' I* ]) l
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)+ q* F0 R2 z" c
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)2 N; d+ A+ }  U1 Y) S; N. V
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
0 [. y) }) n4 b" d        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
! T. u3 y! I0 s" t3 `        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
' N+ K% w" u; }# R$ C- \        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
+ l- f1 K5 S. r" R$ k        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)1 l9 w' B; |  x) Z) A7 V: H
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)- [2 @& {& u, z( _
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)( c) Y$ G, {. U; s; C
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
* \9 v/ D: U4 D' C- ~0 M) }        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
- G9 G' H& Y+ m2 v0 M        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)1 j& H! U& z5 i& d# k* @7 P( R) ^
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
! R2 b/ L/ e% ?5 Z* G        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)3 I- H1 M) H' l. }9 q" G9 `
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
% ?  t: T- M; X8 V        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)6 w7 |- j' t) i" @4 Z: U7 G
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)3 L& D1 H9 U& h6 l) y: b4 n5 `- `
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)1 z% _! T" f- g$ q
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)7 r. j: r2 j4 P: f% T) j- \
        at java.awt.Component.processMouseEvent(Unknown Source)4 ^8 @8 @1 g9 @, i& J# b2 Z
        at javax.swing.JComponent.processMouseEvent(Unknown Source)+ f% C  P* O% d/ l0 F( @5 p
        at java.awt.Component.processEvent(Unknown Source)
* _  c8 R9 e! D" J        at java.awt.Container.processEvent(Unknown Source)
" \: q2 w) @! H9 z        at java.awt.Component.dispatchEventImpl(Unknown Source)7 P) X5 C1 z' ^* \$ l9 k
        at java.awt.Container.dispatchEventImpl(Unknown Source)
: Z) ?7 o7 [' Z7 N        at java.awt.Component.dispatchEvent(Unknown Source)" x( I, u7 `, Y9 Y6 e' Z( H# l' Y
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- Y8 H! q/ \0 B6 I        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source): m8 |; e: }' L
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
& h9 k; x" l; A2 ]2 T( d7 Q        at java.awt.Container.dispatchEventImpl(Unknown Source)
) y; `1 O" r4 M% W        at java.awt.Window.dispatchEventImpl(Unknown Source)
# q7 c3 C( p" `        at java.awt.Component.dispatchEvent(Unknown Source)/ {3 I- ?# s( C  A' W" y$ d& K
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
5 q8 C" |5 \# S$ N+ J" e- T1 y        at java.awt.EventQueue.access$000(Unknown Source)7 m) Z/ }3 p7 X/ M! E/ r
        at java.awt.EventQueue$1.run(Unknown Source)
( c- x/ j6 @9 q& K        at java.awt.EventQueue$1.run(Unknown Source)
  Y* E$ b' s+ ?( N% M        at java.security.AccessController.doPrivileged(Native Method)
9 N0 z+ v+ S8 Q( s! _' A        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
* e- k( t0 |* `4 {        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
& J: L& }+ r5 w1 u7 p        at java.awt.EventQueue$2.run(Unknown Source)
; T3 c. l" x" \; w) D4 O0 H* Z        at java.awt.EventQueue$2.run(Unknown Source)1 N5 g# F1 u  s7 z
        at java.security.AccessController.doPrivileged(Native Method)
" X! @. L& m. a6 o        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
; ?- |1 V% r9 k        at java.awt.EventQueue.dispatchEvent(Unknown Source)3 y" G/ g$ m$ _" n
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)) y% q* r/ k9 t, T' r# ^. v
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
: V7 O) k: |: n% Y        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
% Q$ w4 T8 v5 `+ V9 P        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)& g4 C( [+ h) U% ^( G
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)+ \7 [; G2 W" w+ `' S& O
        at java.awt.EventDispatchThread.run(Unknown Source)& U, }6 h' m7 h2 O8 Z
Caused by: java.lang.NullPointerException
4 T6 v* d6 }5 F7 w        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)+ J1 ]* b+ ^  H- ^- D% k
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)! S2 s! t: M3 J+ e3 Y$ t& Q+ E
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
, [9 N) h$ _" B9 y! ~3 p2 \) f  T9 e: g        ... 49 more
7 L# a6 ]$ I* C: m4 [1 Z. K
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-21 20:24 , Processed in 2.382363 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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