You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kristian Rosenvold (JIRA)" <ji...@codehaus.org> on 2013/03/06 20:24:52 UTC

[jira] (SUREFIRE-954) Hard-to-believe abstract method error

     [ https://jira.codehaus.org/browse/SUREFIRE-954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Rosenvold closed SUREFIRE-954.
---------------------------------------

    Resolution: Cannot Reproduce
      Assignee: Kristian Rosenvold

>From our discussions it would seem like this problem was caused by an exception that was instantiated in native code with an incorrect classloader.

I would really appreciate a testcase for this, and will happily re-open this issue if such a testcase emerges
                
> 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
>            Assignee: Kristian Rosenvold
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira