java.lang.StackOverflowError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When trying to persist an object [to MongoDB (spring-data-mongodb v1.1.0.M1)] that is in "session" scope and using a CGLIB proxy (ie: "@Scope(value="session", proxyMode = ScopedProxyMode.TARGET_CLASS)") I receive a StackOverflowError. When removing the session scoping, it works correctly. java.lang.StackOverflowError at java.util.HashMap$EntryIterator.<init>(HashMap.java:832) at java.util.HashMap$EntryIterator.<init>(HashMap.java:832) at java.util.HashMap.newEntryIterator(HashMap.java:846) at java.util.HashMap$EntrySet.iterator(HashMap.java:950) at java.util.AbstractMap.hashCode(AbstractMap.java:459) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.TypeDiscoverer.hashCode(TypeDiscoverer.java:365) at org.springframework.data.util.ClassTypeInformation.hashCode(ClassTypeInformation.java:39) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) .... (Repeats)
    via by Tyler Frederick,
  • When trying to persist an object [to MongoDB (spring-data-mongodb v1.1.0.M1)] that is in "session" scope and using a CGLIB proxy (ie: "@Scope(value="session", proxyMode = ScopedProxyMode.TARGET_CLASS)") I receive a StackOverflowError. When removing the session scoping, it works correctly. java.lang.StackOverflowError at java.util.HashMap$EntryIterator.<init>(HashMap.java:832) at java.util.HashMap$EntryIterator.<init>(HashMap.java:832) at java.util.HashMap.newEntryIterator(HashMap.java:846) at java.util.HashMap$EntrySet.iterator(HashMap.java:950) at java.util.AbstractMap.hashCode(AbstractMap.java:459) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.TypeDiscoverer.hashCode(TypeDiscoverer.java:365) at org.springframework.data.util.ClassTypeInformation.hashCode(ClassTypeInformation.java:39) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) .... (Repeats)
    via by Tyler Frederick,
  • GitHub comment 30#212939654
    via GitHub by kerler
    ,
  • stack overflow at line: 0
    via by ste...@gmail.com,
  • failed to pass HashMap parameter in RPC call.
    via by ste...@gmail.com,
  • stack overflow at line: 0
    via by ste...@gmail.com,
  • failed to pass HashMap parameter in RPC call.
    via by ste...@gmail.com,
  • javaQuery: Exception
    via by Unknown author,
    • java.lang.StackOverflowError at java.util.HashMap$EntryIterator.<init>(HashMap.java:832) at java.util.HashMap$EntryIterator.<init>(HashMap.java:832) at java.util.HashMap.newEntryIterator(HashMap.java:846) at java.util.HashMap$EntrySet.iterator(HashMap.java:950) at java.util.AbstractMap.hashCode(AbstractMap.java:459) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.TypeDiscoverer.hashCode(TypeDiscoverer.java:365) at org.springframework.data.util.ClassTypeInformation.hashCode(ClassTypeInformation.java:39) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336) at org.springframework.data.util.ParentTypeAwareTypeInformation.hashCode(ParentTypeAwareTypeInformation.java:79) at org.springframework.util.ObjectUtils.nullSafeHashCode(ObjectUtils.java:336)

    Users with the same issue

    Unknown visitor1 times, last one,