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

Unable to load resource hudson/model/Messages.properties

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: maven-plugin
    • Labels:
      None
    • Environment:
      Unix Master
      Windows XP Slave

      Description

      We are running Jenkins Version 1.447.
      At the end of my maven build on my windows slave, im getting an exception stacktrace and the build is being failed despite all steps in my maven build completing successfully.
      It doesnt seem to matter what what contents of the pom is, I get the exception from running any maven builds on the windows slave machine.

      The slave is setup to run as a windows service. There is nothing in the slave logs to indicate what is causing the problem.
      Full stack trace in attached file.

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
      at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:158)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:104)
      at hudson.maven.Maven3Builder.call(Maven3Builder.java:70)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:287)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.Error: Unable to load resource hudson/model/Messages.properties
      at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:202)
      at java.lang.ClassLoader.getResource(ClassLoader.java:1003)
      at java.lang.Class.getResource(Class.java:2074)
      at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:83)
      at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:102)
      at org.jvnet.localizer.ResourceBundleHolder.get(ResourceBundleHolder.java:102)
      at org.jvnet.localizer.ResourceBundleHolder.format(ResourceBundleHolder.java:139)
      at hudson.model.Messages.Node_Mode_NORMAL(Messages.java:1685)
      at hudson.model.Node$Mode.<clinit>(Node.java:432)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.lang.Class.getEnumConstantsShared(Class.java:2942)
      at java.lang.Class.getEnumConstants(Class.java:2920)
      at jenkins.model.Jenkins.<clinit>(Jenkins.java:3662)
      at hudson.model.Computer.<clinit>(Computer.java:1170)
      at hudson.FilePath.act(FilePath.java:784)
      at hudson.FilePath.act(FilePath.java:766)
      at hudson.FilePath.digest(FilePath.java:1380)
      at hudson.maven.reporters.MavenFingerprinter.record(MavenFingerprinter.java:238)
      at hudson.maven.reporters.MavenFingerprinter.postExecute(MavenFingerprinter.java:100)
      at hudson.maven.Maven3Builder$MavenExecutionListener.recordMojoSucceeded(Maven3Builder.java:478)
      at hudson.maven.Maven3Builder$MavenExecutionListener.mojoSucceeded(Maven3Builder.java:459)
      at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:87)
      at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:228)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
      at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79)
      ... 18 more
      Caused by: java.io.IOException: The system cannot find the path specified
      at java.io.WinNTFileSystem.createFileExclusively(Native Method)
      at java.io.File.checkAndCreate(File.java:1704)
      at java.io.File.createTempFile(File.java:1792)
      at java.io.File.createTempFile(File.java:1828)
      at hudson.remoting.RemoteClassLoader.createTempDir(RemoteClassLoader.java:285)
      at hudson.remoting.RemoteClassLoader.makeResource(RemoteClassLoader.java:266)
      at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:198)
      ... 53 more
      channel stopped
      ERROR: Failed to parse POMs
      hudson.util.IOException2: java.lang.reflect.InvocationTargetException

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            npink1981 N Pink
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: