设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5879|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点, y: `6 Z* y: j. r4 `8 }* k' f* J) u6 {
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
" `+ Y+ [8 [0 Y% I. ]- q+ \' rrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
' L$ R! D- j4 ^5 v8 Q6 Z        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
/ ~) P: O/ K) m1 H# x$ x; M6 I2 B3 j        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)8 Z  ?, o' s$ f5 [" {# p% P; `0 I
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
$ W6 u' h* O1 ^3 j4 R" L- t( o        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
; c( S# G6 Q+ `! s: b9 S. Q8 a        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
/ \7 s2 F% m0 z* L: f0 R! `# T        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
& h4 u' Y" Q: O" ]        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)8 @$ ~2 o( {2 F, |
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)" E$ ~8 S0 D1 G; N* L) c8 D+ Y
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& X3 P" ^2 m: `  L0 {* i/ }
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
- Q4 H+ ]. w( t2 `+ A8 N        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
6 e& |3 Z+ n( f/ d* O        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)7 x6 D1 M5 d& t+ Q3 y$ ^
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
5 `& Q1 V& v1 N7 M( h, t$ Z8 X        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)$ Z7 U0 \. |7 w0 D
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)2 r9 ~3 M& F3 j  Q& ~
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
+ B8 K  w: f* I1 x9 q8 v7 s        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
1 b& [0 R6 c6 d        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)6 S0 V0 Y' f9 ~, j& K
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)8 f0 |+ @9 O& z. ^" _1 @
        at java.awt.Component.processMouseEvent(Unknown Source)
  \3 J( ^# j3 _4 p5 c$ a+ K" g        at javax.swing.JComponent.processMouseEvent(Unknown Source)3 R: G. Q- d8 z
        at java.awt.Component.processEvent(Unknown Source)
7 S9 G% _: M! x* L+ w$ E6 L  A( T        at java.awt.Container.processEvent(Unknown Source)
9 h" x9 p" L/ D# u8 Q! R        at java.awt.Component.dispatchEventImpl(Unknown Source)
. W# ]# ~( y% Q8 q        at java.awt.Container.dispatchEventImpl(Unknown Source)
4 ]. e) ~' p9 H% |6 y8 A        at java.awt.Component.dispatchEvent(Unknown Source)  I0 n) w5 Y7 w: A( v' K, ]
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
; s* |  k: t1 ^4 ~& H# m        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
8 B1 U' [7 C1 Q        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)3 y) G0 \2 v2 D/ ]
        at java.awt.Container.dispatchEventImpl(Unknown Source)6 M: ~  Z% {% j5 y+ K
        at java.awt.Window.dispatchEventImpl(Unknown Source)
4 C& W2 A* B# J# G( O1 b+ T# ]        at java.awt.Component.dispatchEvent(Unknown Source)
. f9 d5 ]/ _6 P; O" D8 U8 t! a        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)1 F& T! c( h: D# q
        at java.awt.EventQueue.access$000(Unknown Source)* y6 M; R9 m( ]& v$ J1 r9 o0 B! {
        at java.awt.EventQueue$1.run(Unknown Source)* n% m) y! b. {) S0 J
        at java.awt.EventQueue$1.run(Unknown Source): K# G0 E( v9 S' L: b6 b' ~, u
        at java.security.AccessController.doPrivileged(Native Method)# {0 p1 ^% G- {# M7 p8 n; [
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)7 _& D( A4 j) u$ {* w
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
. n/ a/ h- j+ z  v/ Z( }        at java.awt.EventQueue$2.run(Unknown Source)
( [, n# @7 i3 c9 D6 Y% H        at java.awt.EventQueue$2.run(Unknown Source)
/ M& {" ?5 u: h  |7 `  }9 c        at java.security.AccessController.doPrivileged(Native Method)  i3 ]; i* E4 Q8 x
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
. y+ G1 G, [( W+ A; V) V) T# M        at java.awt.EventQueue.dispatchEvent(Unknown Source)
' m  v7 B& _- q6 K) |        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)' _: r+ |: n) p
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
8 m4 j  T9 o9 a& B! ?        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
0 }3 n% t, [5 m        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)" m( H& v' U- O0 Q% B2 A. `
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)! B5 _% t* ]' {0 z9 ?6 U
        at java.awt.EventDispatchThread.run(Unknown Source)- i1 l. Y1 n, D( y8 Z  d
Caused by: java.lang.NullPointerException
" N& U0 ?; D% O. C3 q) p5 Q" r        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)# H! r9 A! T) `
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
/ O3 m" F. c! s$ r8 @3 y5 m& A4 y1 B        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)+ H2 Z, J0 ]1 C
        ... 49 more
5 o- [6 W( S" }+ M+ k  H" Y' b
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-4-5 07:30 , Processed in 0.017664 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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