java.io.IOException: Could not scrape issue key from comment page for id 375250

Sonatype JIRA | Peter Lynch | 4 years ago
  1. 0

    AttachmentTest fails in code paths triggered by older Nexus versions. Seems mediator has trouble scraping the issueKey and IssueID from Jira. https://builds.sonatype.org/view/nexus-libs/job/sisu-jira-mediator/40/jdk=java-6x,label=linux/testReport/junit/org.sonatype.jira.internal/AttachmentTest/ {noformat} org.sonatype.jira.internal.AttachmentTest.testAttachJIRARest (from AttachmentTest) Failing for the past 18 builds (Since #23 ) Took 0.59 sec. add description Error Message [{"self":"https://issues.sonatype.org/rest/api/2/attachment/55186","id":"55186","filename":"1337561606381.png","author":{"self":"https://issues.sonatype.org/rest/api/2/user?username=sonatype_problem_reporting","name":"sonatype_problem_reporting","emailAddress":"problem_reporting@sonatype.com","avatarUrls":{"16x16":"https://issues.sonatype.org/secure/useravatar?size=small&avatarId=10152","48x48":"https://issues.sonatype.org/secure/useravatar?avatarId=10152"},"displayName":"Sonatype Problem Reporting","active":true},"created":"2012-05-20T19:53:26.781-0500","size":178313,"mimeType":"image/png","content":"https://issues.sonatype.org/secure/attachment/55186/1337561606381.png","thumbnail":"https://issues.sonatype.org/secure/thumbnail/55186/_thumb_55186.png"}] expected:<204> but was:<200> Stacktrace java.lang.AssertionError: [{"self":"https://issues.sonatype.org/rest/api/2/attachment/55186","id":"55186","filename":"1337561606381.png","author":{"self":"https://issues.sonatype.org/rest/api/2/user?username=sonatype_problem_reporting","name":"sonatype_problem_reporting","emailAddress":"problem_reporting@sonatype.com","avatarUrls":{"16x16":"https://issues.sonatype.org/secure/useravatar?size=small&avatarId=10152","48x48":"https://issues.sonatype.org/secure/useravatar?avatarId=10152"},"displayName":"Sonatype Problem Reporting","active":true},"created":"2012-05-20T19:53:26.781-0500","size":178313,"mimeType":"image/png","content":"https://issues.sonatype.org/secure/attachment/55186/1337561606381.png","thumbnail":"https://issues.sonatype.org/secure/thumbnail/55186/_thumb_55186.png"}] expected:<204> but was:<200> at org.junit.Assert.fail(Assert.java:91) at org.junit.Assert.failNotEquals(Assert.java:645) at org.junit.Assert.assertEquals(Assert.java:126) at org.junit.Assert.assertEquals(Assert.java:470) at org.sonatype.jira.internal.AttachmentTest.testAttachJIRARest(AttachmentTest.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) {noformat} {noformat} org.sonatype.jira.internal.AttachmentTest.testScrapeIssueKeyJIRARest (from AttachmentTest) Failing for the past 18 builds (Since #23 ) Took 0.23 sec. add description Error Message Could not scrape issue key from comment page for id 375250 Stacktrace java.io.IOException: Could not scrape issue key from comment page for id 375250 at org.sonatype.jira.internal.AbstractAttachmentHandler.resolveIssueKey(AbstractAttachmentHandler.java:116) at org.sonatype.jira.internal.AttachmentTest.testScrapeIssueKeyJIRARest(AttachmentTest.java:195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) at $Proxy0.invoke(Unknown Source) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) Caused by: java.io.IOException: Could not scrape issue key from comment page for id 375250, no match. at org.sonatype.jira.internal.AbstractAttachmentHandler.resolveIssueKey(AbstractAttachmentHandler.java:112) ... 29 more {noformat}

    Sonatype JIRA | 4 years ago | Peter Lynch
    java.io.IOException: Could not scrape issue key from comment page for id 375250
  2. 0

    Exception in the logs related to task management

    YouTrack | 7 years ago
    com.atlassian.theplugin.jira.api.JIRAException: HTTP 404 (Not Found) Could not find issue with issue key LOCAL-00049
  3. 0

    s3auth response timeout and load failure every ~90m

    GitHub | 4 months ago | dhezlrazorfish
    java.io.IOException: failed to fetch <subdirectory and page> from '<url.com>' (key=<KEY>): ["'<subdirectory and page>': Status Code: 404, AWS Service: Amazon S3, AWS Request ID: null, AWS Error Code: null, AWS Error Message: null", "'<subdirectory and page>': Status Code: 404, AWS Service: Amazon S3, AWS Request ID: null, AWS Error Code: null, AWS Error Message: null"]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    s3auth response timeout and load failure every ~90m

    GitHub | 4 months ago | dhezlrazorfish
    java.io.IOException: failed to fetch <subdirectory and page> from '<url.com>' (key=<KEY>): ["'<subdirectory and page>': Status Code: 404, AWS Service: Amazon S3, AWS Request ID: null, AWS Error Code: null, AWS Error Message: null", "'<subdirectory and page>': Status Code: 404, AWS Service: Amazon S3, AWS Request ID: null, AWS Error Code: null, AWS Error Message: null"]
  6. 0

    [JIRA] (JENKINS-38897) When it is impossible to get data from an UC Jenkins serves the Oops page

    Google Groups | 2 months ago | aher...@apache.org (JIRA)
    java.io.IOException: Could not find JSON in http:<span class="code-comment" style="color: #808080">//links.sonatype.com/products/insight/ci/jenkins-plugins?id=insight-ci&amp;version=2.7.3

    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.io.IOException

      Could not scrape issue key from comment page for id 375250, no match.

      at org.sonatype.jira.internal.AbstractAttachmentHandler.resolveIssueKey()
    2. org.sonatype.jira
      AttachmentTest.testScrapeIssueKeyJIRARest
      1. org.sonatype.jira.internal.AbstractAttachmentHandler.resolveIssueKey(AbstractAttachmentHandler.java:112)
      2. org.sonatype.jira.internal.AttachmentTest.testScrapeIssueKeyJIRARest(AttachmentTest.java:195)
      2 frames
    3. 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
    4. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      7. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      8. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      9. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      10. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      11. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      12. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      12 frames
    5. JUnit4 Provider
      JUnit4Provider.invoke
      1. org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
      2. org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
      3. org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
      3 frames
    6. 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
    7. SureFire
      ProviderFactory$ClassLoaderProxy.invoke
      1. org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
      1 frame
    8. Unknown
      $Proxy0.invoke
      1. $Proxy0.invoke(Unknown Source)
      1 frame
    9. SureFire
      ForkedBooter.main
      1. org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
      2. org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
      3. org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
      3 frames