World Wind Forums

Go Back   World Wind Forums > WorldWind JAVA forums > Development Help > Exception occur

Development Help Help for building applications or diagnosing problems with WWJ

Thread: Exception occur Reply to Thread
Your Username: Click here to log in
Image Verification
Title:
  
Message:
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options
Miscellaneous Options

Topic Review (Newest First)
06-12-2008 12:44 PM
satish
Exception occur

Hello all
I ran the example Annotation.java, initially globe will appear at some point of time globe will disappear , but it shows exception such as

Jun 12, 2008 5:03:04 PM gov.nasa.worldwind.geom.Angle subtract
SEVERE: Angle is null
Jun 12, 2008 5:03:04 PM gov.nasa.worldwind.WorldWindowGLAutoDraw able display
SEVERE: Exception while attempting to repaint WorldWindow
java.lang.IllegalArgumentException: Angle is null
at gov.nasa.worldwind.geom.Angle.subtract(U nknown Source)
at gov.nasa.worldwind.view.BasicOrbitView.s etHeading(Unknown Source)
at gov.nasa.worldwind.view.OrbitViewPropert yAccessor$HeadingAccessor.setAngle(Unkno wn Source)
at gov.nasa.worldwind.view.BasicOrbitViewAn imator$AngleAnimator.doNextStateImpl(Unk nown Source)
at gov.nasa.worldwind.view.BasicOrbitViewAn imator.doNextState(Unknown Source)
at gov.nasa.worldwind.view.FlyToOrbitViewSt ateIterator$PanAnimator.nextHeadingState (Unknown Source)
at gov.nasa.worldwind.view.FlyToOrbitViewSt ateIterator$PanAnimator.doNextStateImpl( Unknown Source)
at gov.nasa.worldwind.view.BasicOrbitViewAn imator.doNextState(Unknown Source)
at gov.nasa.worldwind.view.BasicOrbitViewSt ateIterator.doNextState(Unknown Source)
at gov.nasa.worldwind.view.BasicOrbitViewSt ateIterator.nextState(Unknown Source)
at gov.nasa.worldwind.view.AbstractView.upd ateStateIterator(Unknown Source)
at gov.nasa.worldwind.view.AbstractView.app ly(Unknown Source)
at gov.nasa.worldwind.AbstractSceneControll er.applyView(Unknown Source)
at gov.nasa.worldwind.BasicSceneController. doRepaint(Unknown Source)
at gov.nasa.worldwind.AbstractSceneControll er.repaint(Unknown Source)
at gov.nasa.worldwind.WorldWindowGLAutoDraw able.doDisplay(Unknown Source)
at gov.nasa.worldwind.WorldWindowGLAutoDraw able.display(Unknown Source)
at com.sun.opengl.impl.GLDrawableHelper.dis play(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayActio n.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.inv okeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas.maybeDoSingl eThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCa nvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanv as.java:277)
at javax.media.opengl.GLCanvas.update(GLCan vas.java:354)
at sun.awt.RepaintArea.updateComponent(Repa intArea.java:239)
at sun.awt.RepaintArea.paint(RepaintArea.ja va:216)
at sun.awt.windows.WComponentPeer.handleEve nt(WComponentPeer.java:301)
at java.awt.Component.dispatchEventImpl(Com ponent.java:4486)
at java.awt.Component.dispatchEvent(Compone nt.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQ ueue.java:599)
at java.awt.EventDispatchThread.pumpOneEven tForFilters(EventDispatchThread.java:273 )
at java.awt.EventDispatchThread.pumpEventsF orFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsF orHierarchy(EventDispatchThread.java:173 )
at java.awt.EventDispatchThread.pumpEvents( EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents( EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDi spatchThread.java:121)
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at gov.nasa.worldwind.globes.EllipsoidalGlo be.geodeticToCartesian(Unknown Source)
at gov.nasa.worldwind.globes.EllipsoidalGlo be.computePointFromPosition(Unknown Source)
at gov.nasa.worldwind.globes.EllipsoidalGlo be.computeBoundingCylinder(Unknown Source)
at gov.nasa.worldwind.globes.GlobeRectangul arTessellator.createTile(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.split(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)

at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.selectVisibleTiles(Unknown Source)
at gov.nasa.worldwind.globes.RectangularTes sellator.tessellate(Unknown Source)
at gov.nasa.worldwind.globes.EllipsoidalGlo be.tessellate(Unknown Source)
at gov.nasa.worldwind.AbstractSceneControll er.createTerrain(Unknown Source)
at gov.nasa.worldwind.BasicSceneController. doRepaint(Unknown Source)
at gov.nasa.worldwind.AbstractSceneControll er.repaint(Unknown Source)
at gov.nasa.worldwind.WorldWindowGLAutoDraw able.doDisplay(Unknown Source)
at gov.nasa.worldwind.WorldWindowGLAutoDraw able.display(Unknown Source)
at com.sun.opengl.impl.GLDrawableHelper.dis play(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayActio n.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.inv okeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas.maybeDoSingl eThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCa nvas.java:244)

at javax.media.opengl.GLCanvas.paint(GLCanv as.java:277)
at javax.media.opengl.GLCanvas.update(GLCan vas.java:354)
at sun.awt.RepaintArea.updateComponent(Repa intArea.java:239)
at sun.awt.RepaintArea.paint(RepaintArea.ja va:216)
Exception in thread "Running World Wind Task Earth/srtm30pluszip/0/0/0" java.lang.OutOfMemoryError: Java heap space
at java.text.MessageFormat.applyPattern(Mes sageFormat.java:415)
at java.text.MessageFormat.<init>(MessageFo rmat.java:350)
at java.text.MessageFormat.format(MessageFo rmat.java:811)
at gov.nasa.worldwind.util.Logging.getMessa ge(Unknown Source)
at gov.nasa.worldwind.util.Logging.getMessa ge(Unknown Source)
at gov.nasa.worldwind.util.BasicNetworkStat us.isHostReachable(Unknown Source)
at gov.nasa.worldwind.util.BasicNetworkStat us.isNetworkUnavailable(Unknown Source)
at gov.nasa.worldwind.util.BasicNetworkStat us.isNetworkUnavailable(Unknown Source)
at gov.nasa.worldwind.retrieve.BasicRetriev alService.isAvailable(Unknown Source)
at gov.nasa.worldwind.globes.BasicElevation Model.downloadElevations(Unknown Source)
at gov.nasa.worldwind.globes.BasicElevation Model.access$600(Unknown Source)
at gov.nasa.worldwind.globes.BasicElevation Model$RequestTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Worker.runTask(ThreadPoolExecutor.java:8 85)
at java.util.concurrent.ThreadPoolExecutor$ Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT +1. The time now is 12:32 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.