设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6353|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点' z9 s; ?+ x; s
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
/ |. }! }! O+ p  H+ n: Y" }2 Drepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.$ _; ~- D: I! n; g: g; k( s
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)) x6 h, n+ m: }  g
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
/ B$ H0 M) i) S' P        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
4 g; f1 P1 W: R& [' t        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
( Z5 A0 c; A2 ?5 r, ]1 y5 a) E' t2 G# n        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1), ?) b7 Z; Y' i2 x7 K
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
( r/ y# o' ]" w0 L0 [1 J        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)2 p* ]- g4 k& I; q( a/ m
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
% p. c& I* [/ O6 I        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
( P) y6 F, H3 I2 h$ i        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205); `7 c1 h; D" l
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
' _2 z, X% G  [& ]        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159); t# h0 @* m7 N* F
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
, O: f8 l2 x  t8 y        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
4 _1 c" H! ]" d  j+ u, q0 L  r        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
: t0 p, S9 J! m+ X4 I4 c* K. v4 v" E6 A        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)# d7 p0 w- @: \9 ]# W
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)* X7 Z2 `: p% j1 e. F
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)2 [0 ^: o( V8 p' e
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)3 B0 d' i8 q0 A  V
        at java.awt.Component.processMouseEvent(Unknown Source)1 F' i" p, ^2 g7 J( u1 O+ L% H4 o
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
* Z0 f/ H5 ]5 U6 H5 }        at java.awt.Component.processEvent(Unknown Source)2 `1 g; G5 F) ~  g& E
        at java.awt.Container.processEvent(Unknown Source)
7 p, c* U7 p3 m2 [; t        at java.awt.Component.dispatchEventImpl(Unknown Source)
  ?+ W! B( J0 D  x0 d  s        at java.awt.Container.dispatchEventImpl(Unknown Source)
9 b- M4 G' @4 M. {' M! c( A4 S        at java.awt.Component.dispatchEvent(Unknown Source)& b* w' a" J8 F! W# A
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
! y) |& e4 [3 y, ]- A  V  r6 w        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
$ x2 p8 ^$ |, z) j2 \        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source). u+ s3 R% z% T
        at java.awt.Container.dispatchEventImpl(Unknown Source)
- X0 ?4 \' Y" m        at java.awt.Window.dispatchEventImpl(Unknown Source)9 Z' Y6 i9 w2 m: O- [7 Q3 @: y8 T
        at java.awt.Component.dispatchEvent(Unknown Source)
  ^4 ?; [" p5 L! c/ @        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)) y5 b  _: x0 B
        at java.awt.EventQueue.access$000(Unknown Source)
0 d" L5 a* M1 _9 T; O3 n8 G. u0 I        at java.awt.EventQueue$1.run(Unknown Source)
/ ^6 [* X* g) d' L+ B        at java.awt.EventQueue$1.run(Unknown Source)3 P- Y. }7 K5 |* n7 {+ t: w7 w
        at java.security.AccessController.doPrivileged(Native Method)
; J) d$ [3 T# U4 D2 V        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)! }% C6 q1 C" t! H- [
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)# k; V8 O" k( [3 i; q/ A
        at java.awt.EventQueue$2.run(Unknown Source)
& b: N8 J% h) T' Z$ ?. w# r6 c        at java.awt.EventQueue$2.run(Unknown Source)
% j; R$ K" A; C; R        at java.security.AccessController.doPrivileged(Native Method)6 X8 o* p/ L/ P' b
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
5 ~4 Y& \( K6 s. p3 A        at java.awt.EventQueue.dispatchEvent(Unknown Source)
. l8 o5 N  q& g; t$ \- V        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)" I4 u9 K. Q2 [& O3 x  G
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)5 V6 V5 O1 r# N' b
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
$ _$ L" T0 d" T        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& m+ s2 k0 H! ~1 X1 m0 J, Y        at java.awt.EventDispatchThread.pumpEvents(Unknown Source), ^# s% G1 P4 G4 [1 c: F, s
        at java.awt.EventDispatchThread.run(Unknown Source)
2 A) t! W9 z/ q! dCaused by: java.lang.NullPointerException
  w# Q$ }& q" W# C( k        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)" D1 b) ~: X; H' F
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
/ q4 x+ T; n4 v0 u% i% L7 u        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)" @* N5 H. C* y2 d( k5 _# `& o
        ... 49 more9 q  S- `5 ]( ^- z" r2 ]" {& F
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-9-5 13:49 , Processed in 0.012571 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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