java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Set

thegreycorner.com | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The Grey Corner: CommonCollections deserialization attack payloads from ysoserial failing on > JRE 8u72

    thegreycorner.com | 7 months ago
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Set
  2. 0

    GitHub comment 2#156126707

    GitHub | 1 year ago | vektory79
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Set
  3. 0

    The POC works but it breaks with a back-trace

    GitHub | 1 year ago | fefafefa
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.util.Set
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.util.Set

      at com.sun.proxy.$Proxy0.entrySet()
    2. com.sun.proxy
      $Proxy0.entrySet
      1. com.sun.proxy.$Proxy0.entrySet(Unknown Source)
      1 frame
    3. Java RT
      ObjectInputStream.readObject
      1. sun.reflect.annotation.AnnotationInvocationHandler.readObject(AnnotationInvocationHandler.java:443)
      2. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      3. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      4. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      5. java.lang.reflect.Method.invoke(Method.java:606)
      6. java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1017)
      7. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1893)
      8. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1798)
      9. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
      10. java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
      10 frames
    4. Unknown
      SerializeTest.main
      1. SerializeTest.main(SerializeTest.java:17)
      1 frame