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

JGit fails to find translation bundles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • git-client-plugin
    • None
    • Jenkins 2.33

      I have been using JGit without a problem for a while but all of a sudden my build is failing with the following exception:

      org.eclipse.jgit.errors.TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.JGitText, en_US]
      	at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:168)
      	at org.eclipse.jgit.nls.GlobalBundleCache.lookupBundle(GlobalBundleCache.java:96)
      	at org.eclipse.jgit.nls.NLS.get(NLS.java:132)
      	at org.eclipse.jgit.nls.NLS.getBundleFor(NLS.java:118)
      	at org.eclipse.jgit.internal.JGitText.get(JGitText.java:59)
      	at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:158)
      	at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:227)
      	at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:859)
      	at org.eclipse.jgit.transport.FetchProcess.askForIsComplete(FetchProcess.java:340)
      	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
      	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
      	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1201)
      	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
      	at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:606)
      	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      	at hudson.remoting.Request$2.run(Request.java:336)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at hudson.remoting.Engine$1$1.run(Engine.java:94)
      	at java.lang.Thread.run(Unknown Source)
      	at ......remote call to JNLP4-connect connection from 192.168.1.1/192.168.1.1:49721(Native Method)
      	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1537)
      	at hudson.remoting.UserResponse.retrieve(UserRequest.java:253)
      	at hudson.remoting.Channel.call(Channel.java:822)
      	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
      	at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
      	at com.sun.proxy.$Proxy64.execute(Unknown Source)
      	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:801)
      	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1063)
      	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1094)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:109)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:83)
      	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:73)
      	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:52)
      	at hudson.security.ACL.impersonate(ACL.java:221)
      	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:49)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      	Suppressed: org.eclipse.jgit.errors.TranslationBundleLoadingException: Loading of translation bundle failed for [org.eclipse.jgit.internal.JGitText, en_US]
      		at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:168)
      		at org.eclipse.jgit.nls.GlobalBundleCache.lookupBundle(GlobalBundleCache.java:96)
      		at org.eclipse.jgit.nls.NLS.get(NLS.java:132)
      		at org.eclipse.jgit.nls.NLS.getBundleFor(NLS.java:118)
      		at org.eclipse.jgit.internal.JGitText.get(JGitText.java:59)
      		at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:158)
      		at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:227)
      		at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:859)
      		at org.eclipse.jgit.transport.FetchProcess.askForIsComplete(FetchProcess.java:340)
      		at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
      		at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
      		at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1201)
      		at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
      		at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:606)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      		at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      		at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      		at hudson.remoting.Request$2.run(Request.java:336)
      		at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      		at java.lang.Thread.run(Thread.java:745)
      		at ......remote call to linux-i386(Native Method)
      		... 23 more
      	Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.jgit.internal.JGitText, locale en_US
      		at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
      		at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
      		at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082)
      		at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:165)
      		at org.eclipse.jgit.nls.GlobalBundleCache.lookupBundle(GlobalBundleCache.java:96)
      		at org.eclipse.jgit.nls.NLS.get(NLS.java:132)
      		at org.eclipse.jgit.nls.NLS.getBundleFor(NLS.java:118)
      		at org.eclipse.jgit.internal.JGitText.get(JGitText.java:59)
      		at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:158)
      		at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:227)
      		at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:859)
      		at org.eclipse.jgit.transport.FetchProcess.askForIsComplete(FetchProcess.java:340)
      		at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
      		at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
      		at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1201)
      		at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
      		at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:606)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      		at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      		at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      		at hudson.remoting.Request$2.run(Request.java:336)
      		at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      		at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      		at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      		at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      		at java.lang.Thread.run(Thread.java:745)
      	Suppressed: java.lang.InterruptedException
      		at java.lang.Object.wait(Native Method)
      		at hudson.remoting.Request.call(Request.java:147)
      		at hudson.remoting.Channel.call(Channel.java:821)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:145)
      		at sun.reflect.GeneratedMethodAccessor642.invoke(Unknown Source)
      		at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      		at java.lang.reflect.Method.invoke(Unknown Source)
      		at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:131)
      		at com.sun.proxy.$Proxy65.execute(Unknown Source)
      		at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1132)
      		... 11 more
      	Suppressed: java.lang.InterruptedException
      		at java.lang.Object.wait(Native Method)
      		at hudson.remoting.Request.call(Request.java:147)
      		at hudson.remoting.Channel.call(Channel.java:821)
      		... 20 more
      Caused by: java.util.MissingResourceException: Can't find bundle for base name org.eclipse.jgit.internal.JGitText, locale en_US
      	at java.util.ResourceBundle.throwMissingResourceException(Unknown Source)
      	at java.util.ResourceBundle.getBundleImpl(Unknown Source)
      	at java.util.ResourceBundle.getBundle(Unknown Source)
      	at org.eclipse.jgit.nls.TranslationBundle.load(TranslationBundle.java:165)
      	at org.eclipse.jgit.nls.GlobalBundleCache.lookupBundle(GlobalBundleCache.java:96)
      	at org.eclipse.jgit.nls.NLS.get(NLS.java:132)
      	at org.eclipse.jgit.nls.NLS.getBundleFor(NLS.java:118)
      	at org.eclipse.jgit.internal.JGitText.get(JGitText.java:59)
      	at org.eclipse.jgit.internal.storage.file.WindowCursor.open(WindowCursor.java:158)
      	at org.eclipse.jgit.lib.ObjectReader.open(ObjectReader.java:227)
      	at org.eclipse.jgit.revwalk.RevWalk.parseAny(RevWalk.java:859)
      	at org.eclipse.jgit.transport.FetchProcess.askForIsComplete(FetchProcess.java:340)
      	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:160)
      	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
      	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1201)
      	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:128)
      	at org.jenkinsci.plugins.gitclient.JGitAPIImpl$2.execute(JGitAPIImpl.java:606)
      	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:152)
      	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:145)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:153)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:50)
      	at hudson.remoting.Request$2.run(Request.java:336)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at hudson.remoting.Engine$1$1.run(Engine.java:94)
      	... 1 more
      

            Unassigned Unassigned
            cowwoc cowwoc
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: