设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5466|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点, p8 z- h( P* G6 I7 A- J2 ?
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
: L9 G( t5 ]( Wrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
4 r. J9 G  v2 Q* R% A0 w        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
5 x. c4 d0 B& h) N4 I! l& S% l+ f        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
" ], @1 ~. a0 a" U' L! ]! H        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)' y) K& r; Q% q- i1 B8 B
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
: Z1 d. K4 y$ @& W        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
: V2 I, x; y# I( g  _        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)4 g' ?! {9 X2 H: z4 f% a
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)/ e7 n. s% A# x# l% u$ E
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
0 y9 H1 r9 m+ w: f        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& z0 q5 y- U* {
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)1 K$ ^; q6 `( \3 o
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)7 T5 S6 b/ F& I
        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
5 R5 r" d" ~/ U( ~& u8 s        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)3 P. g4 ^3 Y3 i! W+ Z1 O
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)9 F7 I7 V0 b% E& r, A  G% N
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)7 N. P3 u( X8 n5 O: z& {0 e+ @1 |% g
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)# A3 }/ O: A% B9 S
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)0 d9 e. ^  D* w3 @
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
! |; ~; X- u4 S* B# q        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)2 d. Y" G4 P; u3 \( F8 {
        at java.awt.Component.processMouseEvent(Unknown Source)
, I2 ?2 {1 i- f3 P, y        at javax.swing.JComponent.processMouseEvent(Unknown Source)& ]- r, M$ e( g! n
        at java.awt.Component.processEvent(Unknown Source)
* J& o0 e( |  @4 l6 c  w9 B3 T- @        at java.awt.Container.processEvent(Unknown Source); k1 f- B. M1 Z( {! O9 @+ S
        at java.awt.Component.dispatchEventImpl(Unknown Source); C4 V, u! v& U9 R3 F
        at java.awt.Container.dispatchEventImpl(Unknown Source)
# Y- |" W% V: C( F        at java.awt.Component.dispatchEvent(Unknown Source)' K# L: L! Y$ r% o9 R& k6 Y
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
( G* {; v6 j# C3 u4 `/ n2 K8 J        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)% T* A3 Z. m% ~2 o5 H
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source): p/ d5 m) u3 x7 d* e
        at java.awt.Container.dispatchEventImpl(Unknown Source)
0 `: Z- G, \8 V  H# i        at java.awt.Window.dispatchEventImpl(Unknown Source)3 ~& a, Y& E7 ^3 I- }
        at java.awt.Component.dispatchEvent(Unknown Source)+ F% _- G: c, Q! A4 h! F
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
' [# F2 a/ F5 H7 Y        at java.awt.EventQueue.access$000(Unknown Source)
9 X  A/ }' H- J. s# Y, F+ E; D( _        at java.awt.EventQueue$1.run(Unknown Source)
8 C4 l  ~# S: N$ n6 i( Y8 I9 K        at java.awt.EventQueue$1.run(Unknown Source)6 d5 k5 x& Q5 Z- J# z
        at java.security.AccessController.doPrivileged(Native Method)/ }- f0 v( Z' F+ H: D1 C# s
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)1 ^! h, N8 Z$ Q3 q! i( w5 v- c
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
! K1 d# ~; w* e# v2 Q, ?; A        at java.awt.EventQueue$2.run(Unknown Source); i4 `& K5 M- {1 @
        at java.awt.EventQueue$2.run(Unknown Source), N9 W7 k  b: X2 w8 @
        at java.security.AccessController.doPrivileged(Native Method)- |* U* |- m& d# z6 M4 y3 @
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
" A' G/ o% r5 P% D- `0 K' z% v  p        at java.awt.EventQueue.dispatchEvent(Unknown Source)# p* O( c, K  _
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  O" H8 s% c8 s
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
' Q4 _$ Q3 \  M2 U3 G0 m        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)5 t& p- o6 z7 b1 x/ H1 A
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)# D  E4 Q; e% a8 z, y/ Y
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)* a8 t0 v4 Y  H% \/ q# D
        at java.awt.EventDispatchThread.run(Unknown Source)
; ~. Z2 \+ Y6 N! g  \: ?Caused by: java.lang.NullPointerException3 S1 f. q- r# M( D$ X3 A) p
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)* S" a- ^! \+ \  ~; c
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
% [% V- c: x1 m* g1 u3 o* r% @        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
, B0 d, O& B- R* P        ... 49 more
+ d0 I) n4 G8 B7 P2 n
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-2-1 23:35 , Processed in 0.010071 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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