Skip to content

Getting BufferUnderflowException when previewing a layer from geoserver #279

@viggyprabhu

Description

@viggyprabhu

I ingested data from the geowave-example, SimpleIngest.java. Then to view it from geoserver 2.6.1, I created a new geowave datastore in geoserver and gave the instance name and zookeeper server parameters. I was able to create the datastore and also create a new layer 'point'. However when I tried to preview the layer as OpenLayers, I am getting the error, Rendering process failed on the map. And the following exception on the console:

Caused by: java.nio.BufferUnderflowException
at java.nio.Buffer.nextGetIndex(Buffer.java:506)
at java.nio.HeapByteBuffer.getDouble(HeapByteBuffer.java:514)
at mil.nga.giat.geowave.store.adapter.statistics.BoundingBoxDataStatistics.fromBinary(BoundingBoxDataStatistics.java:95)
at mil.nga.giat.geowave.index.PersistenceUtils.fromBinary(PersistenceUtils.java:92)
at mil.nga.giat.geowave.accumulo.metadata.AbstractAccumuloPersistence.entryToValue(AbstractAccumuloPersistence.java:345)
at mil.nga.giat.geowave.accumulo.metadata.AccumuloDataStatisticsStore.entryToValue(AccumuloDataStatisticsStore.java:142)
at mil.nga.giat.geowave.accumulo.metadata.AccumuloDataStatisticsStore.entryToValue(AccumuloDataStatisticsStore.java:34)
at mil.nga.giat.geowave.accumulo.metadata.AbstractAccumuloPersistence.getObject(AbstractAccumuloPersistence.java:307)
at mil.nga.giat.geowave.accumulo.metadata.AccumuloDataStatisticsStore.getDataStatistics(AccumuloDataStatisticsStore.java:133)
at mil.nga.giat.geowave.vector.plugin.GeoWaveDataStoreComponents.getDataStatistics(GeoWaveDataStoreComponents.java:98)
at mil.nga.giat.geowave.vector.plugin.GeoWaveFeatureReader.clipIndexedBBOXConstraints(GeoWaveFeatureReader.java:482)
at mil.nga.giat.geowave.vector.plugin.GeoWaveFeatureCollection.getBBox(GeoWaveFeatureCollection.java:336)
at mil.nga.giat.geowave.vector.plugin.GeoWaveFeatureCollection.openIterator(GeoWaveFeatureCollection.java:232)
at org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:198)
at org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:187)
at org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:78)
at org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2335)
at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:2061)
at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:820)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:491)
... 100 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions