title: InvocationTargetException thrown with java/selenium webdriver action class
body: <p>I'm using IE driver with java.  I've done this fine in c# but trying java and hitting a snag.  I instantiate the driver with a singleton pattern at the class level and then begin a junit test with the @Test.  I separated the finding of the element out from the action and the finding of the element works great identifying the element with id=69 and the hexidecimal code the browser auto-assigns it.  So far so good.</p>
  
  <p>Then I take that variable for the WebElement and pass it into the <code>action.click(element);</code>  At this point an <code>InvocationTargetException</code> is thrown with a null.  Researching I have found where the driver null is causing an issue, but like I said driver is not null and has an element variable that populates accurately.</p>
  
  <p>I'm wondering if there is something wrong with the selenium reference or something behind the scenes that may be throwing null when trying to utilize the library.  Any ideas where I might look to get this to work?  This is technically a java.lang.reflect exception and not a selenium specific exception, which if it was a null variable I would expect it to throw a selenium exception.</p>
  
  <p>Any pointers or thoughts would be appreciated.</p>