![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,624
![]() |
I am using 0.6.795 and updating to this has been without major problems.
Win XP Sp3, jdj1.7.0 With 801, 804 and 812 I just get a black screen with these errors: Code:
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
May 4, 2011 8:45:25 AM gov.nasa.worldwind.AbstractSceneController pick
SEVERE: Exception encountered while picking
javax.media.opengl.GLException: Method "glBindBuffer" not available
at com.sun.opengl.impl.GLImpl.glBindBuffer(GLImpl.java:372)
at gov.nasa.worldwind.terrain.RectangularTessellator.beginRendering(RectangularTessellator.java:720)
at gov.nasa.worldwind.terrain.SectorGeometryList.beginRendering(SectorGeometryList.java:84)
at gov.nasa.worldwind.terrain.SectorGeometryList.pick(SectorGeometryList.java:197)
at gov.nasa.worldwind.AbstractSceneController.pickTerrain(AbstractSceneController.java:465)
at gov.nasa.worldwind.AbstractSceneController.pick(AbstractSceneController.java:549)
at gov.nasa.worldwind.BasicSceneController.doRepaint(BasicSceneController.java:27)
at gov.nasa.worldwind.AbstractSceneController.repaint(AbstractSceneController.java:256)
at gov.nasa.worldwind.WorldWindowGLAutoDrawable.doDisplay(WorldWindowGLAutoDrawable.java:323)
at gov.nasa.worldwind.WorldWindowGLAutoDrawable.display(WorldWindowGLAutoDrawable.java:219)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
at javax.media.opengl.GLCanvas.update(GLCanvas.java:354)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:255)
at sun.awt.RepaintArea.paint(RepaintArea.java:232)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:347)
at java.awt.Component.dispatchEventImpl(Component.java:4869)
at java.awt.Component.dispatchEvent(Component.java:4619)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:662)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
May 4, 2011 8:45:25 AM gov.nasa.worldwind.render.SurfaceTileRenderer renderTiles
SEVERE: Exception while rendering layer gov.nasa.worldwind.render.GeographicSurfaceTileRenderer
javax.media.opengl.GLException: Method "glBindBuffer" not available
at com.sun.opengl.impl.GLImpl.glBindBuffer(GLImpl.java:372)
...
|
|
|
|
|
|
#2 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,041
![]() |
This will be fixed in tomorrow's build. In the meantime, you can remove lines 715 - 723 in RectangularTessellator.
|
|
|
|
|
|
#3 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,624
![]() |
Thanks Tag
I make a backup of my main work space before updating. I will wait to update that. The quick response was GREAT! |
|
|
|
|
|
#4 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,624
![]() |
I tried a half dozen times with several updates including 817.
With the SDK unchanged HelloWorldWind runs. When my package is brought in and trying to run my app: Code:
May 7, 2011 4:36:10 PM gov.nasa.worldwind.WorldWind createComponent SEVERE: Exception while creating World Wind component gov.nasa.worldwind.globes.Earth Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: gov.nasa.worldwind.exception.WWRuntimeException: Exception while creating World Wind component gov.nasa.worldwind.globes.Earth at gov.nasa.worldwind.WorldWind.createComponent(WorldWind.java:221) at gov.nasa.worldwind.BasicModel.<init>(BasicModel.java:40) at nlneilson.NLNww$AppFrame.<init>(NLNww.java:24) at nlneilson.NLNww.<clinit>(NLNww.java:54) Caused by: gov.nasa.worldwind.exception.WWUnrecognizedException: Unrecognized document config/Earth/EarthAsterMergedElevationModelAsBil32.xml at gov.nasa.worldwind.terrain.BasicElevationModelFactory.createFromConfigSource(BasicElevationModelFactory.java:64) at gov.nasa.worldwind.BasicFactory.create(BasicFactory.java:54) at gov.nasa.worldwind.globes.EllipsoidalGlobe.makeElevationModel(EllipsoidalGlobe.java:1024) at gov.nasa.worldwind.globes.Earth.<init>(Earth.java:28) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at gov.nasa.worldwind.WorldWind.createComponent(WorldWind.java:216) ... 3 more Code:
Model m = new BasicModel(); With my modifications to worldwind.xml HelloWorldWind gives errors: Code:
May 7, 2011 4:58:23 PM gov.nasa.worldwind.WorldWind createComponent SEVERE: Exception while creating World Wind component gov.nasa.worldwind.globes.Earth Exception in thread "AWT-EventQueue-0" gov.nasa.worldwind.exception.WWRuntimeException: Exception while creating World Wind component gov.nasa.worldwind.globes.Earth at gov.nasa.worldwind.WorldWind.createComponent(WorldWind.java:221) at gov.nasa.worldwind.BasicModel.<init>(BasicModel.java:40) at gov.nasa.worldwind.examples.HelloWorldWind$AppFrame.<init>(HelloWorldWind.java:32) at gov.nasa.worldwind.examples.HelloWorldWind$1.run(HelloWorldWind.java:49) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) |
|
|
|
|
|
#5 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,624
![]() |
Resolved, maybe.
I was able to debug using my C++ app to enable/disable layers. I made a few changes in the 817 SDK download but didn't make a note of what they were. WWJ 817 seems to be working OK with or without my C++ app now. When updating again I will make notes of what I had to change. Last edited by nlneilson; 05-08-2011 at 04:21 AM. |
|
|
|
|
|
#6 |
|
Super Moderator
Join Date: Nov 2006
Location: Mojave & Oxnard California
Posts: 2,624
![]() |
Updating to 818 worked OK.
After updating and getting it to work I checked the SDKs worldwind.xml and changed mine from Bil32 to Bil16. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| worldwind java sdk problem | research4681 | Development Help | 14 | 08-19-2010 10:57 PM |
| Custom terrain tile visibility/altitude problem | Peter Skvarenina | Development Help | 6 | 02-26-2010 10:55 PM |
| Problem with terrain and its modification | bako | Development Help | 1 | 02-23-2009 05:35 PM |
| WWJ SDK to abstract JOGL to make a map server | mikequentel | Applications | 0 | 05-01-2008 07:32 PM |
| WWJ SDK Alpha 3 - 0.3.0 available | patmurris | WWJ Release Announcements | 35 | 12-03-2007 08:56 PM |