From: Adam R. M. <ama...@ma...> - 2009-10-18 18:19:43
|
I think I've fixed this, and a couple other things along the way. I only saw this on my first access over VPN, so I wonder if Mark was having the same problem (I think there's an authentication page or something). >> Oct 17 15:57:46 vpn-64-200-130 >> [0x0-0x762762].edu.ucsd.cs.mmccrack.bibdesk[68916]: Debugger() was >> called! This is from Adobe Flash, which stupidly calls Debugger() all the time. >> Oct 17 15:57:49 vpn-64-200-130 BibDesk[68916]: - >> [BDSKWebGroupViewController >> webView:didFailLoadWithError:forFrame:] Error Domain=NSURLErrorDomain >> Code=-999 UserInfo=0x14a40e50 "The operation couldn’t be completed. >> (NSURLErrorDomain error -999.)" >> Oct 17 15:58:05 vpn-64-200-130 BibDesk[68916]: *** WebKit discarded an >> uncaught exception in the webView:didFinishLoadForFrame: delegate: >> <NSInvalidArgumentException> *** -[NSCFArray initWithObjects:count:]: >> attempt to insert nil object at objects[0] This was the exception I saw ([NSArray arrayWithObject:nil]) so I'm almost sure it's fixed...but I couldn't reproduce it after my first page load over VPN. This happened when itemFromURL:xmlDocument:error: returned nil. Unfortunately, the error was also nil, so I'm not sure exactly what failed. I see a potential crash since the outError is not initialized in itemFromURL:xmlDocument:error: when newPubs is nil or empty and an XMLDocument is passed in. Not sure if that happens in practice, but something should be returned in outError for a parse failure. |