java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature

Atlassian JIRA | Joao Palharini [Atlassian] | 2 years 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

    h3. Summary When adding an user from JIRA to a team in JIRA Portfolio, the drop-down menu doesn't load any suggestion. It just keeps spinning and throws an error message at the UI and at the logs. h3. Expected Behavior Load a list of users that can be selected to be added to a team in JIRA Portfolio. h3. Actual Behavior An error is shown on-screen (see screenshots attached) and the below stack trace appears in the {{atlassian-jira.log}}. {noformat} 2015-10-08 16:54:31,043 http-nio-8711-exec-24 ERROR jpalharini 1014x912x1 t2a0nn 0:0:0:0:0:0:0:1 /rest/roadmap/1.0/plans/1/users.json [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature at com.atlassian.jpo.jira.api.user.UserSearchServiceBridge70.findUsersByName(UserSearchServiceBridge70.java:43) at com.radiantminds.roadmap.jira.common.components.extension.users.JiraUserExtension.listUsers(JiraUserExtension.java:222) at com.radiantminds.roadmap.common.rest.services.persons.PlanUserServiceHandler$Impl.listAllUsersWithPost(PlanUserServiceHandler.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ... 1 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.radiantminds.roadmap.common.handlers.SecuredInvocationHandler.invoke(SecuredInvocationHandler.java:159) at com.sun.proxy.$Proxy3216.listAllUsersWithPost(Unknown Source) at com.radiantminds.roadmap.common.rest.services.persons.PlanUserService.listAllUsersWithPost(PlanUserService.java:56) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) ... 18 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) ... 36 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Steps to Reproduce # Create a team inside a JPO plan; # Click the '+' button on the left of the team's name; # Observe the error occur; h3. Workaround At this point, there is no known workaround for this problem.

    Atlassian JIRA | 2 years ago | Joao Palharini
    java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature
  2. 0

    h3. Summary When adding an user from JIRA to a team in JIRA Portfolio, the drop-down menu doesn't load any suggestion. It just keeps spinning and throws an error message at the UI and at the logs. h3. Expected Behavior Load a list of users that can be selected to be added to a team in JIRA Portfolio. h3. Actual Behavior An error is shown on-screen (see screenshots attached) and the below stack trace appears in the {{atlassian-jira.log}}. {noformat} 2015-10-08 16:54:31,043 http-nio-8711-exec-24 ERROR jpalharini 1014x912x1 t2a0nn 0:0:0:0:0:0:0:1 /rest/roadmap/1.0/plans/1/users.json [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature at com.atlassian.jpo.jira.api.user.UserSearchServiceBridge70.findUsersByName(UserSearchServiceBridge70.java:43) at com.radiantminds.roadmap.jira.common.components.extension.users.JiraUserExtension.listUsers(JiraUserExtension.java:222) at com.radiantminds.roadmap.common.rest.services.persons.PlanUserServiceHandler$Impl.listAllUsersWithPost(PlanUserServiceHandler.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ... 1 filtered at java.lang.reflect.Method.invoke(Method.java:497) at com.radiantminds.roadmap.common.handlers.SecuredInvocationHandler.invoke(SecuredInvocationHandler.java:159) at com.sun.proxy.$Proxy3216.listAllUsersWithPost(Unknown Source) at com.radiantminds.roadmap.common.rest.services.persons.PlanUserService.listAllUsersWithPost(PlanUserService.java:56) ... 3 filtered at java.lang.reflect.Method.invoke(Method.java:497) ... 18 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:178) ... 1 filtered at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:73) ... 36 filtered at com.atlassian.plugins.cors.CorsFilter.doFilter(CorsFilter.java:65) ... 64 filtered at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:40) ... 73 filtered at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) {noformat} h3. Steps to Reproduce # Create a team inside a JPO plan; # Click the '+' button on the left of the team's name; # Observe the error occur; h3. Workaround At this point, there is no known workaround for this problem.

    Atlassian JIRA | 2 years ago | Joao Palharini [Atlassian]
    java.lang.LinkageError: loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature

    Root Cause Analysis

    1. java.lang.LinkageError

      loader constraint violation: when resolving method "com.atlassian.jira.bc.user.search.UserSearchParams$Builder.filter(Lcom/google/common/base/Predicate;)Lcom/atlassian/jira/bc/user/search/UserSearchParams$Builder;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, com/atlassian/jpo/jira/api/user/UserSearchServiceBridge70, and the class loader (instance of org/apache/catalina/loader/WebappClassLoader) for the method's defining class, com/atlassian/jira/bc/user/search/UserSearchParams$Builder, have different Class objects for the type com/google/common/base/Predicate used in the signature

      at com.atlassian.jpo.jira.api.user.UserSearchServiceBridge70.findUsersByName()
    2. com.atlassian.jpo
      UserSearchServiceBridge70.findUsersByName
      1. com.atlassian.jpo.jira.api.user.UserSearchServiceBridge70.findUsersByName(UserSearchServiceBridge70.java:43)
      1 frame
    3. com.radiantminds.roadmap
      PlanUserServiceHandler$Impl.listAllUsersWithPost
      1. com.radiantminds.roadmap.jira.common.components.extension.users.JiraUserExtension.listUsers(JiraUserExtension.java:222)
      2. com.radiantminds.roadmap.common.rest.services.persons.PlanUserServiceHandler$Impl.listAllUsersWithPost(PlanUserServiceHandler.java:94)
      2 frames
    4. Java RT
      NativeMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      2 frames