Hi,
You could use the head revision from subversion, which fails with a
GradleException and a message stating that some tests have failed.
Gradle still treats this as an internal exception, however.
Marko Bauhardt wrote:
Hi
i use the gradle wrapper with gradle snapshot version
0.3-080716153750+0200
if a test fails the build is finished with a NullPointerException.
What i can do to avoid this?
Exception in thread "main" java.lang.reflect.InvocationTargetException
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:585)
at
org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:38)
at org.gradle.wrapper.Wrapper.execute(Wrapper.java:61)
at org.gradle.wrapper.WrapperMain.main(WrapperMain.java:38)
Caused by: java.lang.reflect.InvocationTargetException
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:585)
at org.gradle.BootstrapMain.main(BootstrapMain.java:70)
... 7 more
Caused by: java.lang.NullPointerException
at
org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:177)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getProperty(ScriptBytecodeAdapter.java:474)
at
org.gradle.api.GradleException.getMessage(GradleException.groovy:49)
at java.lang.Throwable.getLocalizedMessage(Throwable.java:267)
at java.lang.Throwable.toString(Throwable.java:344)
at
org.codehaus.groovy.runtime.InvokerInvocationException.getMessage(InvokerInvocationException.java:40)
at
ch.qos.logback.classic.spi.ThrowableInformation.extractStringRep(ThrowableInformation.java:48)
at
ch.qos.logback.classic.spi.ThrowableInformation.<init>(ThrowableInformation.java:22)
at
ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:111)
at
ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:489)
at ch.qos.logback.classic.Logger.filterAndLog(Logger.java:483)
at ch.qos.logback.classic.Logger.error(Logger.java:549)
at org.gradle.Main.main(Main.java:259)
... 12 more
Marko
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email