EventStore / EventStoreDB-Client-Java

Official Asynchronous Java 8+ Client Library for EventStoreDB 20.6+
https://eventstore.com
Apache License 2.0
63 stars 20 forks source link

Getting NullPointerException while setting stream metadata from the Java Client latest version #137

Closed lakshdeepsingheventstore closed 2 years ago

lakshdeepsingheventstore commented 2 years ago

The client code crashes when using EventStoreDB Java Client latest version (v2..2.0) to set stream metadata. The same code works perfectly fine when using EventStoreDB Java Client v2.0.0.

dhirajkumar94 commented 2 years ago

@lakshdeepsingheventstore Don't you mean it crashes using version 1.1.1-SNAPSHOT?

YoEight commented 2 years ago

I need more information on this. What version are they specifically using? If the code is working on version 2.0.0, considering it's the current release version, where is the problem?

dhirajkumar94 commented 2 years ago

@YoEight As per my test results, the code throws NullPointerException while using Java client version 1.1.1-SNAPSHOT, and it's working when I upgraded it to 2.0.0.