java.lang.StackOverflowError

Exception #2491572

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web7

  • via Unknown by Docs Collector User,
  • via Unknown by Docs Collector User,
  • via GitHub by Patus
    ,
  • Stack trace

    • java.lang.StackOverflowError at java.util.TreeMap.keyIterator(TreeMap.java:1018) at java.util.TreeMap$KeySet.iterator(TreeMap.java:1031) at java.util.TreeSet.iterator(TreeSet.java:181) at java.util.Collections$UnmodifiableCollection$1.<init>(Collections.java:1064) at java.util.Collections$UnmodifiableCollection.iterator(Collections.java:1063) at com.mongodb.ClusterDescription.getServersByPredicate(ClusterDescription.java:205) at com.mongodb.ClusterDescription.getAny(ClusterDescription.java:127) at com.mongodb.AnyServerSelector.choose(AnyServerSelector.java:8) at com.mongodb.BaseCluster.getServer(BaseCluster.java:63) at com.mongodb.DBTCPConnector.getServer(DBTCPConnector.java:654) at com.mongodb.DBTCPConnector.access$300(DBTCPConnector.java:39) at com.mongodb.DBTCPConnector$MyPort.getConnection(DBTCPConnector.java:503) at com.mongodb.DBTCPConnector$MyPort.get(DBTCPConnector.java:451) at com.mongodb.DBTCPConnector.innerCall(DBTCPConnector.java:286) at com.mongodb.DBTCPConnector.call(DBTCPConnector.java:271) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:84) at com.mongodb.DBCollectionImpl.find(DBCollectionImpl.java:66) at com.mongodb.DBCollection.findOne(DBCollection.java:869) at com.mongodb.DBCollection.findOne(DBCollection.java:843) at com.mongodb.DBCollection.findOne(DBCollection.java:801) at com.mongodb.DBCollection.findOne(DBCollection.java:381) at com.mongodb.DBCollection.findOne(DBCollection.java:366) at com.mongodb.DBRefBase.fetch(DBRefBase.java:68) at org.springframework.data.mongodb.core.convert.MappingMongoConverter.readRef(MappingMongoConverter.java:1128) at org.springframework.data.mongodb.core.convert.MappingMongoConverter.readCollectionOrArray(MappingMongoConverter.java:836) at org.springframework.data.mongodb.core.convert.MappingMongoConverter.readValue(MappingMongoConverter.java:1113) at org.springframework.data.mongodb.core.convert.MappingMongoConverter.access$100(MappingMongoConverter.java:77) at org.springframework.data.mongodb.core.convert.MappingMongoConverter$MongoDbPropertyValueProvider.getPropertyValue(MappingMongoConverter.java:1064)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.