Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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:

    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 {
    publicvoid isBlablaTest() {

    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!

Back to the top