maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Re: Perhaps strange backtrace in surefire
Date Sat, 26 Jan 2013 00:08:24 GMT
Here it is in 2.13:

<forkMode>always</forkMode>

How would you suggest that I go about getting you more useful information?

Running com.basistech.TestLogCallback
0    [main] DEBUG com.basistech.rlp.RLPEnvironment  - Starting cleanup thread
6    [main] DEBUG com.basistech.rlp.RLPEnvironment  - cleanupContext
java.lang.ref.PhantomReference@509df6f1 7f9e59a073b0
6    [RLP Context Cleanup] DEBUG com.basistech.rlp.RLPEnvironment  -
Exiting cleanup thread
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.142 sec
java.lang.AbstractMethodError:
java.lang.Throwable.printStackTrace(Ljava/io/PrintWriter;)V
at org.apache.maven.surefire.report.LegacyPojoStackTraceWriter.writeTraceToString(LegacyPojoStackTraceWriter.java:54)
at org.apache.maven.surefire.booter.ForkingRunListener.encode(ForkingRunListener.java:330)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:104)

On Fri, Jan 25, 2013 at 11:04 AM, Kristian Rosenvold
<kristian.rosenvold@gmail.com> wrote:
> If it's reproducible with 2.13, yes ;)
>
> Kristian
>
>
> 2013/1/25 Benson Margulies <bimargulies@gmail.com>
>
>> Surefire 2.12.2: Is this worth a JIRA?
>>
>>
>> org.apache.maven.surefire.util.SurefireReflectionException:
>> java.lang.reflect.InvocationTargetException; nested exception is
>> java.lang.reflect.InvocationTargetException: null
>> 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 jIf itava.lang.reflect.Method.invoke(Method.java:597)
>> at
>> org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
>> at
>> org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
>> at
>> org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:113)
>> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
>> Exception in thread "main" java.lang.NullPointerException
>> at java.lang.Throwable.printStackTraceAsCause(Throwable.java:482)
>> at java.lang.Throwable.printStackTrace(Throwable.java:468)
>> at
>> org.apache.maven.surefire.util.NestedRuntimeException.printStackTrace(NestedRuntimeException.java:149)
>> at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:86)
>> Running com.basistech.TestMultiEnvironment
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message