World Wind Forums

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

Development Help Help for building applications or diagnosing problems with WWJ

Reply
 
Thread Tools Display Modes
Old 05-31-2011, 07:58 PM   #1
Llamas
Junior Member
 
Join Date: Jan 2011
Posts: 12
Llamas is on a distinguished road
Default NullPointerException in WMSLayerDimension

There is a NullPointerException in gov.nasa.worldwind.ogc.wms.WMSLayerDimen sion when calling getDimension() on a dimension without any characters in the Dimension element.

protected StringBuilder dimension;
is never initialized when you call dimension.toString();

For example, this layer from http://onearth.jpl.nasa.gov/wms.cgi?

<Layer queryable="0">
<Name>daily_planet</Name>
.....
<Dimension name="time" units="ISO8601"/>
<Extent name="time">2007-12-01/2010-03-20/P1D</Extent>
.....
</Layer>
Llamas is offline   Reply With Quote
Old 06-03-2011, 02:21 AM   #2
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,027
tag is on a distinguished road
Default

We're working on this right now. Thanks.
tag is offline   Reply With Quote
Old 06-07-2011, 06:30 PM   #3
tag
WWJ Technical Manager
 
Join Date: May 2007
Location: Seattle
Posts: 1,027
tag is on a distinguished road
Default

This has been fixed and is in the current release. Thanks for letting us know about it.
tag is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ToolTipRenderer throwing NullPointerException peterdn1 Development Help 3 01-28-2011 05:19 PM
KML linestring throws NullPointerException dmcmanam Development Help 2 08-04-2010 03:58 AM
WWJ 0.5 to 0.6 Migration patmurris Development Help 77 06-07-2010 03:20 PM
NullPointerException when closing WW applet jgoldberg Development Help 2 01-29-2010 04:34 PM
Nullpointerexception on WWJapplet load MscUser Development Help 2 11-23-2009 01:43 AM


All times are GMT +1. The time now is 05:52 AM.


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