Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-19227

Bugzilla import fails when bugs have a component_id that does not exist in bugzilla

    XMLWordPrintable

Details

    Description

      If there are bugs in bugzilla that have a component id that doesn't exist in bugzilla's components table, then the importer fails with the following exception:

      2009-09-21 11:51:24,747 http-8443-Processor19 WARN [web.action.util.BugzillaImport] Exception thrown while importing Bugzilla data
      java.sql.SQLException: Illegal operation on empty result set.
      	at com.mysql.jdbc.ResultSet.checkRowPos(ResultSet.java:680)
      	at com.mysql.jdbc.ResultSet.getNativeString(ResultSet.java:4000)
      	at com.mysql.jdbc.ResultSet.getStringInternal(ResultSet.java:5153)
      	at com.mysql.jdbc.ResultSet.getString(ResultSet.java:4999)
      	at com.mysql.jdbc.ResultSet.getString(ResultSet.java:5015)
      	at com.atlassian.jira.util.BugzillaImportBean.getComponentName(BugzillaImportBean.java:417)
      	at com.atlassian.jira.util.BugzillaImportBean.createIssues(BugzillaImportBean.java:363)
      	at com.atlassian.jira.util.BugzillaImportBean.create(BugzillaImportBean.java:245)
      	at com.atlassian.jira.web.action.util.BugzillaImport.doRun(BugzillaImport.java:268)
      	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 webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:61)
      	at webwork.util.InjectionUtils.invoke(InjectionUtils.java:52)
      	at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:417)
      	at webwork.action.ActionSupport.execute(ActionSupport.java:146)
      

      Attachments

        Activity

          People

            pniewiadomski Pawel Niewiadomski (Inactive)
            andrew.myers Andrew Myers [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: