设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6317|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
# C6 ]5 U. i6 u& b* rERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
, W# G; P$ |& O4 p/ j+ n+ hrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
5 x: \" C; E& a9 p, u* w        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)! @" i8 P/ s  D
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
/ v( \, r( P6 q! x! D) N* a: Z        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)+ v8 }$ W9 G2 E2 `/ ]
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
1 m" d2 A, [, m( p        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1): b+ d3 k7 u* w: V) f: m" X- o
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
* G  O( T5 V+ F( L/ T4 C: r6 W        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
0 F5 k( E& q! U1 r. E        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
' A+ C: C  U7 i+ `7 X2 E        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
. u# W% Q& j1 d8 S& T        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
2 S  q' T% q' I4 N9 ?! J        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
& k# J' f; c' K- J4 ?( y9 f6 L        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)4 v& r6 j3 F  b2 f7 e. I; w2 r
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
% K/ F1 A7 T! K1 v# y        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source). g0 m# `0 @  V) l$ P
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)3 q) [# M8 Y2 [( M
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
- ~% r5 E4 h! P4 X, j, d" g        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)3 N' Q% u3 E. O( _2 g+ K8 n. `, |( d
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)) S/ U( r% _( q* l. M& O
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
% i1 r/ j# {3 Y$ F* b; Z( K        at java.awt.Component.processMouseEvent(Unknown Source): ~. {. F# y  S* w, j3 R
        at javax.swing.JComponent.processMouseEvent(Unknown Source)& n5 \" k. |  d6 l
        at java.awt.Component.processEvent(Unknown Source)0 ~5 ]9 w- ]- W1 {
        at java.awt.Container.processEvent(Unknown Source)* M6 V, v/ }) I; p- D. ?
        at java.awt.Component.dispatchEventImpl(Unknown Source)
* w$ c* O& k9 y$ v: ?* c0 i        at java.awt.Container.dispatchEventImpl(Unknown Source)
/ ^  N8 k9 R) o- s$ F        at java.awt.Component.dispatchEvent(Unknown Source)" n+ p! X* D  [9 B# i! U
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- X1 Z# V1 }+ d% \0 E7 t1 X$ m: g        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
0 T0 O7 c/ [2 R( O        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source). B) f4 w+ h( h7 r$ ~& a. y
        at java.awt.Container.dispatchEventImpl(Unknown Source)
" h% V1 o+ g0 o1 Z% `' W! N        at java.awt.Window.dispatchEventImpl(Unknown Source)
3 a8 Q& a( V9 Z5 y& ~        at java.awt.Component.dispatchEvent(Unknown Source)  B; g) x8 N$ U+ B3 E+ _
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
9 F9 X: s! N' `3 Q- w$ f  ?        at java.awt.EventQueue.access$000(Unknown Source), o9 z: d8 R0 x5 w1 a: \& a% u
        at java.awt.EventQueue$1.run(Unknown Source)0 O! ~" z4 t2 y( k* z3 s! B
        at java.awt.EventQueue$1.run(Unknown Source)
, v0 i( }& l8 L! V5 n        at java.security.AccessController.doPrivileged(Native Method)
7 Q* \$ f  ^. b$ c7 `7 t        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)$ l1 @+ e. t% q3 \
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source). ^' X* z3 n2 \2 G
        at java.awt.EventQueue$2.run(Unknown Source)! @$ l" K, p" u& W$ G5 W" x1 [9 N
        at java.awt.EventQueue$2.run(Unknown Source)
# r8 h2 Q1 a2 b( `9 j* K& N$ F; z( h        at java.security.AccessController.doPrivileged(Native Method)( T4 ~) h8 [4 ?' ^# n% i' ?
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)( B* ^/ j; _. Q7 b
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
8 |# B$ c; T$ A. N. l* g        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
- C  w" z" T1 |7 v' E3 W9 F        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)4 n/ J+ l, i2 ], W
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)4 Y1 r) b: k& ~! i
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
* F4 O2 x5 C' n3 b- n        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)0 L4 K3 O5 b4 h3 c# f3 Y, Y! s+ ?
        at java.awt.EventDispatchThread.run(Unknown Source)
0 o+ r1 T9 I' f5 P& Q- q, LCaused by: java.lang.NullPointerException' i& h" n' I& i! |
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60): Z) V$ v! [% F
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
" g! V1 H+ L! \( i        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)" ]- H% o" C7 z' S$ \" O
        ... 49 more
7 u" q4 p/ i  d; x, z
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-8-23 20:19 , Processed in 0.014181 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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