java.lang.NullPointerException

GitHub | toonsevrin | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 35#41717351

    GitHub | 3 years ago | jeffmay
    com.careverge.mongo.CareMongoException: Collection = test_eligibilityRecord_IfONHbKqHd34Operation = findAndModifyProjection = "{ }"Query = "{ "id" : "cGuqW6B4MnNo" , "partner" : "partner"}"Remove = "false"ReturnNew = "false"Sort = "{ }"Update = "{ "$set" : { "userId" : "535ff53dc0263abbaef86173"}}"Upsert = "false"
  2. 0

    GitHub comment 35#41791541

    GitHub | 3 years ago | twillouer
    com.careverge.mongo.CareMongoException: Collection = test_eligibilityRecord_IfONHbKqHd34Operation = findAndModifyProjection = "{ }"Query = "{ "id" : "cGuqW6B4MnNo" , "partner" : "partner"}"Remove = "false"ReturnNew = "false"Sort = "{ }"Update = "{ "$set" : { "userId" : "535ff53dc0263abbaef86173"}}"Upsert = "false"
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.mongodb.FongoDBCollection.slice()
    2. MongoDB Java Driver
      FongoDBCollection.findAndModify
      1. com.mongodb.FongoDBCollection.slice(FongoDBCollection.java:970)
      2. com.mongodb.FongoDBCollection.applyProjections(FongoDBCollection.java:922)
      3. com.mongodb.FongoDBCollection.findAndModify(FongoDBCollection.java:1078)
      3 frames
    3. com.github.fakemongo
      FongoConnection.command
      1. com.github.fakemongo.FongoConnection.command(FongoConnection.java:405)
      1 frame
    4. MongoDB Java Driver
      FindAndUpdateOperation.execute
      1. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:216)
      2. com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:153)
      3. com.mongodb.operation.FindAndUpdateOperation$1.call(FindAndUpdateOperation.java:306)
      4. com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:232)
      5. com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:223)
      6. com.mongodb.operation.FindAndUpdateOperation.execute(FindAndUpdateOperation.java:303)
      6 frames
    5. com.github.fakemongo
      Fongo.execute
      1. com.github.fakemongo.Fongo.execute(Fongo.java:190)
      1 frame
    6. MongoDB Java Driver
      FongoMongoCollection.findOneAndUpdate
      1. com.mongodb.MongoCollectionImpl.findOneAndUpdate(MongoCollectionImpl.java:407)
      2. com.mongodb.FongoMongoCollection.findOneAndUpdate(FongoMongoCollection.java:17)
      2 frames