It's all about the answers!

Ask a question

errors on bugzilla export to xml when attachments present


jeff oestreich (1061148) | asked May 19 '11, 6:12 p.m.
I'm using the bugzilla export/import to xml/zip format wizard. I'm trying to use the two step method with options-> save as xml on the export from bugzilla, then planning to import from the resulting xml/zip using the data mapping.

I'm getting a number of errors like this in my summary report from the export step:
Exception while importing bug 6
java.Lang.NullPointerException

The corresponding bug#.xml file is missing from the zip.
Each bug # that generated this error seems to have attachments. I haven't proven yet that its a one-to-one correlation between bugs with attachments and this error, but the ratio seems about right to jump to that conclusion.

Client:
Rational Team Concert
Version: 3.0
Build id: RTC-I20101112-1731
on Mac OS.


Have tried with and without authentication. No difference.

There are enough of them that manually generating the missing ones is going to be prohibitive.

Any ideas or recommendations?

3 answers



permanent link
jeff oestreich (1061148) | answered May 23 '11, 10:19 a.m.
Defect opened - http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=166856

permanent link
jeff oestreich (1061148) | answered Jun 01 '11, 3:52 p.m.
The export from bugzilla to the zip file was fixed in RTC 3.0 client, ifix1.

Now fighting with the import side into RTC - also failing when attachments present:

Multiple status messages

Could not create work item from bug 9712
Attachment 9712: Exception reading ZIP file
Could not create work item from bug 9713
Attachment 9713: Exception reading ZIP file
Could not create work item from bug 9716
Attachment 9716: Exception reading ZIP file
Could not create work item from bug 9718
Attachment 9718: Exception reading ZIP file

permanent link
jeff oestreich (1061148) | answered Jun 02 '11, 9:12 a.m.
Opened defect 167942 for the problem on import of the zip when attachments present

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=167942

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.