java.lang.NoClassDefFoundError: Could not initialize class sun.util.calendar.ZoneInfoFile

2018-09-13 Thread Víctor Puertas
Console Output shows the following issue 

java.lang.NoClassDefFoundError: Could not initialize class 
> sun.util.calendar.ZoneInfoFile
>

This is are the traces

Required context class hudson.FilePath is missing
Perhaps you forgot to surround the code with a step that provides this, such 
as: node[Pipeline] }[Pipeline] // stage[Pipeline] End of PipelineAlso:   
hudson.remoting.Channel$CallSiteStackTrace: Remote call to fatcat (192.168.1.4)
at 
hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1741)
at 
hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:955)
at hudson.FilePath.act(FilePath.java:998)
at hudson.FilePath.act(FilePath.java:987)
at hudson.FilePath.mkdirs(FilePath.java:1175)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:784)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
at 
org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
at hudson.security.ACL.impersonate(ACL.java:290)
at 
org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
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)
java.lang.NoClassDefFoundError: Could not initialize class 
sun.util.calendar.ZoneInfoFile
at sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:589)
at java.util.TimeZone.getTimeZone(TimeZone.java:560)
at java.util.TimeZone.setDefaultZone(TimeZone.java:666)
at java.util.TimeZone.getDefaultRef(TimeZone.java:636)
at java.util.TimeZone.getDefault(TimeZone.java:625)
at java.util.Calendar.getInstance(Calendar.java:1640)
at 
java.util.Formatter$FormatSpecifier.printDateTime(Formatter.java:2826)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2740)
at java.util.Formatter.format(Formatter.java:2526)
at java.util.Formatter.format(Formatter.java:2455)
at java.lang.String.format(String.java:2940)
at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:161)
at java.util.logging.StreamHandler.publish(StreamHandler.java:211)
at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:116)
at java.util.logging.Logger.log(Logger.java:738)
at java.util.logging.Logger.doLog(Logger.java:765)
at java.util.logging.Logger.log(Logger.java:876)
at hudson.remoting.UserRequest.perform(UserRequest.java:217)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
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:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
Caused: java.io.IOException: Remote call on fatcat (192.168.1.4) failed
at hudson.remoting.Channel.call(Channel.java:961)
at hudson.FilePath.act(FilePath.java:998)
Caused: java.io.IOException: remote file operation failed: 
/home/jenkins/workspace/fatcat at hudson.remoting.Channel@28db12e1:fatcat 
(192.168.1.4)
at hudson.FilePath.act(FilePath.java:1005)
at hudson.FilePath.act(FilePath.java:987)
at hudson.FilePath.mkdirs(FilePath.java:1175)
at hudson.plugins.git.GitSCM.createClient(GitSCM.java:784)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1154)
at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
at 
org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
at 
org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
at hudson.security.ACL.impersonate(ACL.java:290)
at 

Re: Jenkins class sun.util.calendar.ZoneInfoFile issue

2018-09-13 Thread Víctor Puertas
I am having the same issue. Did you find the solution?

On Wednesday, December 24, 2014 at 12:28:26 PM UTC+1, nidhi singh wrote:
>
> Hi All,
>
> While running sonar analysis in jenkins, m facing few issues
>
> Failed to instantiate [ch.qos.logback.classic.LoggerContext]*16:47:42* 
> Reported exception:*16:47:42* java.lang.ExceptionInInitializerError
>
>
> Caused by: Could not initialize class sun.util.calendar.ZoneInfoFile
>
>
> I don't know how to fix this one. Please help 
>
>
> Thanking You
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/ef5ab0fd-1712-441b-b193-3f80f2740cf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.