[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-devel] [jira] Created: (UDIG-327) Shapefile does not load
|
Shapefile does not load
-----------------------
Key: UDIG-327
URL: http://jira.codehaus.org/browse/UDIG-327
Project: uDIG
Type: Bug
Components: catalog shapefile
Versions: UDIG 0.9
Environment: Windows 2000, JRE1.5, uDig 9RC4
Reporter: Jeroen Ticheler
Assigned to: Jody Garnett
Shapefile fails to load. Unsure what the meaning of the reported error in the logfile is. The file loads without problems in ArcGIS and does not have duplicate column names.
The error log gives:
ENTRY org.eclipse.core.runtime 4 2 2005-03-08 15:49:50.824
!MESSAGE An internal error occurred during: "Loading services...".
!STACK 0
java.lang.IllegalArgumentException: Duplicate AttributeTypes DefaultAttributeType [name=CNT1M_BETA , type=class java.lang.Integer , nillable=true , field length=11]
at org.geotools.feature.FeatureTypeFactory.check(FeatureTypeFactory.java:777)
at org.geotools.feature.FeatureTypeFactory.addType(FeatureTypeFactory.java:524)
at org.geotools.feature.FeatureTypeFactory.addTypes(FeatureTypeFactory.java:504)
at org.geotools.feature.FeatureTypeFactory.newFeatureType(FeatureTypeFactory.java:217)
at org.geotools.feature.FeatureTypeFactory.newFeatureType(FeatureTypeFactory.java:157)
at org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:569)
at net.refractions.udig.catalog.shp.ShpGeoResourceImpl$IGeoResourceShpInfo.<init>(ShpGeoResourceImpl.java:136)
at net.refractions.udig.catalog.shp.ShpGeoResourceImpl.getInfo(ShpGeoResourceImpl.java:126)
at net.refractions.udig.project.internal.ui.LayerFactory.createDataStoreLayer(LayerFactory.java:129)
at net.refractions.udig.project.internal.ui.LayerFactory.createLayer(LayerFactory.java:211)
at net.refractions.udig.project.internal.ui.ProjectUIPlugin.processResources(ProjectUIPlugin.java:408)
at net.refractions.udig.project.internal.ui.ProjectUIPlugin.processResources(ProjectUIPlugin.java:293)
at net.refractions.udig.project.internal.ui.ProjectUIPlugin$1.run(ProjectUIPlugin.java:236)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira