java.lang.AssertionError: IllegalArgumentException: object is not an instance of declaring class For more information, go to: http://www.jqno.nl/equalsverifier/errormessages

Google Groups | Marco Luca Sbodio | 4 months ago
  1. 0

    IllegalArgumentException: object is not an instance of declaring class

    Google Groups | 4 months ago | Marco Luca Sbodio
    java.lang.AssertionError: IllegalArgumentException: object is not an instance of declaring class For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
  2. 0

    Mockito 2.2.28 fails to mock an interface when running on IBM JDK

    Google Groups | 3 days ago | Unknown author
    java.lang.IllegalArgumentException: object is not an instance of declaring class
  3. 0

    Putting all Tellurium test cases into 1 test suite

    Google Groups | 7 years ago | Setya
    java.lang.IllegalArgumentException: object is not an instance of declaring class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    L2 cache issue

    Google Groups | 4 years ago | Sam
    java.lang.RuntimeException: get classeA on [model.ClasseB] type[com.avaje.ebeaninternal.server.core.PersistRequestBean] threw error.
  6. 0

    exception errors on loading CVS

    Netbeans Bugzilla | 2 decades ago | ddaniels
    java.lang.IllegalArgumentException: object is not an instance of declaring class

  1. Aria Pahlavan 16 times, last 3 weeks ago
  2. kjhdofjosvs 2 times, last 1 month ago
  3. tyson925 2 times, last 1 month ago
  4. kuldeep 2 times, last 2 months ago
  5. aldrinleal 1 times, last 5 months ago
6 more registered users
72 unregistered visitors
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.IllegalArgumentException

    object is not an instance of declaring class

    at sun.reflect.NativeMethodAccessorImpl.invoke0()
  2. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    4. java.lang.reflect.Method.invoke(Method.java:507)
    4 frames
  3. nl.jqno.equalsverifier
    ObjectAccessor.copyIntoAnonymousSubclass
    1. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeArgument.resolve(TypeDescription.java:3873)
    2. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator$Chained.resolve(TypeDescription.java:3504)
    3. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$ForTypeArgument.resolve(TypeDescription.java:3833)
    4. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$AnnotationReader$Delegator.asList(TypeDescription.java:3475)
    5. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType$ForLoadedType.getDeclaredAnnotations(TypeDescription.java:4227)
    6. nl.jqno.equalsverifier.internal.lib.bytebuddy.implementation.attribute.AnnotationAppender$ForTypeAnnotations.apply(AnnotationAppender.java:718)
    7. nl.jqno.equalsverifier.internal.lib.bytebuddy.implementation.attribute.AnnotationAppender$ForTypeAnnotations.onNonGenericType(AnnotationAppender.java:699)
    8. nl.jqno.equalsverifier.internal.lib.bytebuddy.implementation.attribute.AnnotationAppender$ForTypeAnnotations.onNonGenericType(AnnotationAppender.java:413)
    9. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$OfNonGenericType.accept(TypeDescription.java:4094)
    10. nl.jqno.equalsverifier.internal.lib.bytebuddy.implementation.attribute.AnnotationAppender$ForTypeAnnotations.onParameterizedType(AnnotationAppender.java:680)
    11. nl.jqno.equalsverifier.internal.lib.bytebuddy.implementation.attribute.AnnotationAppender$ForTypeAnnotations.onParameterizedType(AnnotationAppender.java:413)
    12. nl.jqno.equalsverifier.internal.lib.bytebuddy.description.type.TypeDescription$Generic$OfParameterizedType.accept(TypeDescription.java:5017)
    13. nl.jqno.equalsverifier.internal.lib.bytebuddy.implementation.attribute.MethodAttributeAppender$ForInstrumentedMethod.apply(MethodAttributeAppender.java:187)
    14. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.scaffold.TypeWriter$MethodPool$Record$ForDefinedMethod$WithBody.applyBody(TypeWriter.java:581)
    15. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.scaffold.TypeWriter$MethodPool$Record$ForDefinedMethod.apply(TypeWriter.java:517)
    16. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForCreation.create(TypeWriter.java:3799)
    17. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.scaffold.TypeWriter$Default.make(TypeWriter.java:1617)
    18. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:172)
    19. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.scaffold.subclass.SubclassDynamicTypeBuilder.make(SubclassDynamicTypeBuilder.java:153)
    20. nl.jqno.equalsverifier.internal.lib.bytebuddy.dynamic.DynamicType$Builder$AbstractBase.make(DynamicType.java:2566)
    21. nl.jqno.equalsverifier.internal.Instantiator.giveDynamicSubclass(Instantiator.java:98)
    22. nl.jqno.equalsverifier.internal.Instantiator.instantiateAnonymousSubclass(Instantiator.java:82)
    23. nl.jqno.equalsverifier.internal.ObjectAccessor.copyIntoAnonymousSubclass(ObjectAccessor.java:126)
    23 frames
  4. EqualsVerifier
    EqualsVerifier.verify
    1. nl.jqno.equalsverifier.HierarchyChecker.checkSubclass(HierarchyChecker.java:129)
    2. nl.jqno.equalsverifier.HierarchyChecker.check(HierarchyChecker.java:57)
    3. nl.jqno.equalsverifier.EqualsVerifier.verifyWithExamples(EqualsVerifier.java:431)
    4. nl.jqno.equalsverifier.EqualsVerifier.performVerification(EqualsVerifier.java:393)
    5. nl.jqno.equalsverifier.EqualsVerifier.verify(EqualsVerifier.java:364)
    5 frames
  5. my.package
    AClassTest.test
    1. my.package.AClassTest.test(AClassTest.java:11)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    4. java.lang.reflect.Method.invoke(Method.java:507)
    4 frames
  7. JUnit
    ParentRunner.run
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
    6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
    7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
    8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    13 frames
  8. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
    1 frame
  9. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames