设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6177|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点% Y; k4 Y0 a- }7 L3 r# ^0 h
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
1 F5 d+ O" E/ [$ Y  C' yrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.( h/ C& n9 T) {' L
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)
/ c/ q7 P  q0 |# i* A        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)7 _0 w7 E& k) t3 H
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)/ _! q4 B" g' u4 p  e: Q1 F! l
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)7 O# m5 [! |) \+ w% [; d- S
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)# V. m$ S0 Z+ z0 D( q
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)( @% h- i, J. ~. Z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)3 S. S, `2 k& O; v' x
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
9 e$ M- A# c  O/ i1 f5 ~' o. }3 N6 l        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)! Z0 c3 c, S9 o
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
6 G$ _& Q$ O: V9 W& \- u        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
7 ?3 w7 _" X  U) t' f2 ^6 l/ G        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
5 q% D# H- L$ o0 l5 s        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
& s& q, v2 W+ Q0 v        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
1 Q( `) e1 q" U1 n6 M5 @        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
" U+ `/ P& A# q9 H5 S        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
$ n/ t# A- d3 b: c        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
0 n, k9 V9 }8 L6 f7 N        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)# Z5 Y  y; o' |- _+ r
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)4 Q5 ]8 Y" S) j
        at java.awt.Component.processMouseEvent(Unknown Source)
  i. k" N. \2 M3 T2 r% K4 v3 q4 x        at javax.swing.JComponent.processMouseEvent(Unknown Source)" z# E; ^9 X' p2 w; v$ S$ f: ?
        at java.awt.Component.processEvent(Unknown Source)
, U% e1 g  O# Z0 g9 f        at java.awt.Container.processEvent(Unknown Source)
8 ^; F* r# R9 r1 t; H# W        at java.awt.Component.dispatchEventImpl(Unknown Source)
3 t( H; Y8 U6 w        at java.awt.Container.dispatchEventImpl(Unknown Source)
$ Q! a; U. G, ^7 n! N        at java.awt.Component.dispatchEvent(Unknown Source)& i6 t5 J+ W' ~. I6 [
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
: i! p  a" O: E0 L        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
! }. ~3 j, Z$ B+ e        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)) H' m5 J8 s0 o0 w
        at java.awt.Container.dispatchEventImpl(Unknown Source)
6 z- N/ `9 h. A! ^; S        at java.awt.Window.dispatchEventImpl(Unknown Source)# a4 Z( v; d+ \% c  j
        at java.awt.Component.dispatchEvent(Unknown Source)
- W" K, C0 h5 J! J" O% \        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)+ B  W, k4 k% [4 [0 P  i& P" {8 @
        at java.awt.EventQueue.access$000(Unknown Source)
' r1 A! h% c: C8 Q  j9 ~, B% Q        at java.awt.EventQueue$1.run(Unknown Source)
; I" v2 w& \+ Z$ N( N6 X        at java.awt.EventQueue$1.run(Unknown Source)
4 R) s9 R. E# K8 k        at java.security.AccessController.doPrivileged(Native Method), r- |3 C7 C- \; j3 U, Y) U
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
1 `- j! u" Y- ~        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
) m: K% t( Q& F        at java.awt.EventQueue$2.run(Unknown Source); r4 U3 g; Y" K4 h  B
        at java.awt.EventQueue$2.run(Unknown Source): I5 V6 s/ i1 E) |( Y* j8 h
        at java.security.AccessController.doPrivileged(Native Method)
% z4 u& t, N2 V0 Q; \& B% |( p7 M: k        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)/ N) m" f4 h7 m+ ]: v# R
        at java.awt.EventQueue.dispatchEvent(Unknown Source)' c# _9 n2 F( r
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)$ R, E$ Q% z/ q
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
& L" w6 T) m2 V% R. Q: B        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
2 [5 x3 U/ A$ p  L" d        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
, n, R8 X- _9 D8 `; p# O        at java.awt.EventDispatchThread.pumpEvents(Unknown Source). U# y0 c6 y9 T% R4 n
        at java.awt.EventDispatchThread.run(Unknown Source)
& ]! S, C2 V* F# e% [3 u( H3 sCaused by: java.lang.NullPointerException! f( e+ t; P  X/ h, _1 q
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
% V4 y# R% x" H1 ]  I+ E        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
9 H6 f/ F' g- V" }0 t5 U        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)4 D! I1 Q) b/ g# `" |
        ... 49 more
9 l6 s6 B2 N0 G8 D9 A
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-7-10 10:31 , Processed in 0.012564 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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