Details

    • Similar Issues:

      Description

      Error Message

      Running jenkins  using war

      • Selenium 3.8.1
        maven-compiler-plugin 2.4
      • maven-surefire-plugin 2.7.1
      • testng6.8

       

      Started by user
      anonymous
      Building in workspace C:\Users\Jino\.jenkins\jobs\Zmarta _Sweden\workspace
      No emails were triggered.
      Parsing POMs
      Modules changed, recalculating dependency graph
      Established TCP socket on 60517
      [Zmarta_se] $ "C:\Program Files\Java\jdk1.8.0_151/bin/java" -cp "C:\Users\Jino\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-agent-1.8.1.jar;E:\Jino_testing\Test Automation\Maven\apache-maven-3.5.2\boot\plexus-classworlds-2.5.2.jar;E:\Jino_testing\Test Automation\Maven\apache-maven-3.5.2/conf/logging" jenkins.maven3.agent.Maven33Main "E:\Jino_testing\Test Automation\Maven\apache-maven-3.5.2" C:\Users\Jino\.jenkins\war\WEB-INF\lib\remoting-3.15.jar C:\Users\Jino\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-interceptor-1.8.1.jar C:\Users\Jino\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.8.1.jar 60517
      <===[JENKINS REMOTING CAPACITY]===>channel started
      Executing Maven: -B -f E:\Jino_testing\Git_Hub\Zmarta_se\pom.xml clean install
      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:133)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:68)
      at hudson.remoting.UserRequest.perform(UserRequest.java:210)
      at hudson.remoting.UserRequest.perform(UserRequest.java:53)
      at hudson.remoting.Request$2.run(Request.java:358)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.settings(DefaultMavenExecutionRequestBuilder.java:658)
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:149)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.getMavenExecutionRequest(Maven33Launcher.java:150)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:127)
      ... 21 more
      ERROR: Failed to parse POMs
      java.io.IOException: java.lang.reflect.InvocationTargetException
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:173)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:68)
      at hudson.remoting.UserRequest.perform(UserRequest.java:210)
      at hudson.remoting.UserRequest.perform(UserRequest.java:53)
      at hudson.remoting.Request$2.run(Request.java:358)
      at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
      at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to Channel to Maven [C:\Program Files\Java\jdk1.8.0_151/bin/java, -cp, C:\Users\Jino\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-agent-1.8.1.jar;E:\Jino_testing\Test Automation\Maven\apache-maven-3.5.2\boot\plexus-classworlds-2.5.2.jar;E:\Jino_testing\Test Automation\Maven\apache-maven-3.5.2/conf/logging, jenkins.maven3.agent.Maven33Main, E:\Jino_testing\Test Automation\Maven\apache-maven-3.5.2, C:\Users\Jino\.jenkins\war\WEB-INF\lib\remoting-3.15.jar, C:\Users\Jino\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven33-interceptor-1.8.1.jar, C:\Users\Jino\.jenkins\plugins\maven-plugin\WEB-INF\lib\maven3-interceptor-commons-1.8.1.jar, 60517]
      at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1696)
      at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
      at hudson.remoting.Channel.call(Channel.java:909)
      at hudson.maven.ProcessCache$MavenProcess.call(ProcessCache.java:161)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:873)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1727)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:133)
      ... 9 more
      Caused by: java.lang.Exception: java.lang.reflect.InvocationTargetException
      at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:179)
      ... 14 more
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
      at jenkins.maven3.agent.Maven33Main.launch(Maven33Main.java:176)
      ... 14 more
      Caused by: java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.settings(DefaultMavenExecutionRequestBuilder.java:658)
      at org.apache.maven.cli.DefaultMavenExecutionRequestBuilder.getMavenExecutionRequest(DefaultMavenExecutionRequestBuilder.java:149)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.getMavenExecutionRequest(Maven33Launcher.java:150)
      at org.jvnet.hudson.maven3.launcher.Maven33Launcher.main(Maven33Launcher.java:127)
      ... 21 more
      channel stopped
      An attempt to send an e-mail to empty list of recipients, ignored.
      Email was triggered for: Always
      Sending email for trigger: Always
      An attempt to send an e-mail to empty list of recipients, ignored.
      Finished: FAILURE

        Attachments

          Issue Links

            Activity

            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Jino philp I see you assigned it to the pom2config plugin. Any specific reason for that?
            So far sounds like just a Maven plugin issue

            Show
            oleg_nenashev Oleg Nenashev added a comment - Jino philp I see you assigned it to the pom2config plugin. Any specific reason for that? So far sounds like just a Maven plugin issue
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Sounds like JENKINS-43772 or similar. Which Maven version do you use?

            Show
            oleg_nenashev Oleg Nenashev added a comment - Sounds like JENKINS-43772 or similar. Which Maven version do you use?
            Hide
            jino67555 Jino philp added a comment -

            Oleg Nenashev ok might  be maven plugin issue, how can we resolve

            Show
            jino67555 Jino philp added a comment - Oleg Nenashev ok might  be maven plugin issue, how can we resolve
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Maybe you want to respond to my question above.
            I need which version of Maven Plugin you use and what Maven tool version is configured for installation in the job

            Show
            oleg_nenashev Oleg Nenashev added a comment - Maybe you want to respond to my question above. I need which version of Maven Plugin you use and what Maven tool version is configured for installation in the job
            Hide
            jino67555 Jino philp added a comment -

            Oleg Nenashev 

            Running jenkins  using war

            • Selenium 3.8.1
              maven-compiler-plugin 2.4
            • maven-surefire-plugin 2.7.1
            • testng6.8

             

            Show
            jino67555 Jino philp added a comment - Oleg Nenashev   Running jenkins  using war Selenium 3.8.1 maven-compiler-plugin 2.4 maven-surefire-plugin 2.7.1 testng6.8  

              People

              • Assignee:
                Unassigned
                Reporter:
                jino67555 Jino philp
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: