java.lang.RuntimeException: java.nio.BufferUnderflowException
at org.fao.geonet.kernel.search.SearchManager$Spatial.createWriter(SearchManager.java:1616)
at org.fao.geonet.kernel.search.SearchManager$Spatial.<init>(SearchManager.java:1597)
at org.fao.geonet.kernel.search.SearchManager.initNonStaticData(SearchManager.java:507)
at org.fao.geonet.kernel.search.SearchManager.init(SearchManager.java:488)
at org.fao.geonet.Geonetwork.start(Geonetwork.java:284)
at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:448)
at jeeves.server.JeevesEngine.init(JeevesEngine.java:191)
at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:84)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1144)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:983)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5249)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:986)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1857)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.DirectByteBuffer.getInt(DirectByteBuffer.java:681)
at org.geotools.data.shapefile.shp.ShapefileHeader.read(ShapefileHeader.java:82)
at org.geotools.data.shapefile.shp.ShapefileReader.init(ShapefileReader.java:338)
at org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:266)
at org.geotools.data.shapefile.ShapefileSetManager.openShapeReader(ShapefileSetManager.java:51)
at org.geotools.data.shapefile.ShapefileFeatureSource.readAttributes(ShapefileFeatureSource.java:516)
at org.geotools.data.shapefile.ShapefileFeatureSource.buildFeatureType(ShapefileFeatureSource.java:475)
at org.geotools.data.shapefile.ShapefileFeatureStore.buildFeatureType(ShapefileFeatureStore.java:134)
at org.geotools.data.store.ContentFeatureSource.getAbsoluteSchema(ContentFeatureSource.java:356)
at org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:325)
at org.geotools.data.store.ContentFeatureSource.getSchema(ContentFeatureSource.java:114)
at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.findIdColumn(SpatialIndexWriter.java:477)
at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.createFeatureStore(SpatialIndexWriter.java:434)
at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.<init>(SpatialIndexWriter.java:122)
at org.fao.geonet.kernel.search.SearchManager$Spatial.createWriter(SearchManager.java:1611)
... 24 more
|