java.lang.AssertionError: java.lang.ClassCastException: java.lang.Object cannot be cast to javax.naming.RefAddr For more information, go to: http://www.jqno.nl/equalsverifier/errormessages

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by mustafaiman
, 1 year ago
java.lang.ClassCastException: java.lang.Object cannot be cast to javax.naming.RefAddr For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
via GitHub by hasancelik
, 1 year ago
java.lang.ClassCastException: java.lang.Object cannot be cast to javax.naming.RefAddr For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
via GitHub by medwards95
, 1 year ago
ArrayIndexOutOfBoundsException: 1 For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
via Google Groups by Mikey Edwards, 1 year ago
ArrayIndexOutOfBoundsException: 1 For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
via Google Groups by Marco Luca Sbodio, 10 months ago
IllegalArgumentException: object is not an instance of declaring class For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
via GitHub by GoogleCodeExporter
, 1 year ago
java.lang.ArrayIndexOutOfBoundsException: 1 For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
java.lang.AssertionError: java.lang.ClassCastException: java.lang.Object cannot be cast to javax.naming.RefAddr For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
at javax.naming.Reference.equals(Reference.java:337)
at nl.jqno.equalsverifier.util.PrefabValues.getOther(PrefabValues.java:138)
at nl.jqno.equalsverifier.util.FieldAccessor$FieldChanger.modify(FieldAccessor.java:272)
at nl.jqno.equalsverifier.util.FieldAccessor.modify(FieldAccessor.java:163)
at nl.jqno.equalsverifier.util.FieldAccessor.changeField(FieldAccessor.java:153)
at nl.jqno.equalsverifier.util.ObjectAccessor.scramble(ObjectAccessor.java:153)
at nl.jqno.equalsverifier.util.ClassAccessor.getBlackAccessor(ClassAccessor.java:284)
at nl.jqno.equalsverifier.util.ClassAccessor.getBlackObject(ClassAccessor.java:273)
at nl.jqno.equalsverifier.AbstractDelegationChecker.check(AbstractDelegationChecker.java:53)
at nl.jqno.equalsverifier.EqualsVerifier.verifyWithoutExamples(EqualsVerifier.java:428)
at nl.jqno.equalsverifier.EqualsVerifier.performVerification(EqualsVerifier.java:416)
at nl.jqno.equalsverifier.EqualsVerifier.verify(EqualsVerifier.java:386)
at com.hazelcast.jca.ObjectEqualsHashcodeTests.testConnectionFactoryImpl(ObjectEqualsHashcodeTests.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at com.hazelcast.test.AbstractHazelcastClassRunner$ThreadDumpAwareRunAfters.evaluate(AbstractHazelcastClassRunner.java:134)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at com.hazelcast.test.HazelcastSerialClassRunner.runChild(HazelcastSerialClassRunner.java:44)
at com.hazelcast.test.HazelcastSerialClassRunner.runChild(HazelcastSerialClassRunner.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at com.hazelcast.test.AbstractHazelcastClassRunner$1.evaluate(AbstractHazelcastClassRunner.java:183)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runners.Suite.runChild(Suite.java:128)
at org.junit.runners.Suite.runChild(Suite.java:27)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
at org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(JUnitCoreWrapper.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.