Skip to content

NullPointerException (when database is unavailable) #95

Closed
Osndok opened this Issue Nov 14, 2012 · 1 comment

2 participants

@Osndok
Osndok commented Nov 14, 2012

Caused by: java.lang.NullPointerException
at java.io.FilterInputStream.read(FilterInputStream.java:116)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.Reader.read(Reader.java:123)
at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1364)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1340)
at org.apache.commons.io.IOUtils.copy(IOUtils.java:1287)
at org.apache.commons.io.IOUtils.toString(IOUtils.java:502)
at org.ektorp.http.StdResponseHandler.createDbAccessException(StdResponseHandler.java:28)
at org.ektorp.http.StdResponseHandler.error(StdResponseHandler.java:62)
at org.ektorp.http.RestTemplate.handleResponse(RestTemplate.java:110)
at org.ektorp.http.RestTemplate.get(RestTemplate.java:22)
at org.ektorp.impl.StdCouchDbConnector.get(StdCouchDbConnector.java:237)
at org.ektorp.impl.StdCouchDbConnector.get(StdCouchDbConnector.java:228)

Minor. This is in version 1.3.0

@helun
Owner
helun commented Sep 14, 2013

fixed by issue #127

@helun helun closed this Sep 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.