[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] GML loading - null pointer
|
Hi Vince,
I'm afraid to say I'm not too surprised the GML datastore is quite
brittle. The Geotools datastore was never fully tested and
supported. Also it Requires that the XML schema for the file be
present in order to process the file. That is likely your problem
because in practice this often is the case.
What can be done is the datastore can be modified so it generates a
"best guess" schema based on the contents of the GML file. Then it
will be able to read the file.
Jesse
On Sep 5, 2007, at 3:20 AM, Vince Darley wrote:
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.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel