Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4335

AutomaticPojoCodec nested codec race condition

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Codecs, POJO
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      We are facing NullPointerException while saving and fetching the data using default codec:

      We are using mongo-reactive-client-4.1.1 library, Kotlin for our application tech stack.
      The issue is very inconsistent, when one thread try to save it works but when 50 threads try to save it fails with codec encoding issue. Once the encoding issue appeared then most of the request fails. 

      Note:
      Added the error message in comments.

            Assignee:
            Unassigned Unassigned
            Reporter:
            praveenmay03@gmail.com Praveen D
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: