Patches item #3590252, was opened at 2012-11-26 18:33
Message generated for change (Tracker Item Submitted) made by skaffman
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497984&aid=3590252&group_id=61302

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HtmlUnit
Group: Release 3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kenny MacLeod (skaffman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Imprive exception message when setting form by ID

Initial Comment:
When you call setWorkingForm(nameorId, index), and no form is found by those 
arguments, then you get a rather unhelpful message:

"Attempted to set form to null."

Attached is a patch (against v3.1) which checks for the null pre-emptively, and 
throws a more useful exception.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=497984&aid=3590252&group_id=61302

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
JWebUnit-development mailing list
JWebUnit-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to