1

After fixing the problems I previously reported, my Bugzilla import is now failing after five records with the following FogBugz Internal Error.

At this point I think I'm stumped. I don't think it's feasible for me to figure out a proprietary SQL adapter written in a language I don't know, which might not even be present in source-code form...

(Latest FogBugz, Bugzilla 3.6.2, both running on CentOS.)

Error:  Argument cannot be null.
Parameter name: schema
Stack Trace:    Hide Stack Trace
System.ArgumentNullException: Argument cannot be null.
Parameter name: schema
  at Wasabi.Runtime.ADO.Cursor.FillSchema (System.Data.DataTable schema) [0x00000] 
  at Wasabi.Runtime.ADO.Cursor.set_Reader (System.Data.Common.DbDataReader value) [0x00000] 
  at Wasabi.Runtime.ADO.KeySetCursor..ctor (System.Data.Common.DbCommand command, Boolean noUpdates) [0x00000] 
  at Wasabi.Runtime.ADO.KeySetCursor..ctor (System.Data.Common.DbCommand command) [0x00000] 
  at Wasabi.Runtime.ADO.RecordSet..ctor (Wasabi.Runtime.ADO.Command command) [0x00000] 
  at Wasabi.Runtime.ADO.Command.Execute (System.Object ignored1, System.Object ignored2, Nullable`1 Options) [0x00000] 
  at Wasabi.Runtime.ADO.Connection+<>c__DisplayClass1.<Execute>b__0 () [0x00000] 
  at Wasabi.Runtime.ADO.Util.RerunIfDeadlock (Wasabi.Runtime.ADO.Action action) [0x00000] 
  at Wasabi.Runtime.ADO.Connection.Execute (System.String CommandText) [0x00000] 
  at FogCreek.FogBugz.__Global.DoBugAction (System.Xml.XmlElement bugzilla, System.Xml.XmlElement node, FogCreek.FogBugz.CBug obug) [0x00000] 
  at FogCreek.FogBugz.__Global.ImportBugzilla (System.String sURL) [0x00000] 
  at FogCreek.FogBugz.__Global.StartImportBugzilla () [0x00000] 
  at FogCreek.FogBugz.__Global.RawpgImportBugzilla () [0x00000] 
  at FogCreek.FogBugz.__Global.pgImportBugzilla () [0x00000] 
  at FogCreek.FogBugz.__Global.RunPg () [0x00000] 
  at FogCreek.FogBugz.__Global.RawRunFogBugz () [0x00000] 
  at FogCreek.FogBugz.__Global.RunFogBugz () [0x00000] 
  at FogCreek.FogBugz.__Global.StartDefault () [0x00000] 
  at FogCreek.FogBugz.HttpHandler.ProcessRequest (System.Web.HttpContext context) [0x00000] 
Browser:     Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.12 (KHTML, like Gecko) Chrome/9.0.572.1 Safari/534.12
Source:  Wasabi.Runtime
OS Version:  Unix 2.6.18.194
Database:    MySQL
ixPerson:    2
QueryString:     ?pg=pgImportBugzilla&
URL:     /default.asp
Content Type:    application/x-www-form-urlencoded
Content Length:  126
Local Addr:  10.6.12.105
Remote Addr:     10.6.12.92
Time:    11/15/2010 1:43:31 PM
Post:    sURL=http://bugzilla.****.com/&sUser=****&sPassword=*****&nStartBug=1&nStopBug=9999&OK=OK
Site:    ****.com:7066
flag
Sorry for making you jump through so many hoops to get the importer to work. Thanks for taking the time to report the problems and fixes so that other people can benefit! – Daniel LeCheminant Nov 15 2010 at 22:36

1 Answer

3

Wow, I think we need to try out the bugzilla importer on unix sometime.

Here's the fix for this one.

On importBugzilla.was line 326, change Execute to ExecuteNonQuery.

link|flag
1 
Wow, thanks for the very quick reply! I barely had time to go tell my boss we're doomed, and now the problem is fixed and the importer is grinding through hundreds of bugs. :) – Jens Alfke Nov 15 2010 at 22:27

Your Answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.