java.lang.NoClassDefFoundError: com/google/common/net/InetAddresses

GitHub | wildfly-ci | 1 year 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

    GitHub comment 8470#162559961

    GitHub | 1 year ago | wildfly-ci
    java.lang.NoClassDefFoundError: com/google/common/net/InetAddresses
  2. 0

    GitHub comment 8860#211859166

    GitHub | 1 year ago | wildfly-ci
    java.lang.NoClassDefFoundError: com/google/common/net/InetAddresses
  3. 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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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)
  6. 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)

    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

      com/google/common/net/InetAddresses

      at org.apache.activemq.artemis.utils.IPV6Util.encloseHost()
    2. org.apache.activemq
      ActiveMQConnectionFactory.writeExternal
      1. org.apache.activemq.artemis.utils.IPV6Util.encloseHost(IPV6Util.java:39)
      2. org.apache.activemq.artemis.uri.TCPServerLocatorSchema.escapeIPv6Host(TCPServerLocatorSchema.java:82)
      3. org.apache.activemq.artemis.uri.TCPServerLocatorSchema.getURI(TCPServerLocatorSchema.java:75)
      4. org.apache.activemq.artemis.uri.TCPSchema.internalNewURI(TCPSchema.java:66)
      5. org.apache.activemq.artemis.uri.TCPSchema.internalNewURI(TCPSchema.java:31)
      6. org.apache.activemq.artemis.utils.uri.URISchema.newURI(URISchema.java:45)
      7. org.apache.activemq.artemis.utils.uri.URIFactory.createSchema(URIFactory.java:78)
      8. org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.toURI(ActiveMQConnectionFactory.java:119)
      9. org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory.writeExternal(ActiveMQConnectionFactory.java:83)
      9 frames
    3. JBoss Marshalling River
      RiverMarshaller.doWriteObject
      1. org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:842)
      1 frame
    4. JBoss Marshalling API
      AbstractMarshaller.writeObject
      1. org.jboss.marshalling.AbstractObjectOutput.writeObject(AbstractObjectOutput.java:58)
      2. org.jboss.marshalling.AbstractMarshaller.writeObject(AbstractMarshaller.java:111)
      2 frames
    5. JBoss Remote Naming
      RemoteNamingServerV1$MessageReciever$1.run
      1. org.jboss.naming.remote.protocol.v1.Protocol$1$2.write(Protocol.java:138)
      2. org.jboss.naming.remote.protocol.v1.WriteUtil.write(WriteUtil.java:61)
      3. org.jboss.naming.remote.protocol.v1.Protocol$1.handleServerMessage(Protocol.java:128)
      4. org.jboss.naming.remote.protocol.v1.RemoteNamingServerV1$MessageReciever$1.run(RemoteNamingServerV1.java:73)
      4 frames
    6. Java RT
      ThreadPoolExecutor.runWorker
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      1 frame