java.lang.Exception: Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NullPointerException>

GitHub | Mikemosca | 4 months ago
  1. 0

    [R&R]uploadSolrClusterConfigurationZip()

    GitHub | 4 months ago | Mikemosca
    java.lang.Exception: Unexpected exception, expected<java.lang.IllegalArgumentException> but was<java.lang.NullPointerException>
  2. 0

    在很多手机上运行都不会报错,但是在台电平板上面运行会报错的方法。

    GitHub | 4 months ago | 395193253
    java.lang.NullPointerException: Attempt to invoke virtual method 'byte[] java.lang.String.getBytes(java.nio.charset.Charset)' on a null object reference
  3. 0

    [Play 2.4.2 Java] Default body parser fails on DELETE request's body

    GitHub | 1 year ago | sebastian-tatut
    play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[NullPointerException: null content]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    P2P text message fails to return a 200 OK to the sender

    GitHub | 1 year ago | atsakiridis
    java.lang.IllegalArgumentException: Parse error reading content null with content type text/plain
  6. 0

    When an instant message is received which is empty, exception occurs

    GitHub | 2 years ago | atsakiridis
    java.lang.IllegalArgumentException: Parse error reading content null with content type text/plain

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

      content == null

      at okhttp3.RequestBody.create()
    2. okhttp3
      RequestBody.create
      1. okhttp3.RequestBody.create(RequestBody.java:103)
      1 frame
    3. com.ibm.watson
      RetrieveAndRankTest.testUploadClusterConfigZipNg1
      1. com.ibm.watson.developer_cloud.retrieve_and_rank.v1.RetrieveAndRank.createUploadSolrConfigurationRequest(RetrieveAndRank.java:439)
      2. com.ibm.watson.developer_cloud.retrieve_and_rank.v1.RetrieveAndRank.uploadSolrClusterConfigurationZip(RetrieveAndRank.java:431)
      3. com.ibm.watson.developer_cloud.retrieve_and_rank.v1.RetrieveAndRankTest.testUploadClusterConfigZipNg1(RetrieveAndRankTest.java:783)
      3 frames
    4. 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:56)
      4. java.lang.reflect.Method.invoke(Method.java:620)
      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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      7. org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
      8. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      9. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      10. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      11. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      12. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      13. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      14. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      15. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      16. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      16 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    7. 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