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:1745)
	at org.fao.geonet.kernel.search.SearchManager$Spatial.<init>(SearchManager.java:1717)
	at org.fao.geonet.kernel.search.SearchManager.initNonStaticData(SearchManager.java:539)
	at org.fao.geonet.kernel.search.SearchManager.init(SearchManager.java:519)
	at org.fao.geonet.Geonetwork.start(Geonetwork.java:319)
	at jeeves.server.JeevesEngine.initAppHandler(JeevesEngine.java:452)
	at jeeves.server.JeevesEngine.init(JeevesEngine.java:173)
	at jeeves.server.sources.http.JeevesServlet.init(JeevesServlet.java:82)
	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1154)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1041)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4969)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
	at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
	at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1703)
	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:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
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:358)
	at org.geotools.data.shapefile.shp.ShapefileReader.<init>(ShapefileReader.java:251)
	at org.geotools.data.shapefile.ShapefileDataStore.openShapeReader(ShapefileDataStore.java:599)
	at org.geotools.data.shapefile.ShapefileDataStore.readAttributes(ShapefileDataStore.java:826)
	at org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:784)
	at org.geotools.data.shapefile.ShapefileDataStore.getSchema(ShapefileDataStore.java:778)
	at org.geotools.data.shapefile.ShapefileDataStore.getFeatureSource(ShapefileDataStore.java:1112)
	at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.findSpatialIndexStore(SpatialIndexWriter.java:477)
	at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.createFeatureStore(SpatialIndexWriter.java:453)
	at org.fao.geonet.kernel.search.spatial.SpatialIndexWriter.<init>(SpatialIndexWriter.java:131)
	at org.fao.geonet.kernel.search.SearchManager$Spatial.createWriter(SearchManager.java:1739)
	... 24 more