@daschl I tried latest code of both core-jvm and java-client, but still got same error:
2015-01-16 22:16:35,571 [localhost-startStop-1] INFO com.couchbase.client.core.CouchbaseCore- CoreEnvironment: {sslEnabled=false, sslKeystoreFile='null', sslKeystorePassword='null', queryEnabled=false, queryPort=8093, bootstrapHttpEnabled=true, bootstrapCarrierEnabled=true, bootstrapHttpDirectPort=8091, bootstrapHttpSslPort=18091, bootstrapCarrierDirectPort=11210, bootstrapCarrierSslPort=11207, ioPoolSize=2, computationPoolSize=2, responseBufferSize=16384, requestBufferSize=16384, kvServiceEndpoints=1, viewServiceEndpoints=1, queryServiceEndpoints=1, ioPool=NioEventLoopGroup, coreScheduler=CoreScheduler, packageNameAndVersion=couchbase-java-client/2.1.0-SNAPSHOT (git: 2.0.2-27-gcb5319c), dcpEnabled=false}
2015-01-16 22:16:35,571 [localhost-startStop-1] DEBUG com.couchbase.client.core.CouchbaseCore- Diagnostics {
gc.ps marksweep.collectionCount=4,
gc.ps marksweep.collectionTime=1118,
gc.ps scavenge.collectionCount=17,
gc.ps scavenge.collectionTime=1225,
heap.pendingFinalize=0,
heap.used=init = 122611968(119738K) used = 440246744(429928K) committed = 772276224(754176K) max = 1744830464(1703936K),
mem.physical.free=4577026048,
mem.physical.total=7847165952,
mem.swap.free=0,
mem.swap.total=0,
mem.virtual.comitted=3716177920,
offHeap.used=init = 24576000(24000K) used = 92066800(89908K) committed = 100990976(98624K) max = 224395264(219136K),
proc.cpu.time=64150000000,
runtime.name=15656@ip-172-30-2-176,
runtime.spec=Oracle Corporation/Java Virtual Machine Specification: 1.7,
runtime.startTime=1421446559001,
runtime.sysProperties={java.vm.version=24.65-b04, java.vendor.url=http://java.oracle.com/, sun.jnu.encoding=UTF-8, java.vm.info=mixed mode, user.dir=/usr/share/tomcat7, sun.cpu.isalist=, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, sun.os.patch.level=unknown, catalina.useNaming=true, java.io.tmpdir=/var/cache/tomcat7/temp, sun.nio.ch.bugLevel=, user.home=/usr/share/tomcat7, java.awt.printerjob=sun.print.PSPrinterJob, java.version=1.7.0_65, file.encoding.pkg=sun.io, package.access=sun.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.naming.resources.,org.apache.tomcat., java.vendor.url.bug=http://bugreport.sun.com/bugreport/, file.encoding=UTF-8, sun.java.command=org.apache.catalina.startup.Bootstrap start, line.separator=
, java.vm.specification.vendor=Oracle Corporation, java.util.logging.manager=org.apache.juli.ClassLoaderLogManager, tomcat.util.buf.StringCache.byte.enabled=true, catalina.home=/usr/share/tomcat7, java.vm.vendor=Oracle Corporation, java.class.path=:/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar, sun.io.unicode.encoding=UnicodeLittle, user.language=en, os.arch=amd64, user.name=tomcat, java.runtime.version=1.7.0_65-mockbuild_2014_09_18_00_28-b00, sun.boot.class.path=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/classes, package.definition=sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.jasper.,org.apache.naming.,org.apache.tomcat., sun.cpu.endian=little, tomcat.util.scan.DefaultJarScanner.jarsToSkip=bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,websocket-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-*.jar,tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar,tomcat-spdy.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar,commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar,geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j.jar,log4j-1*.jar,mail*.jar,slf4j*.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,junit.jar,junit-*.jar,hamcrest*.jar,org.hamcrest*.jar,ant-launcher.jar,cobertura-*.jar,asm-*.jar,dom4j-*.jar,icu4j-*.jar,jaxen-*.jar,jdom-*.jar,jetty-*.jar,oro-*.jar,servlet-api-*.jar,tagsoup-*.jar,xmlParserAPIs-*.jar,xom-*.jar, awt.toolkit=sun.awt.X11.XToolkit, sun.boot.library.path=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/amd64, common.loader=${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar, java.home=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre, java.vm.name=OpenJDK 64-Bit Server VM, java.endorsed.dirs=, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, java.naming.factory.initial=org.apache.naming.java.javaURLContextFactory, java.runtime.name=OpenJDK Runtime Environment, org.apache.catalina.startup.ContextConfig.jarsToSkip=, catalina.base=/usr/share/tomcat7, java.util.logging.config.file=/usr/share/tomcat7/conf/logging.properties, java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, file.separator=/, shared.loader=, java.specification.vendor=Oracle Corporation, org.apache.catalina.startup.TldConfig.jarsToSkip=tomcat7-websocket.jar, java.vm.specification.version=1.7, server.loader=, sun.java.launcher=SUN_STANDARD, user.timezone=UTC, os.name=Linux, path.separator=:, java.ext.dirs=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/ext:/usr/java/packages/lib/ext, sun.arch.data.model=64, java.specification.name=Java Platform API Specification, os.version=3.14.19-17.43.amzn1.x86_64, user.country=US, java.class.version=51.0, java.vendor=Oracle Corporation, java.vm.specification.name=Java Virtual Machine Specification, java.specification.version=1.7, java.naming.factory.url.pkgs=org.apache.naming},
runtime.uptime=36570,
runtime.vm=Oracle Corporation/OpenJDK 64-Bit Server VM: 24.65-b04,
sys.cpu.loadAvg=0.92,
sys.cpu.num=2,
sys.os.arch=amd64,
sys.os.name=Linux,
sys.os.version=3.14.19-17.43.amzn1.x86_64,
thread.count=46,
thread.peakCount=46,
thread.startedCount=48
}
.
.
.
.
com.couchbase.client.java.error.TranscodingException: Could not decode View JSON.
at com.couchbase.client.java.view.ViewQueryResponseMapper$ByteBufToJsonObject.call(ViewQueryResponseMapper.java:104)
at com.couchbase.client.java.view.ViewQueryResponseMapper$ByteBufToJsonObject.call(ViewQueryResponseMapper.java:91)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:54)
at rx.internal.operators.NotificationLite.accept(NotificationLite.java:150)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.pollQueue(OperatorObserveOn.java:189)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber.access$000(OperatorObserveOn.java:65)
at rx.internal.operators.OperatorObserveOn$ObserveOnSubscriber$2.call(OperatorObserveOn.java:153)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:45)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.couchbase.client.deps.io.netty.util.IllegalReferenceCountException: refCnt: 0
at com.couchbase.client.deps.io.netty.buffer.AbstractByteBuf.ensureAccessible(AbstractByteBuf.java:1178)
at com.couchbase.client.deps.io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1129)
at com.couchbase.client.deps.io.netty.buffer.PooledUnsafeDirectByteBuf.nioBuffer(PooledUnsafeDirectByteBuf.java:344)
at com.couchbase.client.deps.io.netty.buffer.AbstractByteBuf.toString(AbstractByteBuf.java:960)
at com.couchbase.client.deps.io.netty.buffer.AbstractByteBuf.toString(AbstractByteBuf.java:949)
at com.couchbase.client.java.transcoder.JsonTranscoder.byteBufToJsonObject(JsonTranscoder.java:89)
at com.couchbase.client.java.view.ViewQueryResponseMapper$ByteBufToJsonObject.call(ViewQueryResponseMapper.java:100)
... 14 more
Caused by: rx.exceptions.OnErrorThrowable$OnNextValue: OnError while emitting onNext value: com.couchbase.client.deps.io.netty.buffer.PooledUnsafeDirectByteBuf.class
at rx.exceptions.OnErrorThrowable.addValueAsLastCause(OnErrorThrowable.java:98)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:56)
... 12 more