Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Sujay1
Creator
Creator

CouchBase 6 and Talend OS for BD 7.2.1 Bucket Retrieval Issues

Hi All,

    I'm just trying to figure out a way to retrieve data from Couchbase. My connection seems to be ok but when i try to retrieve data it throws below error. Any guidance will be much appreciated. 

 

0683p000009M7wl.png

 

Above shows connection ok.My Couchbase is a local server windows.

This is the error i get

 

Starting job jb_a at 09:13 29/10/2019.

[statistics] connecting to socket on port 3497
[statistics] connected
2019-10-29 09:14:01|yl7hvL|yl7hvL|yl7hvL|1236|LOCAL_PROJECT|jb_a|_7_tgUPiiEemaUfmC2N9-Eg|0.1|Default||begin||
[statistics] disconnected
Exception in thread "main" java.lang.NoClassDefFoundError: com/couchbase/client/java/env/CouchbaseEnvironment
	at java.lang.Class.getDeclaredMethods0(Native Method)
	at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
	at java.lang.Class.privateGetPublicMethods(Unknown Source)
	at java.lang.Class.getMethods(Unknown Source)
	at org.talend.sdk.component.runtime.manager.asm.ProxyGenerator.hasInterceptors(ProxyGenerator.java:503)
	at org.talend.sdk.component.runtime.manager.ComponentManager.handleProxy(ComponentManager.java:1080)
	at org.talend.sdk.component.runtime.manager.ComponentManager.access$1700(ComponentManager.java:186)
	at org.talend.sdk.component.runtime.manager.ComponentManager$Updater.lambda$onCreate$13(ComponentManager.java:1304)
	at java.util.stream.Collectors.lambda$toMap$58(Unknown Source)
	at java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.util.LinkedList$LLSpliterator.forEachRemaining(Unknown Source)
	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.util.stream.ReferencePipeline.collect(Unknown Source)
	at org.talend.sdk.component.runtime.manager.ComponentManager$Updater.onCreate(ComponentManager.java:1297)
	at org.talend.sdk.component.container.ContainerManager$ContainerBuilder.lambda$null$2(ContainerManager.java:411)
	at org.talend.sdk.component.container.ContainerManager.safeInvoke(ContainerManager.java:157)
	at org.talend.sdk.component.container.ContainerManager.access$1000(ContainerManager.java:63)
	at org.talend.sdk.component.container.ContainerManager$ContainerBuilder.lambda$create$3(ContainerManager.java:411)
	at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
	at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
	at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
	at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
	at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
	at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
	at java.util.stream.ReferencePipeline.collect(Unknown Source)
	at org.talend.sdk.component.container.ContainerManager$ContainerBuilder.create(ContainerManager.java:412)
	at org.talend.sdk.component.runtime.manager.ComponentManager.addPlugin(ComponentManager.java:812)
	at org.talend.sdk.component.runtime.manager.ComponentManager.autoDiscoverPlugins(ComponentManager.java:740)
	at local_project.jb_a_0_1.jb_a.CouchbaseInput_1Process(jb_a.java:672)
	at local_project.jb_a_0_1.jb_a.runJobInTOS(jb_a.java:3370)
	at local_project.jb_a_0_1.jb_a.main(jb_a.java:3208)
Caused by: java.lang.ClassNotFoundException: com.couchbase.client.java.env.CouchbaseEnvironment
	at org.talend.sdk.component.classloader.ConfigurableClassLoader.loadClass(ConfigurableClassLoader.java:295)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 35 more

Job jb_a ended at 09:14 29/10/2019. [exit code=1]

 

these are couchbase modules which are installed for couchbase0683p000009M7wv.png

 

 

 

Regards,

G.Sujay.

Labels (2)
12 Replies
Anonymous
Not applicable

I believe you should be able to use your Community login for this. If not, you should be able to sign up separately

Anonymous
Not applicable

Hi Sujay,

 

It appears this problem has already been fixed with a patch. However the patches are only available to subscription users. The fix will be in the next release (7.3.1). It will also be in the Milestone 3 release of 7.3.1 which should be here very soon

 

Regards

 

Richard

Sujay1
Creator
Creator
Author

thanks so much @rhall  as always much appreciated. So it is indeed a bug and patch is there. Thanks for info. Will look out for 7.3.x for this fix.