Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-14171

Invocation of method 'loadOrganizations' in class com.atlassian.jira.plugins.dvcs.webwork.ConfigureDvcsOrganizations threw exception java.lang.RuntimeException

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest (View bug fix roadmap)
    • None
    • DCON - old releases
    • DVCS Accounts
    • java version "1.6.0_27"
      OpenJDK Runtime Environment (IcedTea6 1.12.6) (6b27-1.12.6-1ubuntu0.12.04.2)
      OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

      Problem

      It relates to DCON-308. The following error occurs when connecting JIRA to a repository with DVCS plugin version 1.4.2.10:

      An error occurred whilst rendering this message. Please contact the administrators, and inform them of this bug. Details: ------- org.apache.velocity.exception.MethodInvocationException: Invocation of method 'loadOrganizations' in class com.atlassian.jira.plugins.dvcs.webwork.ConfigureDvcsOrganizations threw exception java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is not null and `ISSUE_KEY` is not null order by `RAW_NODE`, `NODE`, `ID` ASC' at line 1 at com.atlassian.jira.plugins.jira-bitbucket-connector-plugin:repositoryConfiguration//templates/dvcs/add-organization.vm[line 92, column 27] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at 
      ... 
      

      Fix

      Upgrade to version 1.4.3 or newer of DVCS plugin

            [JSWSERVER-14171] Invocation of method 'loadOrganizations' in class com.atlassian.jira.plugins.dvcs.webwork.ConfigureDvcsOrganizations threw exception java.lang.RuntimeException

              Unassigned Unassigned
              72d594695d29 Robert Stoll
              Affected customers:
              2 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: