Uploaded image for project: 'Advanced Roadmaps'
  1. Advanced Roadmaps
  2. JPOSERVER-528

"Loader constraint violation" when trying to add a member to a team

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    Description

      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.

      Expected Behavior

      Load a list of users that can be selected to be added to a team in JIRA Portfolio.

      Actual Behavior

      An error is shown on-screen (see screenshots attached) and the below stack trace appears in the atlassian-jira.log.

      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)
      

      Steps to Reproduce

      1. Create a team inside a JPO plan;
      2. Click the '+' button on the left of the team's name;
      3. Observe the error occur;

      Workaround

      At this point, there is no known workaround for this problem.

      Attachments

        1. jpo_error.png
          jpo_error.png
          125 kB
        2. jpo_exception.png
          jpo_exception.png
          541 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpalharini Joao Palharini (Inactive)
              Archiver:
              atibrewal@atlassian.com Aakrity Tibrewal

              Dates

                Created:
                Updated:
                Resolved:
                Archived: