java.lang.ClassCastException: java.lang.Integer cannot be cast to com.crawler.policy.bean.SingleCrawlRecord

GitHub | ToniYang | 7 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

    java.lang.ClassCastException: java.lang.Integer

    GitHub | 7 months ago | ToniYang
    java.lang.ClassCastException: java.lang.Integer cannot be cast to com.crawler.policy.bean.SingleCrawlRecord

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to com.crawler.policy.bean.SingleCrawlRecord

      at KryoSerializerTest$.main()
    2. Unknown
      KryoSerializerTest.main
      1. KryoSerializerTest$.main(KryoSerializerTest.scala:58)
      2. KryoSerializerTest.main(KryoSerializerTest.scala)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames