设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7515|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
7 m1 {4 A- A9 @+ RERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays  Y9 M) Z: V5 T2 ?" c  _" G
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.9 c4 b1 N) b+ L
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
4 A) D  }: m# V! E        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
. Y$ {0 x' g* R7 f9 S        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
+ o- g' n( l+ b% L: ]# E        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)( \; q% `) r; H4 p0 n# r4 w# A
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)( ?# C. _& I" V6 `" Q; h/ z: x, F
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
7 j& [& d( W/ M- Q) }' w        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)# L9 F; ]4 c$ T0 ]6 G7 K5 ]. v: m
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)) m* R! J. t2 ?$ I. P( I
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
7 U( S) n$ N( Y+ v        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)2 D, ?' O6 p9 o  m  r: Y& h; e
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
* F1 x& \% r& J" _        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159), i: K$ p. k0 d( T/ M; g8 o  y2 V
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17). a! n$ u0 C0 |1 K
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)/ L) `4 Z5 B$ {. }9 y) Z" |9 Q
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
1 {2 ?# L+ x. M" ^        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)8 V7 ?& y4 V3 X& F. _
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
; ?9 u7 a- F$ u. V$ w2 V        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)3 e9 `- j' K; o7 ?7 Y4 v
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)/ x9 M2 \7 k" \7 L
        at java.awt.Component.processMouseEvent(Unknown Source)6 B+ _5 l, h5 l) S8 K. w
        at javax.swing.JComponent.processMouseEvent(Unknown Source)' H, M( p( i% N) A) x" r
        at java.awt.Component.processEvent(Unknown Source)9 X4 T$ m/ A. D
        at java.awt.Container.processEvent(Unknown Source)
3 R9 \- {$ f' q2 M        at java.awt.Component.dispatchEventImpl(Unknown Source)6 X! d& J: Y' h& A
        at java.awt.Container.dispatchEventImpl(Unknown Source)( T* z  i2 T: e! u8 O  R( j# W+ m
        at java.awt.Component.dispatchEvent(Unknown Source)! H8 h! {0 f& z2 G0 c" l5 @
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
; h$ M- A0 T6 K2 _: _+ j        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)$ r3 _0 a$ z: K
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)$ x, h# d" A2 V7 ?* G4 ]$ M; }
        at java.awt.Container.dispatchEventImpl(Unknown Source)
( P( m3 [' u' E4 z8 p! P+ y        at java.awt.Window.dispatchEventImpl(Unknown Source)
+ u" N- d  {# g( p  {  ?        at java.awt.Component.dispatchEvent(Unknown Source)
: L5 ~0 g- S6 c1 q! K" J        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
- I5 \  C4 x# F! ?3 E  B/ X) Z        at java.awt.EventQueue.access$000(Unknown Source)
6 t- h' |; ^, C8 n" o4 e& F. Q        at java.awt.EventQueue$1.run(Unknown Source)
: ]5 D* `8 }1 p1 _& b% r5 O7 u: @        at java.awt.EventQueue$1.run(Unknown Source)
- Q% _/ L' `/ e' Z        at java.security.AccessController.doPrivileged(Native Method)+ S! e' w  c; [
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)& n0 K+ F; @+ v1 G7 o! g
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source): e! `/ e, l# T+ Z& z1 [! F3 B
        at java.awt.EventQueue$2.run(Unknown Source): t- Z% k# U+ y3 z" }
        at java.awt.EventQueue$2.run(Unknown Source)* _  Y' n# p: e' q  H. f) H/ [
        at java.security.AccessController.doPrivileged(Native Method)9 S( ~* X9 @, R* e8 }5 P6 o, O6 G
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
/ J4 n5 q; a, Z; B        at java.awt.EventQueue.dispatchEvent(Unknown Source)
% e* I3 |$ k! V# w8 u! N        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
0 J1 ~! F5 W* v: S' d! G0 s$ ?        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
" p# l6 l  L" X; F+ j: Y* `  Z7 I" _        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
8 Z: v5 v- a* d        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
8 y; v: R* l8 w# y1 Z1 t& X        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)( ^1 a% |3 g6 H6 ^& E9 H
        at java.awt.EventDispatchThread.run(Unknown Source)
- v8 O( }8 ?$ ^; z0 y7 YCaused by: java.lang.NullPointerException7 l/ ?5 z- Q' V
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)( j- U$ a- }+ D4 _* b  d
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)& z5 Y5 U% V% c" |1 c
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56); K" M9 M& P! W/ l3 B5 y( _
        ... 49 more/ J4 a, E# Z+ F! F4 e2 b. a
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-20 21:26 , Processed in 0.012513 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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