Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2063

Java 1.6 Dependency in Maven Agent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Platform: All, OS: Linux

      Fails when running with Java 1.5. This works in Hudson 1.225 but fails in 1.234.

      Exception in thread "main" java.lang.NoClassDefFoundError: java/io/Console
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2395)
      at java.lang.Class.getMethod0(Class.java:2642)
      at java.lang.Class.getMethod(Class.java:1579)
      at hudson.maven.agent.Main.main(Main.java:91)
      at hudson.maven.agent.Main.main(Main.java:38)
      ERROR: Failed to parse POMs
      java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at java.io.FilterInputStream.read(FilterInputStream.java:111)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:235)
      at hudson.remoting.Channel.<init>(Channel.java:258)
      at hudson.remoting.Channel.<init>(Channel.java:204)
      at hudson.maven.MavenProcessFactory$1.<init>(MavenProcessFactory.java:178)
      at hudson.maven.MavenProcessFactory.newProcess(MavenProcessFactory.java:177)
      at hudson.maven.ProcessCache.get(ProcessCache.java:170)
      at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:319)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:231)
      at hudson.model.Run.run(Run.java:784)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:202)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:88)
      finished: FAILURE

            Unassigned Unassigned
            yschimke yschimke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: