On Monday, September 7, 2020 7:45:02 AM CEST Rajshekhar AP wrote:
> Hi all

Hi,

> I hope this is the right forum to ask this question.

Yes, it is.

> We are using the sling karaf features to create our own custom
> distribution. Due to the latest changes to the Sling Karaf features, the
> distribution is throwing "java.lang.UnsupportedOperationException: The
> BsonCodec can only encode to Bson".
> 
> I have traced it to the mongodb-java-driver version upgrade.
> 
> What approach do you recommend so that we can resolve this issue ?

This issue sounds familiar. Please create an issue in JIRA and provide as many 
details as possible.
When is the exception thrown? Can you create a test case for 
SlingQuickstartOakMongoIT?

Regards,
O.

> Thanks in advance.




Reply via email to