java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class

Stack Overflow | user2782405 | 7 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

    Error occurred when retrieving data from cassandra in spark shell

    Stack Overflow | 7 months ago | user2782405
    java.lang.NoClassDefFoundError: scala/collection/GenTraversableOnce$class
  2. 0

    Target Unreachable, identifier 'navigationBean' resolved to null

    Stack Overflow | 3 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)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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)
  5. 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)

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

      scala/collection/GenTraversableOnce$class

      at com.datastax.spark.connector.util.CountingIterator.<init>()
    2. spark-cassandra-connector
      CassandraTableScanRDD.compute
      1. com.datastax.spark.connector.util.CountingIterator.<init>(CountingIterator.scala:4)
      2. com.datastax.spark.connector.rdd.CassandraTableScanRDD.compute(CassandraTableScanRDD.scala:336)
      2 frames
    3. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:319)
      2. org.apache.spark.rdd.RDD.iterator(RDD.scala:283)
      3. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:70)
      4. org.apache.spark.scheduler.Task.run(Task.scala:85)
      5. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
      5 frames
    4. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      1 frame