设为首页收藏本站

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

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 6760|回复: 0

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

[复制链接]
发表于 2012-12-1 12:42:02 | 显示全部楼层 |阅读模式
程序编译无错误,但运行时,提示以下错误,无法显示设置的网格,请高手指点( \8 t6 C7 O+ H2 }3 `
ERROR [AWT-EventQueue-0] 2012-12-01 12:35:05,656 repast.simphony.visualization.engine.DisplayComponentControllerAction - Error while creating displays
% Q( L( S7 e0 \6 Q1 s" S* frepast.simphony.visualization.engine.DisplayCreationException: Error while creating display.
9 i0 o( I9 y7 V2 e4 L; n  h$ Y        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:102)1 T( l# Z# R' J% T2 R
        at repast.simphony.visualization.engine.DisplayProducer.createDisplay(DisplayProducer.java:44)0 b1 F+ u8 Z+ M6 b! a) |/ c: h
        at repast.simphony.visualization.engine.DisplayComponentControllerAction.runInitialize(DisplayComponentControllerAction.java:90)
; N% L& r6 f$ T( e2 B        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:207)/ ]4 U( J( z, z3 v- ]
        at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
1 K# h; m& ]' _& i+ a9 i, I( x        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
5 n  M' F6 b/ S8 J        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
7 V, T) j0 k: h) f4 a' a        at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)# y) Z3 v* X  |8 X
        at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
, p! j: J: c; W- f5 |/ V* s        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:205)
% E' b, P5 R4 m& Z        at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:376)
2 w/ Y, h5 d1 v& h        at repast.simphony.ui.RSApplication.initSim(RSApplication.java:159)
# x% s9 ?6 c$ Q        at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
- J+ j) Z2 T9 o% N        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)+ k8 y1 B* d% {/ _2 e
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
( c, Z! S+ `$ ~- q' `4 ?2 V        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
6 B9 G+ w1 H6 L! P2 m        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)  L  ]4 _8 I7 g/ g: T, p0 o! H
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
" T1 H; W( i$ |        at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)$ R: |3 g" r: E
        at java.awt.Component.processMouseEvent(Unknown Source)
" j. K( o; _: n8 n        at javax.swing.JComponent.processMouseEvent(Unknown Source)
( \' s% Q, c! ]1 Q9 e; |* N        at java.awt.Component.processEvent(Unknown Source)
  {4 M4 q, }2 R        at java.awt.Container.processEvent(Unknown Source)3 @# N4 h9 b8 R, \3 w& ^
        at java.awt.Component.dispatchEventImpl(Unknown Source): p4 d- A0 _" ^- E  a' `
        at java.awt.Container.dispatchEventImpl(Unknown Source)& W0 d* ]0 \5 f( j
        at java.awt.Component.dispatchEvent(Unknown Source)3 Y# m1 O- g3 ^0 y( e  {
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
% T* m4 b9 z% I, C        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source). G9 {3 \, q, F: G5 S! S
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source). V8 _7 b) D  A- @! H" D
        at java.awt.Container.dispatchEventImpl(Unknown Source)
' y' M( C) H3 ^5 |        at java.awt.Window.dispatchEventImpl(Unknown Source)
/ s. T& L' F1 z" a! e6 |% v7 s; e        at java.awt.Component.dispatchEvent(Unknown Source)8 h1 P# q' c) r- d
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
3 i8 V- G  _+ _# B        at java.awt.EventQueue.access$000(Unknown Source)9 o: y0 i7 W; ]' C% P* A
        at java.awt.EventQueue$1.run(Unknown Source)- g2 \7 @9 d6 ]8 s0 M
        at java.awt.EventQueue$1.run(Unknown Source)
! {: J- v0 a: z0 n        at java.security.AccessController.doPrivileged(Native Method)/ T& r% y7 x! X8 K- }5 s$ V/ x
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
; Q# U3 M# W9 c& c+ G2 x        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)" x- D  K- c3 K  O. L! s( D; @
        at java.awt.EventQueue$2.run(Unknown Source)
4 Y% c: y- t: V) A, \& d" {7 M/ N        at java.awt.EventQueue$2.run(Unknown Source)* N+ K5 ^. \2 @, Y
        at java.security.AccessController.doPrivileged(Native Method)
) F- S: `$ W3 E4 ~. F3 d! f        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
; j6 {5 J1 i" G8 g0 l' w        at java.awt.EventQueue.dispatchEvent(Unknown Source)' L4 J' x9 C6 ?
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)8 {/ `& l, d* k
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
- v( a9 c+ w$ }& Q        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
' B! @$ R, w( {8 \4 U0 ^        at java.awt.EventDispatchThread.pumpEvents(Unknown Source). ]5 t( ~6 @6 N' j. a3 m; o
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)9 n* a; S6 m+ x
        at java.awt.EventDispatchThread.run(Unknown Source)
, h: u. m5 h8 Z8 v6 p. w5 Y3 pCaused by: java.lang.NullPointerException
, }3 X; y4 E2 x+ z6 j; [        at repast.simphony.visualization.DefaultDisplayData.addProjection(DefaultDisplayData.java:60)# `9 k+ U6 j2 s! E) @' L
        at repast.simphony.visualization.engine.AbstractDisplayCreator.createDisplayData(AbstractDisplayCreator.java:23)
0 K8 [, ]! O  i, z8 x4 \8 Z        at repast.simphony.visualization.engine.DisplayCreatorOGL2D.createDisplay(DisplayCreatorOGL2D.java:56)! \$ M; j/ {/ J0 r* f8 m) h
        ... 49 more
) c+ v6 C1 w0 @
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2025-12-15 15:32 , Processed in 0.015135 second(s), 14 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

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