java.lang.AssertionError: equals throws ArrayIndexOutOfBoundsException when field value is null. For more information, go to: http://code.google.com/p/equalsverifier/wiki/ErrorMessages

Google Groups | Gerson K. | 6 years ago
  1. 0

    AbstractMethodError and JodaTime

    Google Groups | 6 years ago | Gerson K.
    java.lang.AssertionError: equals throws ArrayIndexOutOfBoundsException when field value is null. For more information, go to: http://code.google.com/p/equalsverifier/wiki/ErrorMessages
  2. 0

    String comparison with EqualsVerifier.forExamples

    Google Groups | 6 years ago | xenson
    java.lang.AssertionError: equals throws ArrayIndexOutOfBoundsException when field value is null. For more information, go to: http://code.google.com/p/equalsverifier/wiki/ErrorMessages
  3. 0

    Abstract ValueObject class with EqualsBuilder and HashCodeBuilder

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.AssertionError: Significant fields: all fields should be used, but A has not defined an equals method. For more information, go to: http://www.jqno.nl/equalsverifier/errormessages
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    False AssertionError if using Arrays.equals in equals method

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.AssertionError: Array: == used instead of Arrays.equals() for field stringAry. What stacktrace does EqualsVerifier print, when called with the debug() method?
  6. 0

    NullPointerException when class contains static final field with null value

    GitHub | 1 year ago | lindmik
    java.lang.AssertionError: java.lang.NullPointerException: For more information, go to: http://www.jqno.nl/equalsverifier/errormessages

    1 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.AssertionError

      equals throws ArrayIndexOutOfBoundsException when field value is null. For more information, go to: http://code.google.com/p/equalsverifier/wiki/ErrorMessages

      at nl.jqno.equalsverifier.util.Assert.fail()
    2. EqualsVerifier
      EqualsVerifier.verify
      1. nl.jqno.equalsverifier.util.Assert.fail(Assert.java:96)
      2. nl.jqno.equalsverifier.EqualsVerifier.handleError(EqualsVerifier.java:330)
      3. nl.jqno.equalsverifier.EqualsVerifier.verify(EqualsVerifier.java:310)
      3 frames
    3. gov.fns.platform
      CommentValueObjectTest.testEqualsContract
      1. gov.fns.platform.common.domain.CommentValueObjectTest.testEqualsContract(CommentValueObjectTest.java:41)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:154)
      2. junit.framework.TestCase.runBare(TestCase.java:127)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:118)
      7. junit.framework.TestSuite.runTest(TestSuite.java:208)
      8. junit.framework.TestSuite.run(TestSuite.java:203)
      8 frames
    6. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      6 frames