Uploaded image for project: 'Greenshot bugs'
  1. BUG-2115

Error while trying to upload screen shot to Jira

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.9.112
    • Fix Version/s: 1.2.9.129
    • Component/s: Jira, Plugin
    • Labels:
    • Environment:

      Windows 10 build 1607 x64, Intel core i5-u4300

    • Sprint:
      Greenshot 1.2.9 BF2

      Description

      with the latest version 1.2.9 I started experiencing problem when trying to upload screenshots to Jira via, otherwise, extremely helpful and super cool Jira plugin. With the same rig and with the previous version of Greenshot I had not a single problem. The address of the jira server is verified, connectivity and availability of the service is verified. As I said it used to work just fine before.
      steps to reproduce:
      1. take a screenshot.
      2. Open it in the greenshot editor
      3. click on the "Uplod to Jira" button.
      And I receive the following error message with the consecutive dump:

      Software version: 1.2.9.112-RELEASE-9bc62ac42bd37d7ba2b19946b70d40a599332b75 (64 bit)
      .NET runtime version: 4.0.30319.42000+
      Time: 2017-01-13 11:02:08 +02:00
      OS: unknown   (x64)  10.0 build 14393 revision 0
      GDI object count: 153
      User object count: 140
      
      Exception: System.NotSupportedException
      Message: Unsupported result type Bitmap & text/html combination.
      
      Stack:
         at Dapplo.HttpExtensions.HttpResponseMessageExtensions.<GetAsAsync>d__1`1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Dapplo.HttpExtensions.HttpClientExtensions.<GetAsAsync>d__4`1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Dapplo.HttpExtensions.UriActionExtensions.<GetAsAsync>d__3`1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at Dapplo.Jira.JiraApi.<GetUriContentAsync>d__18`1.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at GreenshotJiraPlugin.IssueTypeBitmapCache.<CreateAsync>d__3.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at GreenshotJiraPlugin.AsyncMemoryCache`2.<>c__DisplayClass26_0.<<GetOrCreateInternalAsync>b__0>d.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at GreenshotJiraPlugin.AsyncMemoryCache`2.<GetOrCreateInternalAsync>d__26.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at GreenshotJiraPlugin.JiraConnector.<GetIssueTypeBitmapAsync>d__30.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at GreenshotJiraPlugin.Forms.JiraForm.<JiraFilterBox_SelectedIndexChanged>d__13.MoveNext()
      --- End of stack trace from previous location where exception was thrown ---
         at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)
      
      Configuration dump:
      

        Gliffy Diagrams

          Attachments

            Issue links

              Activity

                People

                • Assignee:
                  rkrom Robin Krom
                  Reporter:
                  flexreg George
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 hours
                    2h