设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6951|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点2 S8 x1 F  u4 k% p
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
4 G, r/ ^3 s! b; ]4 Mrepast.simphony.visualization.engine.DisplayCreationException: Error while creating display., {( G! u! H) D% x5 n! W
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)( }! p# X  p# h: b! F7 k. g, r
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)  Y3 c- H$ p4 R9 N6 Y, ~
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
% h2 w7 r7 E% U1 X, {* g8 z: ^. w        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
5 w6 ]6 Z, d; @' ]        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)! ^& c, E+ D& ~* S1 n: [4 b" J3 [
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)# v, N# P1 G, Z
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
4 @9 h: l. |% r6 \        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
' H# i4 G4 A- t* o        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)! x% i1 P$ L- p
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)( i9 w/ h1 m" x6 K* g
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
( J; N' h9 k/ n        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
7 G8 M7 d0 i* ?2 _. P        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)0 ]: n) }+ y& G# C8 f
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
8 }$ H! W. g. X7 @9 o8 n        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)( Q& q' l" A. f! l
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
6 w+ T8 S) l1 f" ?5 `6 L" ]$ r- v2 u        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
" K: |- X+ x( B" N: F' q/ t: R        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)- D3 ~' h* T3 @/ f" e, t+ x
        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)6 L/ D! @. k( m9 R6 R$ |1 O
        at java.awt.Component.processMouseEvent(Unknown Source)8 S- [% [1 \' ]0 q( m
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
: H2 I  i# N8 u+ e, @. H- B        at java.awt.Component.processEvent(Unknown Source)
6 m( s+ E/ I" K2 \/ r2 ?6 Q, j        at java.awt.Container.processEvent(Unknown Source)
4 x0 i6 I- H$ @        at java.awt.Component.dispatchEventImpl(Unknown Source)
. v0 o- a7 ~7 M, Z& e; e        at java.awt.Container.dispatchEventImpl(Unknown Source)
- l6 T/ r9 e( A  F9 a/ b8 ~        at java.awt.Component.dispatchEvent(Unknown Source)# p* v- Q% W4 [/ P$ L& Z; }2 h4 S
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)9 V6 F. |. E6 D5 X. a
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)8 i. Y! m8 M' a7 }9 G- x" z
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
2 h6 s& v: j5 x: c7 l4 A4 R& O        at java.awt.Container.dispatchEventImpl(Unknown Source); o" L: \" v5 a* T+ w3 {# B
        at java.awt.Window.dispatchEventImpl(Unknown Source)
6 k0 m1 c8 O/ J$ R; ~" t        at java.awt.Component.dispatchEvent(Unknown Source)) `. V1 T5 I) F; n8 }7 k
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)( i2 @4 k0 T; l
        at java.awt.EventQueue.access$000(Unknown Source)0 I: h! u6 q# j, r/ r% _" e( L6 N
        at java.awt.EventQueue$1.run(Unknown Source)4 ^8 r0 D7 _! B* Z
        at java.awt.EventQueue$1.run(Unknown Source)
6 e1 }( z5 O# _3 ~- ^( T% n9 g7 N  t        at java.security.AccessController.doPrivileged(Native Method)
; q, {7 u! X2 d        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source). d4 G9 P; I2 U1 j
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
. x" z- u5 _: E1 E        at java.awt.EventQueue$2.run(Unknown Source), J. j) ~8 F3 }7 Y' Q9 n6 F6 y
        at java.awt.EventQueue$2.run(Unknown Source)
6 e& l' T7 x, f3 g' x& f9 _: O        at java.security.AccessController.doPrivileged(Native Method)# A3 `3 C2 Z+ {1 y1 K5 K; d# X# Q
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)) j" M. O; p/ b+ \
        at java.awt.EventQueue.dispatchEvent(Unknown Source)! [; j1 A# [' v+ Z+ J! A. y
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source), A6 M) H. ?  `/ f
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
3 n$ u; [4 I4 ?# {9 _- V9 I# A) K$ h        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source), U& M' {8 L8 g, }9 V, ?6 c
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
& X- g  n8 v7 z# ?2 O8 [+ z$ T# |        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
. O* ^: d% `  W) m5 a        at java.awt.EventDispatchThread.run(Unknown Source)% d* v5 O* R# `/ s" H% G$ g2 G
Caused by: java.lang.NullPointerException, |  r* R& F2 I, L( f" ~# J) Y
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)' V/ @3 m6 @* V: y) f; i: j# @; Z* }
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)$ ~* |) a# h$ A2 d/ t: w
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)
+ K$ G4 c& x, H0 y        ... 49 more- A; R3 B; q0 R/ }* e/ w$ [
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-2-5 08:24 , Processed in 0.013692 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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