设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6468|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点
+ y- A3 k6 A" fERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays; G+ k, X% H. @
repast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
7 ]0 m. R+ x. v- i: Y2 }7 W        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)2 u; Z' k$ }+ F6 T9 c
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)2 j+ l# C, a0 _9 m  ~7 g# P
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)# y3 y0 A' M6 i% p$ C7 q
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
1 Z& K- `0 r$ Z9 S* ?        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
, t7 ~3 ~7 S4 a% ]1 F+ X9 l        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
/ f0 O" k8 x  m' Q        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)- w5 e1 e8 M  H( }+ @! V
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
# g8 ]1 f. U( m; k: _        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
( ^" i1 X$ w$ O- p' E        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)' b4 N( u* q2 m; T8 v0 k( o
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
( ?( h1 ], C6 O/ r, i: K        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
3 q. W. i' C$ l- Z0 L        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)% O8 c4 q3 e8 C$ I
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)4 C5 J) f' {0 U, L; Q" ]: D2 V
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
& a2 O* v, Z! `/ V; w* Z! `        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)$ p1 U( j/ l5 Q/ X8 D
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
- g! O2 S& U6 X5 W2 X        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
+ r+ L. l! {2 \: o0 x        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source), t" t: i. U1 e$ R
        at java.awt.Component.processMouseEvent(Unknown Source)1 q0 Y" j% a7 f* ?' Q* f
        at javax.swing.JComponent.processMouseEvent(Unknown Source)- x* l# r! b8 S8 g- l
        at java.awt.Component.processEvent(Unknown Source)
" `1 T" D- z" R2 x% S, k& R. s7 w1 E( @        at java.awt.Container.processEvent(Unknown Source)
3 G4 a  G1 R6 t& H% @; X        at java.awt.Component.dispatchEventImpl(Unknown Source)
. }4 [5 x6 c. ^/ W$ D7 g' n        at java.awt.Container.dispatchEventImpl(Unknown Source)+ T* m( h) F8 ]# M* B
        at java.awt.Component.dispatchEvent(Unknown Source)
3 F. e) J" b  P0 a        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)$ ?% Y4 K2 k# b* j0 T
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)( @" s! B1 u- ]% S7 U
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
% t  W8 M: P+ _* p        at java.awt.Container.dispatchEventImpl(Unknown Source)
+ z4 l) K& R5 @8 R8 ?3 Z7 d8 t0 K% ]        at java.awt.Window.dispatchEventImpl(Unknown Source)3 u8 j5 G9 e! p% a' w6 k2 L
        at java.awt.Component.dispatchEvent(Unknown Source)
9 W/ `1 f; p" G$ _8 B. F        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
5 E# \1 R' i+ P* U        at java.awt.EventQueue.access$000(Unknown Source)  w7 |( }( w3 C  ?" ~5 X
        at java.awt.EventQueue$1.run(Unknown Source)6 p9 `5 h1 g4 ?% @) f" p
        at java.awt.EventQueue$1.run(Unknown Source)' i' o: T& y; }6 n0 i; ~! u' A2 ~7 n
        at java.security.AccessController.doPrivileged(Native Method)
1 V* m4 k* _- A8 E8 ]        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
9 n8 @* P1 b; v        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
6 ^. V+ f5 b. Q/ C+ H/ w5 a        at java.awt.EventQueue$2.run(Unknown Source)
/ l) R" C! x7 i# A        at java.awt.EventQueue$2.run(Unknown Source)5 U3 Y; _$ T+ F7 D. I/ i
        at java.security.AccessController.doPrivileged(Native Method)
( U4 @; R: b1 g        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
  N7 m# r" l, L% B" b' a        at java.awt.EventQueue.dispatchEvent(Unknown Source)
9 s% N4 p7 O0 X& u; T) B        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)  @* c0 z! X; e. b  t
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
* J8 p* v, |& m        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
! @/ s( R8 v9 Q        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
% U$ z0 r( m, y5 Q        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
2 x, ]( ?" r& P- @        at java.awt.EventDispatchThread.run(Unknown Source)* H9 C, _/ q# |# i2 z+ [
Caused by: java.lang.NullPointerException
, z$ u  @6 u3 S( n" R        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)/ Z& x& ~5 y2 j5 ?2 ?2 p1 z
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
2 r. d$ m+ M1 l' h        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)+ c$ U" x& `2 a
        ... 49 more
' H: i) I( O- ?, g5 L
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-10-3 12:08 , Processed in 0.022165 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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