Details
-
Bug
-
Resolution: Tracked Elsewhere
-
Low
-
None
-
None
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)