设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7114|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
. \& F  U3 y+ t( c% KERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
2 O1 B: f) Z- n* j3 w7 ?repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.6 [- a) U1 S7 t" v- \0 C
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)9 z7 w& u3 e' L/ _3 t# _2 F$ O
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
5 K- y/ b. s6 }  d. g4 b        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)' v& D! H% w4 _$ Y# u
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
; p1 Y' u  J) D: |0 j2 q6 A        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)8 S! E2 O9 Q5 L) W! P/ `
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
# h# b3 k& O2 L  ^5 u) Y8 l8 `        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
1 Y* ~. F1 ?3 z* h: b, d1 T6 V        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
6 w  l$ }6 n  g" m- e* x+ I        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283): b. P% m" H* W- H$ D0 _
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)5 G7 L; }) ]+ o0 v* q* [
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
' V$ }: K6 H+ ]" J( j2 s; G7 h        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)' f5 r* `, v1 N9 A) S7 y9 S/ ]
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
9 m& ]" Y& \( h- W        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
( n( I( V; U4 r$ I, X. M4 }7 O: t        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)  h: `2 h) ]4 Q1 s3 F6 [7 w
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
" d  \' C( K& u( s+ z0 Y5 ?; f        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)5 [2 i) J: K1 o7 f# j- u& J
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source): e" D. n! f) q# W' X" a
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)- O% @! Y4 g$ J% H  X2 g. _
        at java.awt.Component.processMouseEvent(Unknown Source): G% B% f6 d4 z3 k; {2 e& M( Q
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
% J0 B. f8 g" @) ]' P" p$ [, w" W        at java.awt.Component.processEvent(Unknown Source)" d9 D9 [+ E5 g7 K
        at java.awt.Container.processEvent(Unknown Source)% a6 D4 V) [" l, ~
        at java.awt.Component.dispatchEventImpl(Unknown Source)- C4 F+ t8 w2 Q* }' |
        at java.awt.Container.dispatchEventImpl(Unknown Source)
" Z5 W) c& r( ^2 [" u        at java.awt.Component.dispatchEvent(Unknown Source), B* J; b' C& U6 ~, V) [
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)* M, U& f% {0 R; q" q) I
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
5 r, d2 u* W4 o- y7 d        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
" h  f( O  u. I# K( J        at java.awt.Container.dispatchEventImpl(Unknown Source)
) g; W% y/ {7 g3 j$ K6 |        at java.awt.Window.dispatchEventImpl(Unknown Source)
% R9 X& l0 i/ o! y, P        at java.awt.Component.dispatchEvent(Unknown Source); I; [4 |' b# f6 A7 s
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)9 W. G0 x% I- K8 R
        at java.awt.EventQueue.access$000(Unknown Source)' \+ T; @4 q8 s1 b/ h  Y3 f) X
        at java.awt.EventQueue$1.run(Unknown Source); Q1 L* y" W8 w  \' D
        at java.awt.EventQueue$1.run(Unknown Source)
; w1 m; k, H( f! w) v        at java.security.AccessController.doPrivileged(Native Method)
0 {/ v) c: W. J, n        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
( S$ y. |% q% t" u& v& `        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
+ \( }8 F2 f1 v+ Z        at java.awt.EventQueue$2.run(Unknown Source)
, F# {. b7 f3 h+ U        at java.awt.EventQueue$2.run(Unknown Source)
: o; y+ p& F& b" h, M4 {- f' P        at java.security.AccessController.doPrivileged(Native Method)
/ R! G- W- S- r" L& m& p        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source). |  \; f4 D% l  Y0 R
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
. J( ?0 a9 Y' ?7 H2 J& W/ K8 N4 C        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)6 V: ]1 V! Y/ H) Q7 p" T8 Q- {3 p; S
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source). W- v8 k  o( Z7 {4 x4 e
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)' |' F  d8 n3 T- v& b
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)1 G9 T2 ?( W% r$ v9 _9 D
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
  i& C3 W5 ]! k0 a2 @2 U* J        at java.awt.EventDispatchThread.run(Unknown Source)' [) [5 y4 q% K% Y7 A( C2 G) p) e
Caused by: java.lang.NullPointerException, o* P0 |( O# y( D9 G) K
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
7 l2 m" l$ V" D4 e% \4 `  J: W& g        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)0 e2 x8 ^3 u* _* ]: X* b
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
* J* t7 Z2 S/ q7 R/ [        ... 49 more
( n/ w3 r( u* x& Y0 {5 k9 |9 ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-14 06:25 , Processed in 0.018248 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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