Uploaded image for project: 'SR Platform'
  1. SR Platform
  2. SRPLAT-1094

Autocompletion request fails when requesting autcomplete after typing "Check"

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 6.1.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 76, SR4J Sprint 77
    • Critical Points:
      0

      Description

      The following is added to the log file:

      2020-04-23 15:19:54,135 http-bio-8080-exec-10 ERROR admin [common.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: org/apache/tools/ant/Task
      java.lang.NoClassDefFoundError: org/apache/tools/ant/Task
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
      at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
      at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
      at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      at java.lang.Class.forName0(Native Method)
      at java.lang.Class.forName(Class.java:348)
      ... 2 filtered
      at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:55)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:135)
      at com.onresolve.scriptrunner.runner.classloading.MultiParentClassLoader$_loadClass_closure1.doCall(MultiParentClassLoader.groovy:25)
      ... 2 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      at groovy.lang.Closure.call(Closure.java:405)
      at groovy.lang.Closure.call(Closure.java:421)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.findResult(DefaultGroovyMethods.java:4528)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.findResult(DefaultGroovyMethods.java:4569)
      at org.codehaus.groovy.runtime.dgm$257.invoke(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
      at com.onresolve.scriptrunner.runner.classloading.MultiParentClassLoader.loadClass(MultiParentClassLoader.groovy:23)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
      at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:773)
      at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:883)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:411)
      at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:773)
      at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:883)
      at groovy.lang.GroovyClassLoader.loadClass(GroovyClassLoader.java:871)
      at groovy.lang.GroovyClassLoader$loadClass$0.call(Unknown Source)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService.createClassNode(SuggestionsLookupService.groovy:158)
      ... 2 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:351)
      at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:64)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:176)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService$_completionsForStarOrNotImportedClasses_closure8.doCall(SuggestionsLookupService.groovy:183)
      ... 2 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      at groovy.lang.Closure.call(Closure.java:405)
      at groovy.lang.Closure.call(Closure.java:421)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.findResults(DefaultGroovyMethods.java:4689)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.findResults(DefaultGroovyMethods.java:4673)
      at org.codehaus.groovy.runtime.dgm$267.invoke(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService.completionsForStarOrNotImportedClasses(SuggestionsLookupService.groovy:177)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService$completionsForStarOrNotImportedClasses.callCurrent(Unknown Source)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService.classNameLookup(SuggestionsLookupService.groovy:127)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:351)
      at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:64)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:168)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService$_getSuggestions_closure2.doCall(SuggestionsLookupService.groovy:98)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:263)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      at groovy.lang.Closure.call(Closure.java:405)
      at groovy.lang.Closure.call(Closure.java:421)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2330)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2315)
      at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2356)
      at org.codehaus.groovy.runtime.dgm$186.invoke(Unknown Source)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:244)
      at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:53)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
      at com.onresolve.scriptrunner.stc.completions.SuggestionsLookupService.getSuggestions(SuggestionsLookupService.groovy:52)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:190)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:70)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:127)
      at com.onresolve.scriptrunner.stc.completions.CompletionRequestService.getResponseFromRequest(CompletionRequestService.groovy:74)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217)
      at groovy.lang.MetaClassImpl.invokeMethodClosure(MetaClassImpl.java:1050)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1092)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      at groovy.lang.Closure.call(Closure.java:405)
      at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
      at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122)
      at com.sun.proxy.$Proxy4208.apply(Unknown Source)
      at java_util_function_Function$apply.call(Unknown Source)
      at com.onresolve.scriptrunner.stc.completions.CompletionRequestService.getResponse(CompletionRequestService.groovy:49)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrap.invoke(PogoMetaMethodSite.java:179)
      at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:58)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:184)
      at com.onresolve.scriptrunner.stc.completions.CompletionRequestService.getCompletions(CompletionRequestService.groovy:60)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:101)
      at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1217)
      at groovy.lang.MetaClassImpl.invokeMethodClosure(MetaClassImpl.java:1050)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1092)
      at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1041)
      at groovy.lang.Closure.call(Closure.java:405)
      at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:50)
      at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:122)
      at com.sun.proxy.$Proxy4569.responseFor(Unknown Source)
      at com.onresolve.scriptrunner.runner.rest.common.CompletionsEndpoint$CodeInsightResponseProvider$responseFor.call(Unknown Source)
      at com.onresolve.scriptrunner.runner.rest.common.CompletionsEndpoint.codeInsightResponse(CompletionsEndpoint.groovy:132)
      at com.onresolve.scriptrunner.runner.rest.common.CompletionsEndpoint$codeInsightResponse.callCurrent(Unknown Source)
      at com.onresolve.scriptrunner.runner.rest.common.CompletionsEndpoint.getCompletions(CompletionsEndpoint.groovy:65)
      ... 3 filtered
      at java.lang.reflect.Method.invoke(Method.java:498)
      ... 19 filtered
      at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
      ... 1 filtered
      at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
      ... 32 filtered
      at com.atlassian.servicedesk.internal.web.ExternalCustomerLockoutFilter.doFilter(ExternalCustomerLockoutFilter.java:56)
      ... 13 filtered
      at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      ... 53 filtered
      at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
      ... 1 filtered
      at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
      ... 16 filtered
      at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
      ... 19 filtered
      at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
      ... 5 filtered
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.lambda$invokeFilterChain$0(CustomerContextSettingFilter.java:181)
      at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.rteInvoke(ReentrantThreadLocalBasedCodeContext.java:137)
      at com.atlassian.servicedesk.internal.api.util.context.ReentrantThreadLocalBasedCodeContext.runOutOfContext(ReentrantThreadLocalBasedCodeContext.java:90)
      at com.atlassian.servicedesk.internal.utils.context.CustomerContextServiceImpl.runOutOfCustomerContext(CustomerContextServiceImpl.java:47)
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.outOfCustomerContext(CustomerContextSettingFilter.java:174)
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilterImpl(CustomerContextSettingFilter.java:130)
      at com.atlassian.servicedesk.internal.web.CustomerContextSettingFilter.doFilter(CustomerContextSettingFilter.java:121)
      ... 4 filtered
      at com.atlassian.jwt.internal.servlet.JwtAuthFilter.doFilter(JwtAuthFilter.java:32)
      ... 8 filtered
      at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
      ... 4 filtered
      at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
      ... 26 filtered
      at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
      ... 21 filtered
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.Task
      at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      ... 401 more

        Attachments

          Structure

            Activity

              People

              Assignee:
              twozniak Tomasz Wozniak
              Reporter:
              merdmann Marcin Erdmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel