[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] An unexpected error occured
|
I got following trace
So I might have something todo with unresolved bundles.
The problematic bundle seems to be org.apache.fop.
But this bundle I created with bnd-platform. So I will have to debug this bundle ☹
Regards
Stefan
-----Ursprüngliche Nachricht-----
Von: tycho-user-bounces@xxxxxxxxxxx <tycho-user-bounces@xxxxxxxxxxx> Im Auftrag von Sievers, Jan
Gesendet: Donnerstag, 12. Juli 2018 11:05
An: Tycho user list <tycho-user@xxxxxxxxxxx>
Betreff: Re: [tycho-user] An unexpected error occured
try maven debug option -X
On 12.07.18, 09:32, "tycho-user-bounces@xxxxxxxxxxx on behalf of Stefan Nöbauer" <tycho-user-bounces@xxxxxxxxxxx on behalf of stefan.noebauer@xxxxxxxxxxxxxxxxxx> wrote:
Hi,
I have another question about tycho surefire.
I wrote a test project for one of my plugins. The plugin is build successfully but when the testplugin should be executed surefire comes up with this exception:
Failed to execute goal org.eclipse.tycho:tycho-surefire-plugin:1.2.0:test (default-test) on project server.tests: An unexpected error
occured while launching the test runtime (return code 13).
Where ca I find more information about the possible failure?
The mentioned logfile in “work\data\.metadata\.log” does not exist.
The Test is just as simple as:
package server.tests;
import org.junit.Test;
importstatic org.junit.Assert.assertTrue;
/**
*
@author Stefan Nöbauer
*/
publicclass BlaBlaTest {
@Test
publicvoid isBlablaTest() {
assertTrue(true);
}
}
Manifest.mf
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Tests
Bundle-SymbolicName: server.tests
Bundle-Version: 1.0.0.qualifier
Bundle-Vendor: KGU
Fragment-Host: com.teamcenter.presentation.contmgmt.server;bundle-version="1.0.0"
Automatic-Module-Name: server.tests
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.junit;bundle-version="4.12.0"
Export-Package: server.tests
When I select a different host plugin the test plugin “server.tests” is executed fine!
Regards
Stefan
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/tycho-user
Attachment:
1531394830373.log
Description: 1531394830373.log