设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7151|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
8 |' v. R' M  v$ QERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays) n2 G) t, _# E( U9 S
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.+ a/ ~+ f$ ~5 E
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)' x! M/ N* b6 c+ m3 i2 u# Z
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)* B) @. x9 i% D. g0 o& p; V
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
/ i0 F/ l5 c0 d4 L9 N* u  F2 W1 G/ f        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
3 f! |8 j+ y$ F& |6 L        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)) r- }/ M/ q; a
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
8 x4 N0 R4 p" B* N" a        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
" A) Y5 b: }% m+ Q7 J        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)% r. a& B6 J: Z! C
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)! w' S8 N3 T' p! m9 W( i- i
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
* b; P( d8 e3 m* Z& p        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
5 _9 s1 v& h( \        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)8 n  d& \# v+ t- e0 Z/ @
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
' S7 z2 K  i* ]4 y/ @        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)6 p+ M! R0 |" L6 {1 w  w
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)9 O$ Z- J* Y" o) D8 m; x9 b9 F
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
& U" G8 j0 r1 B1 Y" r- h        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
7 K: X4 l! ?5 A, q; h" a, ]        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source). P4 q  E* x& x+ s/ h
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source); E: G5 A% W# K6 B2 f# M6 C0 r
        at java.awt.Component.processMouseEvent(Unknown Source)% Y9 J- ]& O) G4 a
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
4 L1 s. \  b! h4 u8 _        at java.awt.Component.processEvent(Unknown Source)
! g& T6 u" p6 j' o8 L1 X9 |# i        at java.awt.Container.processEvent(Unknown Source)
( U+ t/ P* L- w( ]) U        at java.awt.Component.dispatchEventImpl(Unknown Source)
0 h$ j: |* {) p6 S8 F        at java.awt.Container.dispatchEventImpl(Unknown Source)7 k! Y6 k* z6 N; V7 M" Z
        at java.awt.Component.dispatchEvent(Unknown Source)
- l8 ?& M4 |- A: r* i        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)5 r, e1 D: F2 W8 d
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
6 b5 {: @1 h: i6 D  t0 T        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)5 e* f" P, e; v7 o: n+ e
        at java.awt.Container.dispatchEventImpl(Unknown Source)( e: I" _. ?. k0 c5 g7 E
        at java.awt.Window.dispatchEventImpl(Unknown Source)
3 N; }' u- f* Q0 [# ^$ ~        at java.awt.Component.dispatchEvent(Unknown Source)& o) ~' C# |" X# w
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
9 W& P) D5 f5 C, |: D9 \3 e' `8 x' Q        at java.awt.EventQueue.access$000(Unknown Source)9 n0 B+ M% ?! J6 G1 d
        at java.awt.EventQueue$1.run(Unknown Source)
, y1 b2 Z' V) g! U2 o- ]$ N        at java.awt.EventQueue$1.run(Unknown Source)$ X( Q8 v+ |7 L
        at java.security.AccessController.doPrivileged(Native Method)
9 O$ z8 m- A; M$ O  T9 C        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)) M& [8 Z' n5 U* j6 @
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)3 T: r! w& x7 R! i
        at java.awt.EventQueue$2.run(Unknown Source)
& S3 O' H# k5 R        at java.awt.EventQueue$2.run(Unknown Source)
9 M& y, c' f# f7 o$ \        at java.security.AccessController.doPrivileged(Native Method)7 m7 y/ n. k- N  a
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)0 a. [& D7 Z6 A0 {  p; k
        at java.awt.EventQueue.dispatchEvent(Unknown Source)" C/ F  {1 Q2 r" u% w# v
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source): L# j- V* E# ]% n% ^/ e& B
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)  z8 p; M. [! D% U* l9 X
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)! r' C8 U: B0 O% k8 t
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)* x. t; {$ C+ J0 l  q0 X; R
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)/ ^$ B/ b- ]+ ?+ Z, J; {. ]
        at java.awt.EventDispatchThread.run(Unknown Source)- G3 p6 l8 ^: L
Caused by: java.lang.NullPointerException
% i9 Q. x: S( d        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
1 R$ h4 J/ d- O, Y0 _7 r) T        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
, k8 i8 x4 [! n) q0 Q# O) f1 B        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)! W: O+ l7 u" H( U( j' _+ ?' r
        ... 49 more
% ^8 T. u2 w9 C* P: ^4 U
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-22 13:28 , Processed in 0.014842 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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