Hi Folks,
I created one - smallest testcase to reproduce the failure - not ready yet! -
And testing i got:
....
[...]
[groovyScript] DEBUG
(com.gargoylesoftware.htmlunit.javascript.background.JavaScriptJobManagerImpl)
- Removing all jobs.
[groovyScript] INFO (com.canoo.webtest.ant.WebtestTask) - Finished executing
webtest "Try to identify the failures of the next webtest version!"
(C:\MocPortalP
rojects\AgsPortalTest\webtests\tests\upgradeTests\first_steps.xml:10: )
[groovyScript] INFO (com.canoo.webtest.reporting.XmlReporter) - Writing report
to C:\MocPortalProjects\AgsPortalTest\webtests\results\001_TryToIdentifyThe\WebT
estReport.xml
[groovyScript] INFO (com.canoo.webtest.ant.WebtestTask) - Test report
successfully created.
[groovyScript] [T: Thread-4]-- executed
[groovyScript] [T: Thread-4]-- Finished Try to identify the failures of the
next webtest version! - C:\MocPortalProjects\AgsPortalTest\webtests\results
[groovyScript] Exception in thread "AWT-EventQueue-0"
org.codehaus.groovy.runtime.InvokerInvocationException:
java.lang.NullPointerException
[groovyScript] [T: Thread-4]-- 0 workers after removing myself
[groovyScript] at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:92)
[groovyScript] [T: Thread-4]-- no job for me anymore. Exiting
[groovyScript] at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)
[groovyScript] at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892)
at groovy.lang.Closure.call(Closure.java:279)
at groovy.lang.Closure.call(Closure.java:274)
at groovy.lang.Closure.run(Closure.java:355)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.NullPointerException
at
org.codehaus.groovy.runtime.callsite.GetEffectivePojoPropertySite.callGetProperty(GetEffectivePojoPropertySite.java:36)
at
WebTestMonitorImpl$_notifyWebTestFinished_closure4.doCall(WebTestMonitor.groovy:132)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:234)
at
org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:272)
at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:892)
at
org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:66)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:150)
at
WebTestMonitorImpl$_notifyWebTestFinished_closure4.doCall(WebTestMonitor.groovy)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
... 14 more
wt.htmlReports.init:
[...]
--------------------------------------
--
Michael Habbert
Key-Work Consulting GmbH
Kriegsstr. 100 - 76133 Karlsruhe - Germany
Fon: +49-721-78203-269 - Fax: +49-721-78203-10
[email protected]
Key-Work Consulting GmbH Karlsruhe, HRB 108695, HRG Mannheim
Geschaeftsfuehrer: Andreas Stappert, Tobin Wotring