[udig-devel] GML loading - null pointer

Vince Darley vince.darley at eurobios.com
Wed Sep 5 03:20:32 PDT 2007


When trying to add a GML file (standard Ordnance Survey data from UK) 
from disk to a map (using right-click 'Add...' -> File -> select .gml 
file), I get a NullPointerException here:

java.lang.NullPointerException
at 
net.refractions.udig.catalog.internal.gml.GMLServiceImpl.members(GMLServiceImpl.java:124)
at 
net.refractions.udig.catalog.ui.workflow.ConnectionState.run(ConnectionState.java:133)
at net.refractions.udig.catalog.ui.workflow.Workflow.next(Workflow.java:260)
at 
net.refractions.udig.catalog.ui.workflow.Workflow$Runner.run(Workflow.java:585)
at net.refractions.udig.catalog.ui.workflow.Workflow.run(Workflow.java:444)
at 
net.refractions.udig.catalog.ui.FileConnectionPage$2.run(FileConnectionPage.java:166)
at 
net.refractions.udig.catalog.ui.workflow.WorkflowWizardDialog$3.run(WorkflowWizardDialog.java:98)
at net.refractions.udig.ui.PlatformGIS$1.call(PlatformGIS.java:90)

caused by the 'ds' variable being null in the GMLServiceImpl.  This 
is with udig1.1 rc11.

any ideas?

Vince.




More information about the udig-devel mailing list