java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) 00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) 00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326) 00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source)

Jenkins JIRA | bbonn | 3 years ago
  1. 0

    Hi, We have jobs that use the Team Concert plugin error out after the master is restarted. If we restart the Jenkins Slave service it repairs itself. In our configuration we have the Build Toolkit living on a share, and all of our slaves access it via a unc path (\\server\... etc.) Which is configured in the Global Jenkins config. The error we see in the Jenkins job console when attempting a transaction with RTC is: 00:00:00.012 RTC : checkout... 00:00:00.560 FATAL: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.561 java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) 00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) 00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326) 00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source) 00:00:00.567 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 00:00:00.567 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 00:00:00.567 at hudson.remoting.Engine$1$1.run(Engine.java:63) 00:00:00.567 at java.lang.Thread.run(Unknown Source) 00:00:00.568 ERROR: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient We have over 70 slaves so restarting them before jobs jump on there is a little problematic. Any ideas, would be great not to have to worry about his going forward. Thanks!

    Jenkins JIRA | 3 years ago | bbonn
    java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) 00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) 00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326) 00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source)
  2. 0

    Hi, We have jobs that use the Team Concert plugin error out after the master is restarted. If we restart the Jenkins Slave service it repairs itself. In our configuration we have the Build Toolkit living on a share, and all of our slaves access it via a unc path (\\server\... etc.) Which is configured in the Global Jenkins config. The error we see in the Jenkins job console when attempting a transaction with RTC is: 00:00:00.012 RTC : checkout... 00:00:00.560 FATAL: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.561 java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) 00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) 00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326) 00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source) 00:00:00.567 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 00:00:00.567 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 00:00:00.567 at hudson.remoting.Engine$1$1.run(Engine.java:63) 00:00:00.567 at java.lang.Thread.run(Unknown Source) 00:00:00.568 ERROR: RTC : checkout failure: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient We have over 70 slaves so restarting them before jobs jump on there is a little problematic. Any ideas, would be great not to have to worry about his going forward. Thanks!

    Jenkins JIRA | 3 years ago | bbonn
    java.lang.NoClassDefFoundError: Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) 00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) 00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326) 00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source)
  3. 0

    Target Unreachable, identifier 'navigationBean' resolved to null

    Stack Overflow | 2 years ago | k9yosh
    java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config at com.sun.faces.application.view.JspViewHandlingStrategy.executePageToBuildView(JspViewHandlingStrategy.java:344) at com.sun.faces.application.view.JspViewHandlingStrategy.buildView(JspViewHandlingStrategy.java:153) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:99) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:526) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:655) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't bind to registry within Tomcat

    Oracle Community | 9 years ago | 843793
    java.lang.NoClassDefFoundError: Could not initialize class $Proxy0
  6. 0

    Heroku: Tomcat deployment issue after dependencies

    Stack Overflow | 6 months ago | Bruno Brito
    java.lang.NoClassDefFoundError: Ljavax/enterprise/event/Event; 2016-06-14T20:00:49.769844+00:00 app[web.1]: at java.lang.Class.privateGetDeclaredFields(Class.java:2583) 2016-06-14T20:00:49.769843+00:00 app[web.1]: at java.lang.Class.getDeclaredFields0(Native Method) 2016-06-14T20:00:49.769846+00:00 app[web.1]: at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:256) 2016-06-14T20:00:49.769828+00:00 app[web.1]: at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)

    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.NoClassDefFoundError

      Could not initialize class com.ibm.team.build.internal.hjplugin.rtc.BuildClient 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.getBuildClient(RTCFacade.java:51) 00:00:00.562 at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:404) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 00:00:00.563 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 00:00:00.563 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 00:00:00.564 at java.lang.reflect.Method.invoke(Unknown Source) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) 00:00:00.564 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) 00:00:00.565 at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) 00:00:00.565 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2394) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 00:00:00.565 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 00:00:00.566 at hudson.remoting.Request$2.run(Request.java:326) 00:00:00.566 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 00:00:00.566 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 00:00:00.566 at java.util.concurrent.FutureTask.run(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor.runWorker()
    2. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      2 frames
    3. Hudson :: Remoting Layer
      Engine$1$1.run
      1. hudson.remoting.Engine$1$1.run(Engine.java:63)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame