java.lang.Error: Unable to load resource META-INF/services/org.apache.commons.logging.LogFactory

github.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    [FIXED JENKINS-27284] Pass always the build by fbelzunc · Pull Request #53 · jenkinsci/s3-plugin · GitHub

    github.com | 9 months ago
    java.lang.Error: Unable to load resource META-INF/services/org.apache.commons.logging.LogFactory
  2. 0

    Translation to Brasilian Portuguese Br by cleibersilva · Pull Request #2 · jenkinsci/jenkins · GitHub

    github.com | 1 year ago
    java.util.concurrent.ExecutionException: java.lang.Error: Unable to load resource com/sun/jna/win32-x86/jnidispatch.dll
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    I have a matrix-job. Jclouds plugin creates slaves for build. Slaves connect to jenkins via jnlp. Sometimes slave breaks connection: {code} 14:39:55 2 failed, 214 passed, 1 skipped, 6 deselected, 1 warnings, 1 rerun in 2283.12 seconds 14:39:55 + true 14:39:55 Looks like the node went offline during the build. Check the slave log for the details. 14:39:55 FATAL: Remote call on win7-x86-ru-name-4a0 failed 14:39:55 java.io.IOException: Remote call on win7-x86-ru-name-4a0 failed 14:39:55 at hudson.remoting.Channel.call(Channel.java:760) 14:39:55 at hudson.Launcher$RemoteLauncher.kill(Launcher.java:941) 14:39:55 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:556) 14:39:55 at hudson.model.Run.execute(Run.java:1745) 14:39:55 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 14:39:55 at hudson.model.ResourceController.execute(ResourceController.java:89) 14:39:55 at hudson.model.Executor.run(Executor.java:240) 14:39:55 Caused by: java.lang.Error: Unable to load resource winp.dll 14:39:55 at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:381) 14:39:55 at java.lang.ClassLoader.getResource(Unknown Source) 14:39:55 at org.jvnet.winp.Native.load(Native.java:85) 14:39:55 at org.jvnet.winp.Native.<clinit>(Native.java:56) 14:39:55 at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:212) 14:39:55 at hudson.util.ProcessTree$Windows.<clinit>(ProcessTree.java:469) 14:39:55 at hudson.util.ProcessTree.get(ProcessTree.java:328) 14:39:55 at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:953) 14:39:55 at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:944) 14:39:55 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 14:39:55 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 14:39:55 at hudson.remoting.Request$2.run(Request.java:324) 14:39:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 14:39:55 at java.util.concurrent.FutureTask.run(Unknown Source) 14:39:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 14:39:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 14:39:55 at hudson.remoting.Engine$1$1.run(Engine.java:63) 14:39:55 at java.lang.Thread.run(Unknown Source) 14:39:55 at ......remote call to partners-win7-home-premium-x86-ru-name-4a0(Native Method) 14:39:55 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) 14:39:55 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 14:39:55 at hudson.remoting.Channel.call(Channel.java:752) 14:39:55 ... 6 more 14:39:55 Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Invalid object ID 2 iota=12 14:39:55 at hudson.remoting.AsyncFutureImpl.get(AsyncFutureImpl.java:75) 14:39:55 at hudson.remoting.FutureAdapter.get(FutureAdapter.java:55) 14:39:55 at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:373) 14:39:55 at java.lang.ClassLoader.getResource(Unknown Source) 14:39:55 at org.jvnet.winp.Native.load(Native.java:85) 14:39:55 at org.jvnet.winp.Native.<clinit>(Native.java:56) 14:39:55 at org.jvnet.winp.WinProcess.enableDebugPrivilege(WinProcess.java:212) 14:39:55 at hudson.util.ProcessTree$Windows.<clinit>(ProcessTree.java:469) 14:39:55 at hudson.util.ProcessTree.get(ProcessTree.java:328) 14:39:55 at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:953) 14:39:55 at hudson.Launcher$RemoteLauncher$KillTask.call(Launcher.java:944) 14:39:55 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 14:39:55 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 14:39:55 at hudson.remoting.Request$2.run(Request.java:324) 14:39:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 14:39:55 at java.util.concurrent.FutureTask.run(Unknown Source) 14:39:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 14:39:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 14:39:55 at hudson.remoting.Engine$1$1.run(Engine.java:63) 14:39:55 at java.lang.Thread.run(Unknown Source) 14:39:55 Caused by: java.lang.IllegalStateException: Invalid object ID 2 iota=12 14:39:55 at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:348) 14:39:55 at hudson.remoting.ExportTable.get(ExportTable.java:324) 14:39:55 at hudson.remoting.Channel.getExportedObject(Channel.java:604) 14:39:55 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:311) 14:39:55 at hudson.remoting.Request$2.run(Request.java:324) 14:39:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 14:39:55 at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) 14:39:55 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 14:39:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 14:39:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 14:39:55 at java.lang.Thread.run(Thread.java:744) 14:39:55 at ......remote call to channel(Native Method) 14:39:55 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) 14:39:55 at hudson.remoting.Request.call(Request.java:171) 14:39:55 at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:176) 14:39:55 at com.sun.proxy.$Proxy5.writeJarTo(Unknown Source) 14:39:55 at hudson.remoting.FileSystemJarCache.retrieve(FileSystemJarCache.java:66) 14:39:55 at hudson.remoting.JarCacheSupport$1.run(JarCacheSupport.java:62) 14:39:55 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 14:39:55 at java.util.concurrent.FutureTask.run(Unknown Source) 14:39:55 at hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104) 14:39:55 ... 1 more 14:39:55 Caused by: java.lang.Exception: Object was recently deallocated 14:39:55 #2 (ref.0) : [hudson.remoting.JarLoader] 14:39:55 Created at Fri Dec 19 13:58:57 MSK 2014 14:39:55 at hudson.remoting.ExportTable$Entry.<init>(ExportTable.java:93) 14:39:55 at hudson.remoting.ExportTable.export(ExportTable.java:299) 14:39:55 at hudson.remoting.Channel.internalExport(Channel.java:600) 14:39:55 at hudson.remoting.Channel.export(Channel.java:591) 14:39:55 at hudson.remoting.Channel.<init>(Channel.java:472) 14:39:55 at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:280) 14:39:55 at hudson.remoting.ChannelBuilder.build(ChannelBuilder.java:290) 14:39:55 at org.jenkinsci.remoting.nio.NioChannelBuilder.build(NioChannelBuilder.java:36) 14:39:55 at org.jenkinsci.remoting.nio.NioChannelBuilder.build(NioChannelBuilder.java:52) 14:39:55 at jenkins.slaves.JnlpSlaveAgentProtocol$Handler.jnlpConnect(JnlpSlaveAgentProtocol.java:120) 14:39:55 at jenkins.slaves.DefaultJnlpSlaveReceiver.handle(DefaultJnlpSlaveReceiver.java:63) 14:39:55 at jenkins.slaves.JnlpSlaveAgentProtocol2$Handler2.run(JnlpSlaveAgentProtocol2.java:57) 14:39:55 at jenkins.slaves.JnlpSlaveAgentProtocol2.handle(JnlpSlaveAgentProtocol2.java:31) 14:39:55 at hudson.TcpSlaveAgentListener$ConnectionHandler.run(TcpSlaveAgentListener.java:156) 14:39:55 Released at Fri Dec 19 13:58:57 MSK 2014 14:39:55 at hudson.remoting.ExportTable$Entry.release(ExportTable.java:125) 14:39:55 at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:376) 14:39:55 at hudson.remoting.Channel.unexport(Channel.java:612) 14:39:55 at hudson.remoting.UnexportCommand.execute(UnexportCommand.java:38) 14:39:55 at hudson.remoting.Channel$2.handle(Channel.java:483) 14:39:55 at hudson.remoting.AbstractByteArrayCommandTransport$1.handle(AbstractByteArrayCommandTransport.java:61) 14:39:55 at org.jenkinsci.remoting.nio.NioChannelHub$2.run(NioChannelHub.java:597) 14:39:55 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 14:39:55 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 14:39:55 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111) 14:39:55 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) 14:39:55 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 14:39:55 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 14:39:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 14:39:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 14:39:55 at java.lang.Thread.run(Thread.java:744) 14:39:55 Caused by: Command hudson.remoting.UnexportCommand@14daad94 created at 14:39:55 at hudson.remoting.Command.<init>(Command.java:67) 14:39:55 at hudson.remoting.Command.<init>(Command.java:50) 14:39:55 at hudson.remoting.UnexportCommand.<init>(UnexportCommand.java:33) 14:39:55 at hudson.remoting.RemoteInvocationHandler.finalize(RemoteInvocationHandler.java:234) 14:39:55 at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) 14:39:55 at java.lang.ref.Finalizer.runFinalizer(Unknown Source) 14:39:55 at java.lang.ref.Finalizer.access$100(Unknown Source) 14:39:55 at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) 14:39:55 at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:341) 14:39:55 at hudson.remoting.ExportTable.get(ExportTable.java:324) 14:39:55 at hudson.remoting.Channel.getExportedObject(Channel.java:604) 14:39:55 at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:311) 14:39:55 at hudson.remoting.Request$2.run(Request.java:324) 14:39:55 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 14:39:55 at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) 14:39:55 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 14:39:55 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 14:39:55 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 14:39:55 at java.lang.Thread.run(Thread.java:744) 14:39:55 Caused by: Released at Fri Dec 19 13:58:57 MSK 2014 14:39:55 at hudson.remoting.ExportTable$Entry.release(ExportTable.java:125) 14:39:55 at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:376) 14:39:55 at hudson.remoting.Channel.unexport(Channel.java:612) 14:39:55 at hudson.remoting.UnexportCommand.execute(UnexportCommand.java:38) 14:39:55 at hudson.remoting.Channel$2.handle(Channel.java:483) 14:39:55 at hudson.remoting.AbstractByteArrayCommandTransport$1.handle(AbstractByteArrayCommandTransport.java:61) 14:39:55 at org.jenkinsci.remoting.nio.NioChannelHub$2.run(NioChannelHub.java:597) 14:39:55 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 14:39:55 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 14:39:55 at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111) 14:39:55 at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) 14:39:55 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 14:39:55 ... 4 more 14:39:55 Caused by: Command hudson.remoting.UnexportCommand@7f96d721 created at 14:39:55 at hudson.remoting.Command.<init>(Command.java:67) 14:39:55 at hudson.remoting.Command.<init>(Command.java:50) 14:39:55 at hudson.remoting.UnexportCommand.<init>(UnexportCommand.java:33) 14:39:55 at hudson.remoting.RemoteInvocationHandler.finalize(RemoteInvocationHandler.java:234) 14:39:55 at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method) 14:39:55 at java.lang.ref.Finalizer.runFinalizer(Unknown Source) 14:39:55 at java.lang.ref.Finalizer.access$100(Unknown Source) 14:39:55 at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source) {code} Stastically, ~10% of win-slaves in matrix-job break connection with this error

    Jenkins JIRA | 2 years ago | Sergey Chipiga
    java.io.IOException: Remote call on win7-x86-ru-name-4a0 failed
  5. 0

    Hi @ll, the error occured after updating from V1.328 to 1.332. The System is running in a Glasfish V2.1 container under suseLinux 10.4 64-Bit, with Sun JDK 1.6.0_17. As a fallback we reinstalled the older version of hudson, which is running perfectly. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Unable to load resource hudson/model/Messages_de.properties /tmp/hudson-remoting3139624310527947533/hudson/model/Messages_de.properties (No such file or directory) [INFO] ------------------------------------------------------------------------ [INFO] Trace java.lang.Error: Unable to load resource hudson/model/Messages_de.properties at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:156) at java.lang.ClassLoader.getResource(ClassLoader.java:958) 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.format(ResourceBundleHolder.java:139) at hudson.model.Messages.Node_Mode_NORMAL(Messages.java:1189) at hudson.model.Node$Mode.<clinit>(Node.java:300) 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 hudson.model.Hudson.<clinit>(Hudson.java:3433) at hudson.util.FormFieldValidator.<clinit>(FormFieldValidator.java:64) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:142) at hudson.plugins.tasks.parser.WorkspaceScanner.invoke(WorkspaceScanner.java:30) at hudson.FilePath.act(FilePath.java:679) at hudson.FilePath.act(FilePath.java:663) at hudson.plugins.tasks.TasksReporter.perform(TasksReporter.java:217) at hudson.plugins.tasks.TasksReporter.perform(TasksReporter.java:33) at hudson.plugins.tasks.util.HealthAwareMavenReporter.postExecute(HealthAwareMavenReporter.java:146) at hudson.maven.MavenModuleSetBuild$Builder.postExecute(MavenModuleSetBuild.java:749) at hudson.maven.MavenBuilder$Adapter.postExecute(MavenBuilder.java:287) at hudson.maven.agent.PluginManagerInterceptor$1MojoIntercepterImpl.callPost(PluginManagerInterceptor.java:170) at hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:183) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at hudson.maven.agent.Main.launch(Main.java:165) at hudson.maven.MavenBuilder.call(MavenBuilder.java:159) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:688) at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:634) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:244) 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.io.FileNotFoundException: /tmp/hudson-remoting3139624310527947533/hudson/model/Messages_de.properties (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.remoting.RemoteClassLoader.makeResource(RemoteClassLoader.java:203) at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:152) ... 55 more

    Jenkins JIRA | 7 years ago | bernd_clemenz
    java.lang.Error: Unable to load resource hudson/model/Messages_de.properties

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Error

      Unable to load resource META-INF/services/org.apache.commons.logging.LogFactory

      at hudson.remoting.RemoteClassLoader.findResource()
    2. Hudson :: Remoting Layer
      RemoteClassLoader.findResource
      1. hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:376)
      1 frame
    3. Java RT
      URLClassLoader.getResourceAsStream
      1. java.lang.ClassLoader.getResource(Unknown Source)
      2. java.net.URLClassLoader.getResourceAsStream(Unknown Source)
      2 frames
    4. Apache Commons Logging
      LogFactory$3.run
      1. org.apache.commons.logging.LogFactory$3.run(LogFactory.java:1280)
      1 frame