java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long

GitHub | jongerrish | 2 years ago
  1. 0

    org.robolectric.shadows.ShadowResourcesTest fails pre-21

    GitHub | 2 years ago | jongerrish
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  2. 0

    error writing vector of longs to pail - caused by inconsistent treatment of integer types?

    GitHub | 4 years ago | robinkraft
    cascading.tuple.TupleException: unable to sink into output identifier: /tmp/cascalog_reserved/0b005123-f278-4b53-8e74-a6d5f2d4594a
  3. 0

    New versions of Movecraft crashing with older versions.

    GitHub | 2 years ago | striker0822
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassCastException on Attachment.getLength

    GitHub | 3 years ago | dlvenable
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  6. 0

    Broken httpclient version 4.3.1 breaks other libraries?

    GitHub | 11 months ago | jkarjala
    java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.Integer cannot be cast to java.lang.Long

      at org.robolectric.shadows.ShadowResourcesTest.getInternalId()
    2. Roboelectric HTTP
      ShadowResourcesTest.getThemeValueShouldSupportDereferenceResource
      1. org.robolectric.shadows.ShadowResourcesTest.getInternalId(ShadowResourcesTest.java:528)
      2. org.robolectric.shadows.ShadowResourcesTest.getThemeValueShouldSupportDereferenceResource(ShadowResourcesTest.java:414)
      2 frames
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3 frames
    4. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      5 frames
    5. Roboelectric
      RobolectricTestRunner.runChild
      1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:245)
      2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:185)
      3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
      3 frames
    6. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      5 frames
    7. Roboelectric
      RobolectricTestRunner$1.evaluate
      1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:149)
      1 frame
    8. JUnit
      JUnitCore.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      2. org.junit.runners.Suite.runChild(Suite.java:128)
      3. org.junit.runners.Suite.runChild(Suite.java:24)
      4. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      5. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      6. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      7. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      8. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      9. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      10. org.junit.runners.Suite.runChild(Suite.java:128)
      11. org.junit.runners.Suite.runChild(Suite.java:24)
      12. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      13. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      14. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      15. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      16. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      17. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      18. org.junit.runner.JUnitCore.run(JUnitCore.java:157)
      18 frames
    9. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:74)
      1 frame
    10. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:211)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:67)
      2 frames
    11. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      2 frames
    12. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
      1 frame