java.lang.Exception: Unexpected exception, expected<gov.uspto.patent.PatentReaderException> but was<java.lang.NullPointerException>

GitHub | pedagogly | 6 days ago
  1. 0

    Expected exception: org.junit.runners.model.InitializationError

    GitHub | 3 years ago | lshikhva
    java.lang.AssertionError: Expected exception: org.junit.runners.model.InitializationError
  2. 0

    Expected exception: org.junit.runners.model.InitializationError

    GitHub | 3 years ago | lshikhva
    java.lang.AssertionError: Expected exception: org.junit.runners.model.InitializationError
  3. 0

    NPE from org.robolectric.res.builder.DefaultPackageManager.compare

    GitHub | 2 years ago | godares79
    java.lang.RuntimeException: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    UdpAcceptorIT.concurrentConnections is failing intermittently

    GitHub | 2 months ago | jitsni
    org.junit.ComparisonFailure: Specified behavior did not match expected:<...ected write "Hello" [read "Hello" write "Goodbye" read "Goodbye" close closed] > but was:<...ected write "Hello" [] >
  6. 0

    GitHub comment 177#215728900

    GitHub | 9 months ago | michael-conway
    java.lang.AssertionError: Expected exception: org.irods.jargon.core.exception.DataNotFoundException

    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.NullPointerException

      No message provided

      at gov.uspto.patent.doc.pap.PatentAppPubParser.parse()
    2. gov.uspto.patent
      PatentReader.read
      1. gov.uspto.patent.doc.pap.PatentAppPubParser.parse(PatentAppPubParser.java:67)
      2. gov.uspto.patent.PatentReader.read(PatentReader.java:78)
      2 frames
    3. gov.uspto.document
      PatentParserTest.parseFailUnknownXMLType
      1. gov.uspto.document.parser.dom4j.PatentParserTest.parseFailUnknownXMLType(PatentParserTest.java:20)
      1 frame
    4. 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:498)
      4 frames
    5. 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.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)
      6. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14 frames
    6. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104)
      3 frames
    7. 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:498)
      4 frames
    8. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164)
      2. org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110)
      3. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175)
      4. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107)
      5. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68)
      5 frames