Mike,

I confirmed that in my case this was due to BibTeXParser failing to parse the 
redirect page that our Cisco VPN was showing on the first page load, so I 
assigned the outError to whatever BibTeXParser returns.  Feel free to change 
that if you had some other reason for ignoring it (I guess you could either 
fake up a "warning" BibItem or create another error).

-- 
Adam

On Oct 18, 2009, at 11:19 AM, Adam R. Maxwell wrote:

> 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.




Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to