设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7141|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点! h% w, `: ]" d  W* |: I( w' J1 d8 }. n
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
; F7 W  o# U% X+ trepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.$ U0 ^9 C# Q" i' J3 V7 G6 o) P
        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)2 T& F& x5 T( N) U& O5 b/ |# r
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)
4 w' t9 ^/ G( G: W        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)5 b# O6 F" f+ O4 o4 U. A$ A: I( D8 P
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)
+ ?- a4 F& t. w: _        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
8 R4 J. O- f" k; D        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
- T+ y" t* h% E+ J8 g        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)' r, j; j& T$ |' E+ _
        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
. t( Q, s" \/ S2 y6 `$ ]- t; t        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)* }& O8 ~. N- D1 ]
        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
8 x/ b  Y. u8 @6 W' ?        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
$ A  F3 q7 L$ v        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159); ~* Y/ o* e/ x7 Y2 i
        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
0 l2 C( r/ U. H        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source): J& r+ G2 _% j$ |% i
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
8 Q& Q& h& @$ K2 F        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)# q( o5 U2 `$ p3 w* K0 ~8 r
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
2 n* `$ B: m% v        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
% k% V8 M+ d$ r, A9 L        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)# S' z) k% \9 H
        at java.awt.Component.processMouseEvent(Unknown Source)6 F+ D) W+ o0 U) P# Q
        at javax.swing.JComponent.processMouseEvent(Unknown Source)2 W2 d, x! S- C6 w5 k" J
        at java.awt.Component.processEvent(Unknown Source)
5 X3 S; y1 x& t! C        at java.awt.Container.processEvent(Unknown Source)
2 @6 j: W' i5 ~0 P        at java.awt.Component.dispatchEventImpl(Unknown Source)
, v6 \& }9 I6 x- a        at java.awt.Container.dispatchEventImpl(Unknown Source)
, @9 a# o$ ]+ q6 u        at java.awt.Component.dispatchEvent(Unknown Source)
2 p& _% O3 |( o! T. Q7 F        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
9 E7 x; L+ `. ^3 g        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
! C$ `  B! e/ I# H1 W8 Z        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
; U) T- w  j$ [/ |- G        at java.awt.Container.dispatchEventImpl(Unknown Source)! [/ s5 x" V' `5 [/ |4 h. J. v
        at java.awt.Window.dispatchEventImpl(Unknown Source)! l4 d8 l2 q8 B( R5 T/ ~
        at java.awt.Component.dispatchEvent(Unknown Source)' P- q0 t) Z: V+ w6 ~$ j/ h
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
( Z4 n, ]  L0 `& j2 ^7 `0 N        at java.awt.EventQueue.access$000(Unknown Source)
5 ^0 b* {- o* @. J. l4 n0 T        at java.awt.EventQueue$1.run(Unknown Source)
1 c8 t3 a. I9 A$ g% Z        at java.awt.EventQueue$1.run(Unknown Source)
9 k4 c4 W& v/ Q* X        at java.security.AccessController.doPrivileged(Native Method)
+ L) e3 O' W- R7 f0 e0 `) E        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
& ~. U2 M! F- Q        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
  u: r2 ?* ]3 r7 J8 ^        at java.awt.EventQueue$2.run(Unknown Source)
+ [5 T$ V* r) Q' m. w        at java.awt.EventQueue$2.run(Unknown Source)
" M8 k' z5 m+ D- v- Z3 I+ ^3 x        at java.security.AccessController.doPrivileged(Native Method)- b) ?; P% p8 h( f4 d) }9 {) ]
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
# m) X' [0 R8 c/ Q! {- ?1 s        at java.awt.EventQueue.dispatchEvent(Unknown Source)
( P9 B" S9 O9 K7 n4 |) n5 L        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
$ ]+ {1 [2 A9 |$ V        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)/ r2 w( g# O8 x1 T3 M
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)7 p% Y, \0 f! A6 h0 u* {; c" ~" v, q
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)- _' q$ x$ e9 c7 m
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)/ B0 u% N; M4 [1 \/ n/ t
        at java.awt.EventDispatchThread.run(Unknown Source)2 U2 M' S, F" K- x
Caused by: java.lang.NullPointerException+ x, s# U2 ]' \( L; P% j7 V+ ]
        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)
" d. s6 k. R$ K$ n/ G        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
# d' t3 D& J, k- r: s) v        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)! R  \$ I& s: l3 T/ L+ s
        ... 49 more
6 S2 r; C5 ^( c: o& t
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-3-21 11:21 , Processed in 0.017114 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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