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] | 1 year ago
  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 | 1 year 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 | 1 year 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
  3. 0

    How To Resolve Installation Problems - Information - Confluence

    atlassian.net | 2 weeks ago
    java.lang.LinkageError: loader constraint violation: when resolving interface method "com.atlassian.upm.api.license.PluginLicenseManager.getLicense()Lcom/atlassian/upm/api/util/Option;" the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, com/atlassian/upm/license/storage/lib/ThirdPartyPluginLicenseStorageManagerImpl$1, and the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) for resolved class, com/atlassian/upm/api/license/PluginLicenseManager, have different Class objects for the type com/atlassian/upm/api/util/Option used in the signature
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How To Resolve Installation Problems - Information - Confluence

    atlassian.net | 5 months ago
    java.lang.LinkageError: loader constraint violation: when resolving interface method "com.atlassian.upm.api.license.PluginLicenseManager.getLicense()Lcom/atlassian/upm/api/util/Option;" the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, com/atlassian/upm/license/storage/lib/ThirdPartyPluginLicenseStorageManagerImpl$1, and the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) for resolved class, com/atlassian/upm/api/license/PluginLicenseManager, have different Class objects for the type com/atlassian/upm/api/util/Option used in the signature
  6. 0

    _HowToResolveInstallationProblems - Information - Confluence

    atlassian.net | 5 months ago
    java.lang.LinkageError: loader constraint violation: when resolving interface method "com.atlassian.upm.api.license.PluginLicenseManager.getLicense()Lcom/atlassian/upm/api/util/Option;" the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) of the current class, com/atlassian/upm/license/storage/lib/ThirdPartyPluginLicenseStorageManagerImpl$1, and the class loader (instance of org/apache/felix/framework/ModuleImpl$ModuleClassLoader) for resolved class, com/atlassian/upm/api/license/PluginLicenseManager, have different Class objects for the type com/atlassian/upm/api/util/Option used in the signature

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