Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Fail To retrieve Schema -Mongo DB

Hi

 

I am a newbie and have connected to MongoDB and got my connection successful. I tried to retrieve schema, but got one schema retrieved, while others failed, please see the below error message, can you help here

 

!ENTRY org.talend.platform.logging 4 0 2018-01-23 08:47:57.973
!MESSAGE 2018-01-23 08:47:57,972 ERROR org.talend.repository.nosql.ui.thread.RetrieveColumnRunnable - Retrieve 'followupConsultationAdults' unsuccessfully.

!STACK 0
org.talend.repository.nosql.exceptions.NoSQLExtractSchemaException: org.talend.repository.nosql.exceptions.NoSQLExtractSchemaException: org.talend.repository.nosql.exceptions.NoSQLExtractSchemaException: java.lang.NullPointerException
at org.talend.repository.nosql.ui.thread.RetrieveColumnRunnable.run(RetrieveColumnRunnable.java:102)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.talend.repository.nosql.exceptions.NoSQLExtractSchemaException: org.talend.repository.nosql.exceptions.NoSQLExtractSchemaException: java.lang.NullPointerException
at org.talend.repository.nosql.db.provider.mongodb.MongoDBMetadataProvider.extractColumns(MongoDBMetadataProvider.java:65)
at org.talend.repository.nosql.ui.thread.RetrieveColumnRunnable.run(RetrieveColumnRunnable.java:89)
... 3 more
Caused by: org.talend.repository.nosql.exceptions.NoSQLExtractSchemaException: java.lang.NullPointerException
at org.talend.repository.nosql.db.provider.mongodb.MongoDBMetadataProvider.extractTheColumns(MongoDBMetadataProvider.java:139)
at org.talend.repository.nosql.db.provider.mongodb.MongoDBMetadataProvider.extractColumns(MongoDBMetadataProvider.java:62)
... 4 more
Caused by: java.lang.NullPointerException
at org.talend.repository.nosql.db.provider.mongodb.MongoDBMetadataProvider.extractTheColumns(MongoDBMetadataProvider.java:124)
... 5 more

Labels (1)
3 Replies
Anonymous
Not applicable
Author

Hello,

Could you please indicate on which talend build version you got this issue?

Did you follow up online user guide about:TalendHelpCenter:Centralizing MongoDB metadata to retrieve schema correctly?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi



I am using Talend 6.4 and Mongo DB 3.2, Now I am not able to retrieve any schema



[cid:image001.png@01D394F7.D99B1A50]


Anonymous
Not applicable
Author

Hello,

Did you create a Mongo connection and export as context? Are you checking out ' replica set address' option when set up your Mongo DB connection?

Best regards

Sabrina