设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4885|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
% O3 f: S! @  N+ p# y8 WERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
! @( g; O9 c: j( q  urepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
1 ^1 ^3 L0 ?8 u/ K' p8 ^        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
+ ~. d8 r4 n4 N* B; w        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)7 y8 U4 e, t1 a) D
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
- n+ N7 M( @2 V        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)# K+ q" M9 p! ~: K
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
! w* K" z3 v2 v6 S        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
/ k8 J* J! |" W2 Z# `, L  H/ T        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
1 \5 ~2 G% z+ Q$ [# s        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
9 z8 S0 i" _5 b# D. Q8 U        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
' X5 Q2 B( u" C' n" y( g        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
0 M% l8 W8 k5 U        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)+ M- ^( D& J0 v. R
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)! @3 s; |% t) W  }; r$ p
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)2 O) B, ?$ e9 i3 X& F/ C
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
2 V  O$ L* K4 w+ D2 U- s4 B        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)' l+ [; M) X" {
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
; r/ B6 ?+ P" f$ G' E        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)2 A5 y3 \2 V8 \8 |, {8 k3 t( b
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
4 @+ |' B6 [6 h% j: l' I+ l) E4 F0 a        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source). \# ?/ {6 z( l0 f$ C' v0 x
        at java.awt.Component.processMouseEvent(Unknown Source). p* b+ t2 E/ j/ H
        at javax.swing.JComponent.processMouseEvent(Unknown Source)7 s5 w8 o4 d" v! V8 P8 [5 s
        at java.awt.Component.processEvent(Unknown Source)4 I2 [6 b5 ^( X$ W$ s4 U' S6 q' E* \
        at java.awt.Container.processEvent(Unknown Source)
6 ^* B. @/ u/ p4 |- s/ q        at java.awt.Component.dispatchEventImpl(Unknown Source)
+ k1 J. q1 M1 Z5 {5 ?- Q        at java.awt.Container.dispatchEventImpl(Unknown Source), O1 D. D, v: E! Q
        at java.awt.Component.dispatchEvent(Unknown Source)! @/ D) ]( r9 E' n9 u0 G% I
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)! I+ }7 e0 l0 J& H2 ^
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
, D1 |% v, d- R1 D" T6 A9 x        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
5 `* ]9 j0 v1 X        at java.awt.Container.dispatchEventImpl(Unknown Source)
& N# U6 ^6 @( S9 q3 H        at java.awt.Window.dispatchEventImpl(Unknown Source)/ C' a  m, }5 _: l
        at java.awt.Component.dispatchEvent(Unknown Source)
1 Q% H- ]8 B# O+ {- t* t! d& c        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
- ^" v6 H* c* D, g. {+ n5 x        at java.awt.EventQueue.access$000(Unknown Source)
  s& U0 Z  \  ~# [1 I        at java.awt.EventQueue$1.run(Unknown Source): o% }5 Z4 s! X0 q+ f1 k1 \
        at java.awt.EventQueue$1.run(Unknown Source)
1 Q& z8 S' \. E        at java.security.AccessController.doPrivileged(Native Method)
: c- j+ P' n8 Y; O3 a        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
7 }2 {9 `3 i" a        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)9 [$ A# ?% e$ R/ E
        at java.awt.EventQueue$2.run(Unknown Source)
6 r; a/ A  |, A2 U. d        at java.awt.EventQueue$2.run(Unknown Source)* ^1 i2 h( a  m. ^7 m& H* u. o
        at java.security.AccessController.doPrivileged(Native Method)% w" h- q3 y8 I
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
1 G  M2 G9 o  P( Z+ m% w        at java.awt.EventQueue.dispatchEvent(Unknown Source)  G/ H! s( s4 D7 T9 B
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)# o' X) S- f1 f  U; W7 E4 W/ D% {
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
1 `% c/ M+ x/ z0 Q6 R        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
& x/ e, A! }+ B+ O; p" E, }        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)8 h5 X1 W/ e5 J1 y/ n
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- C  k! P0 `; T0 r1 N) J' t        at java.awt.EventDispatchThread.run(Unknown Source); |' e" Y# i6 g. ~
Caused by: java.lang.NullPointerException: i# ~) m- @; K, `$ G& V
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
! x1 t9 h- q1 d' |6 K9 S        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
' W8 g! E* H* q2 l' r- N# e7 K) D2 `        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
! J1 e. l1 w" F& t" ]4 L0 [4 R        ... 49 more% H7 G1 ]- N9 v; q4 p7 Y
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-5-18 08:45 , Processed in 0.012949 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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