java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • External gadgets do not work on JIRA 6.1.3 when Trusted Applications is configured between two applications. However, oAuth authentication seems to be working fine. This issue can occur in a variety of gadgets (i.e. [Overdue Review gadget|https://confluence.atlassian.com/display/CRUCIBLE/Using+Crucible+gadgets], [Confluence Page gadget|https://confluence.atlassian.com/display/DOC/Confluence+Page+Gadget]) among different products, follow is the description of how to replicate this issue with JIRA and Confluence. h4. Steps to reproduce # Setup JIRA 6.1.3 and Confluence 5.3.4 # Configure 'Trusted Application' application link between the two applications # Add "Show Confluence Page" gadget on JIRA # You will face error on the gadget as example in [^gadget.jpg] with HTTP Status 401 Unauthorized Error. If DEBUG is enabled on Confluence, the following will be thrown {noformat}2013-12-10 18:11:10,724 DEBUG [http-8090-17] [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] setFailureHeader BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:73){noformat}
    via by Zulfadli Noor Sazali [Atlassian],
  • External gadgets do not work on JIRA 6.1.3 when Trusted Applications is configured between two applications. However, oAuth authentication seems to be working fine. This issue can occur in a variety of gadgets (i.e. [Overdue Review gadget|https://confluence.atlassian.com/display/CRUCIBLE/Using+Crucible+gadgets], [Confluence Page gadget|https://confluence.atlassian.com/display/DOC/Confluence+Page+Gadget]) among different products, follow is the description of how to replicate this issue with JIRA and Confluence. h4. Steps to reproduce # Setup JIRA 6.1.3 and Confluence 5.3.4 # Configure 'Trusted Application' application link between the two applications # Add "Show Confluence Page" gadget on JIRA # You will face error on the gadget as example in [^gadget.jpg] with HTTP Status 401 Unauthorized Error. If DEBUG is enabled on Confluence, the following will be thrown {noformat}2013-12-10 18:11:10,724 DEBUG [http-8090-17] [auth.trustedapps.filter.TrustedApplicationFilterAuthenticator] setFailureHeader BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247) at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.authenticate(TrustedApplicationFilterAuthenticator.java:73){noformat}
    via by Zulfadli Noor Sazali [Atlassian],
    • java.lang.RuntimeException: BAD_PROTOCOL_VERSION; Unsupported protocol version: {0}. required {1}; ["0","2"] at com.atlassian.security.auth.trustedapps.filter.TrustedApplicationFilterAuthenticator.setFailureHeader(TrustedApplicationFilterAuthenticator.java:247)
    No Bugmate found.