java.lang.NoSuchMethodError: No static method lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue; in class Lorg/glassfish/jersey/internal/util/collection/Values; or its super classes (declaration of 'org.glassfish.jersey.internal.util.collection.Values' appears in /data/app/com.whiteboard.regi.whiteboard-1/base.apk)

Stack Overflow | Blackstar | 3 months ago
  1. 0

    got error when try to do server sent event with jersey

    Stack Overflow | 3 months ago | Blackstar
    java.lang.NoSuchMethodError: No static method lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue; in class Lorg/glassfish/jersey/internal/util/collection/Values; or its super classes (declaration of 'org.glassfish.jersey.internal.util.collection.Values' appears in /data/app/com.whiteboard.regi.whiteboard-1/base.apk)
  2. 0

    Error: java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy

    GitHub | 1 year ago | Shaileshk-egnaroinc
    java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue;
  3. 0

    NoSuchMethodError in running test case for rest services using junit and grizzle

    Stack Overflow | 6 months ago | user3498863
    java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/Value;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Swagger ServletHandlerError

    Stack Overflow | 5 months ago | Jonas Wolff
    java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/Value;
  6. 0

    java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/Value; when attempting to go to api-base/api-docs/resourceName (Stack trace below) [root@machine ~]$ cd /opt/tomcat/webapps/company/WEB-INF/lib/ [root@machine lib]# ls -al | egrep '(jersey|json|jax)' -rw-r--r-- 1 root root 94774 Feb 10 12:02 cxf-rt-databinding-jaxb-2.3.2.jar -rw-r--r-- 1 root root 341446 Feb 10 12:02 cxf-rt-frontend-jaxws-2.3.2.jar -rw-r--r-- 1 root root 20020 Feb 10 12:02 jackson-jaxrs-base-2.2.3.jar -rw-r--r-- 1 root root 15243 Feb 10 12:02 jackson-jaxrs-json-provider-2.2.3.jar -rw-r--r-- 1 root root 25985 Feb 10 12:02 jackson-module-jaxb-annotations-2.2.3.jar -rw-r--r-- 1 root root 50034 Feb 10 12:02 jackson-module-jsonSchema-2.1.0.jar -rw-r--r-- 1 root root 79309 Feb 10 12:02 javax.json-1.0.2.jar -rw-r--r-- 1 root root 19754 Feb 10 12:02 javax.json-api-1.0.jar -rw-r--r-- 1 root root 876610 Feb 10 12:02 jaxb-impl-2.1.13.jar -rw-r--r-- 1 root root 226915 Feb 10 12:02 jaxen-1.1.1.jar -rw-r--r-- 1 root root 159742 Feb 10 14:02 jersey-client-2.5.1.jar -rw-r--r-- 1 root root 700399 Feb 10 14:02 jersey-common-2.5.1.jar -rw-r--r-- 1 root root 15684 Feb 10 14:02 jersey-container-servlet-2.5.1.jar -rw-r--r-- 1 root root 52593 Feb 10 12:02 jersey-container-servlet-core-2.1.jar -rw-r--r-- 1 root root 6412 Feb 10 14:02 jersey-media-json-processing-2.5.1.jar -rw-r--r-- 1 root root 63067 Feb 10 12:02 jersey-media-multipart-2.1.jar -rw-r--r-- 1 root root 828016 Feb 10 14:02 jersey-server-2.5.1.jar -rw-r--r-- 1 root root 86540 Feb 10 12:02 json4s-ast_2.10-3.2.4.jar -rw-r--r-- 1 root root 568890 Feb 10 12:02 json4s-core_2.10-3.2.4.jar -rw-r--r-- 1 root root 74565 Feb 10 12:02 json4s-ext_2.10-3.2.4.jar -rw-r--r-- 1 root root 39952 Feb 10 12:02 json4s-jackson_2.10-3.2.4.jar -rw-r--r-- 1 root root 68734 Feb 10 12:02 json4s-native_2.10-3.2.4.jar -rw-r--r-- 1 root root 7814 Feb 10 12:02 jsonp-jaxrs-1.0.jar -rw-r--r-- 1 root root 121047 Feb 10 12:02 swagger-jaxrs_2.10-1.3.2.jar -rw-r--r-- 1 root root 45719 Feb 10 12:02 swagger-jersey2-jaxrs_2.10-1.3.2.jar - - - - - Stack trace: Feb 10, 2014 17:17:53 ERROR [TP-Processor5] [Catalina].[localhost].[/company].[Jersey REST Service] - Servlet.service() for servlet Jersey REST Service threw exception java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/Value; at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.company.videoapp.server.springframework.SessionFilter.doFilter(SessionFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.company.videoapp.server.springframework.loader.ContextLoaderHttpInterceptor$LoaderState.filter(ContextLoaderHttpInterceptor.java:75) at com.company.videoapp.server.springframework.loader.ContextLoaderHttpInterceptor$StartedState.filter(ContextLoaderHttpInterceptor.java:120) at com.company.videoapp.server.springframework.loader.ContextLoaderHttpInterceptor.doFilter(ContextLoaderHttpInterceptor.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:662) Feb 10, 2014 17:17:53 ERROR [TP-Processor5] [Catalina].[localhost].[/company].[Jersey REST Service] - Servlet.service() for servlet Jersey REST Service threw exception java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/Value; at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:346) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.company.videoapp.server.springframework.SessionFilter.doFilter(SessionFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.company.videoapp.server.springframework.loader.ContextLoaderHttpInterceptor$LoaderState.filter(ContextLoaderHttpInterceptor.java:75) at com.company.videoapp.server.springframework.loader.ContextLoaderHttpInterceptor$StartedState.filter(ContextLoaderHttpInterceptor.java:120) at com.company.videoapp.server.springframework.loader.ContextLoaderHttpInterceptor.doFilter(ContextLoaderHttpInterceptor.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:470) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:662)

    Java.net JIRA | 3 years ago | rG.
    java.lang.NoSuchMethodError: org.glassfish.jersey.internal.util.collection.Values.lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/Value;

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

      No static method lazy(Lorg/glassfish/jersey/internal/util/collection/Value;)Lorg/glassfish/jersey/internal/util/collection/LazyValue; in class Lorg/glassfish/jersey/internal/util/collection/Values; or its super classes (declaration of 'org.glassfish.jersey.internal.util.collection.Values' appears in /data/app/com.whiteboard.regi.whiteboard-1/base.apk)

      at org.glassfish.jersey.client.ClientConfig$State.<init>()
    2. jersey-core-client
      JerseyClientBuilder.<init>
      1. org.glassfish.jersey.client.ClientConfig$State.<init>(ClientConfig.java:119)
      2. org.glassfish.jersey.client.ClientConfig.<init>(ClientConfig.java:468)
      3. org.glassfish.jersey.client.JerseyClientBuilder.<init>(JerseyClientBuilder.java:94)
      3 frames
    3. Java RT
      Class.newInstance
      1. java.lang.reflect.Constructor.newInstance(Native Method)
      2. java.lang.Class.newInstance(Class.java:1572)
      2 frames
    4. JavaEE 7
      ClientBuilder.newBuilder
      1. javax.ws.rs.client.FactoryFinder.newInstance(FactoryFinder.java:116)
      2. javax.ws.rs.client.FactoryFinder.find(FactoryFinder.java:206)
      3. javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:86)
      3 frames