设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 5467|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点) U9 r. l6 r8 @- @) l" i
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
3 E, F* r8 {; T9 L, x6 ]' q: A7 e, u2 p# Yrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.4 y9 ^. }1 k& F6 c3 ?6 {
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)$ e0 K: ?$ \6 a# C0 {# U
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
+ ~$ w& r/ G1 {; }        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
8 }% P3 y$ {8 Z( n        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
, u9 W4 I& r0 E# b0 ~. t1 o- l        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)- i; _% n1 y- v
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
4 y1 P& S9 \9 J+ [        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
/ H2 @, }' o3 I5 L4 T- X        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)" E- x  D% c1 @& G' M
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)& ?! [+ w2 V, e6 `' `( s
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205); H2 |+ j/ q3 O) G/ O( M
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
% ^* _6 b* O% w9 [6 O, x        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
& q4 \+ n( B  B( K        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
$ f) I7 g  B) D$ ^        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
+ T2 C* h0 n' Z& _, I4 }) Z9 V        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
7 O( V) s' o7 _9 [& |5 c8 ?        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
! k, n1 {* p8 A7 F7 a8 u3 c; H1 |        at javax.swing.DefaultButtonModel.setPressed(Unknown Source), z+ K) J  x, U  u
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source). H5 V. j8 I4 m5 ?
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)0 J" h2 X7 j- h# y
        at java.awt.Component.processMouseEvent(Unknown Source)
3 h: u/ c# X  _+ p        at javax.swing.JComponent.processMouseEvent(Unknown Source); Y+ k7 w- Z" U$ {* m, G, O/ P
        at java.awt.Component.processEvent(Unknown Source)2 ~+ y; U$ M( ~; G
        at java.awt.Container.processEvent(Unknown Source)+ S: t$ N, D) P
        at java.awt.Component.dispatchEventImpl(Unknown Source)0 K$ R8 z* @% f1 u1 w1 S( a) L3 K% e
        at java.awt.Container.dispatchEventImpl(Unknown Source)+ h1 W, x7 |- n; I; t! G2 p6 b
        at java.awt.Component.dispatchEvent(Unknown Source)' G/ Z8 ^0 @! `; z
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)- c! H$ Z5 d& U+ ^  M4 J
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)) Z7 W) S' a  H% Y7 u! V
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
: L; r5 w) z+ ?# p) W( w  a: x1 u        at java.awt.Container.dispatchEventImpl(Unknown Source)4 r: i( W2 X' t! u1 a1 l
        at java.awt.Window.dispatchEventImpl(Unknown Source)# F- O% w% v; a$ D1 `0 R8 N0 P4 H
        at java.awt.Component.dispatchEvent(Unknown Source)6 c& ]- H# z, L  {
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
  F- ^, C/ ?0 b. _' _        at java.awt.EventQueue.access$000(Unknown Source)) Q; m+ G* T) K0 d
        at java.awt.EventQueue$1.run(Unknown Source)
- b3 f, t$ ^2 _% G& v        at java.awt.EventQueue$1.run(Unknown Source)) h0 X( N. S) R& V
        at java.security.AccessController.doPrivileged(Native Method); ^  Y4 J! b" |5 Q4 [' X# q; i/ ^$ R) K
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
* y( Q% k& v6 ?        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)' l& I1 @* p1 Y( B2 j0 w
        at java.awt.EventQueue$2.run(Unknown Source)$ B& P% F' y4 y* O, l6 j' Z- S
        at java.awt.EventQueue$2.run(Unknown Source)
. _0 t# n3 Q0 \/ Z! N        at java.security.AccessController.doPrivileged(Native Method)% G7 R9 C' M7 Q# Q5 m) j" {
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)! r8 D' x  S& k: m4 v
        at java.awt.EventQueue.dispatchEvent(Unknown Source)' a; z9 f( U. H0 I0 y
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)0 E  W7 _9 }2 q9 Q- }- V
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
  A! A- P6 d( S  v! v5 h        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- f6 z& D2 ]7 a6 c; V* r+ O  ?# p        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)2 l4 h) G+ B( I* A' r7 A' ]
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)! y) |0 I% Q+ ^' ~
        at java.awt.EventDispatchThread.run(Unknown Source)
% U1 K& y4 N& t; H9 |Caused by: java.lang.NullPointerException1 Q  V3 E: F4 T) j
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
" Z* g7 D1 P' s5 ~2 t. @        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)! @* F2 U5 M. G7 m9 Y& ?! |
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56), U6 A) v3 N3 t5 n" G
        ... 49 more1 j% d" [: W& [
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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