NullPointerException due to race condition during concurrent access to DBTCPTransport

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 2.6
    • Affects Version/s: 2.4, 2.5
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After testing the fix in JAVA-263, the following now occurs (using 2.5 trunk)

      java.lang.NullPointerException
      at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:302)
      at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:206)
      at com.mongodb.DBApiLayer$MyCollection.__find(DBApiLayer.java:271)
      at com.mongodb.DBCursor._check(DBCursor.java:342)
      at com.mongodb.DBCursor._hasNext(DBCursor.java:472)
      at com.mongodb.DBCursor.hasNext(DBCursor.java:497)
      .......

      This is not the same error, but it does seem to be related.

              Assignee:
              Antoine Girbal (Inactive)
              Reporter:
              David Dawson
              None
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: