maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-954) Hard-to-believe abstract method error
Date Tue, 29 Jan 2013 08:50:13 GMT

    [ https://jira.codehaus.org/browse/SUREFIRE-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=318232#comment-318232
] 

Benson Margulies commented on SUREFIRE-954:
-------------------------------------------

Now I've got a breakpoint on InvocationTargetException. Last hit before the problem, backtrace:

{noformat}

main@1, prio=5, in group 'main', status: 'RUNNING'
	  at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:93)
	  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)


{noformat}

Which purports to be on line:

{code}
System.setErr( orgSystemErr );
{code}

Which is a bit hard to believe. I think I'm being fooled by the shade technology.


                
> Hard-to-believe abstract method error
> -------------------------------------
>
>                 Key: SUREFIRE-954
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-954
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.13
>            Reporter: Benson Margulies
>
> I have a set of junit test that I am running with Surefire 2.13 with forkMode always.
Two classes die with the following hard-to-belive backtrace. The others are fine. Sadly, I
can't open-source the test case, so I'm hoping that you will give me some advice as to how
to be a remote-control debugging assistant to look into this. The AbstractMethodError is very
hard for me to imagine explaining.
> {noformat}
> 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)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message