Raised exception while starting the application. Fix the error and restart.

Message
java.nio.BufferUnderflowException
Handler
org.fao.geonet.Geonetwork
Exception
java.lang.RuntimeException: java.nio.BufferUnderflowException
Stack
java.lang.RuntimeException: java.nio.BufferUnderflowException
	at org.fao.geonet.kernel.search.SearchManager$Spatial.createWriter(SearchManager.java:1617)
	at org.fao.geonet.kernel.search.SearchManager$Spatial.<init>(SearchManager.java:1598)
	at org.fao.geonet.kernel.search.SearchManager.initNonStaticData(SearchManager.java:508)
	at org.fao.geonet.kernel.search.SearchManager.init(SearchManager.java:489)
	at org.fao.geonet.Geonetwork.start(Geonetwork.java:282)
	at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:447)
	at jeeves.server.JeevesEngine.init(JeevesEngine.java:190)
	at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:80)
	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1199)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1143)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1032)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5006)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5298)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:939)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1812)
	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:503)
	at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.createFeatureStore(SpatialIndexWriter.java:460)
	at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.<init>(SpatialIndexWriter.java:122)
	at org.fao.geonet.kernel.search.SearchManager$Spatial.createWriter(SearchManager.java:1612)
	... 24 more