java.lang.NullPointerException

Atlassian JIRA | Paul Slade | 5 years ago
  1. 0

    search was {code} project = jradev and fixversion was in (unreleasedversions()) ON today() {code} stacktrace {code} java.lang.NullPointerException at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:216) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:82) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:73) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:52) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:80) at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:134) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:110) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33) at com.atlassian.query.clause.WasClauseImpl.accept(WasClauseImpl.java:48) at com.atlassian.jira.jql.validator.ValidatorVisitor.getMessagesFromSubClauses(ValidatorVisitor.java:173) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:50) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33) at com.atlassian.query.clause.AndClause.accept(AndClause.java:34) at com.atlassian.jira.bc.issue.search.DefaultSearchService.validateQuery(DefaultSearchService.java:253) at com.atlassian.jira.web.action.issue.IssueNavigator.validateQuery(IssueNavigator.java:839) at com.atlassian.jira.web.action.issue.IssueNavigator.updateSearchRequestWithJqlOrParams(IssueNavigator.java:682) at com.atlassian.jira.web.action.issue.IssueNavigator._doExecuteAdvanced(IssueNavigator.java:585) at com.atlassian.jira.web.action.issue.IssueNavigator.doExecuteAdvanced(IssueNavigator.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {code}

    Atlassian JIRA | 5 years ago | Paul Slade
    java.lang.NullPointerException
  2. 0

    search was {code} project = jradev and fixversion was in (unreleasedversions()) ON today() {code} stacktrace {code} java.lang.NullPointerException at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:216) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:82) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:73) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:52) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:80) at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:134) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:110) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33) at com.atlassian.query.clause.WasClauseImpl.accept(WasClauseImpl.java:48) at com.atlassian.jira.jql.validator.ValidatorVisitor.getMessagesFromSubClauses(ValidatorVisitor.java:173) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:50) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33) at com.atlassian.query.clause.AndClause.accept(AndClause.java:34) at com.atlassian.jira.bc.issue.search.DefaultSearchService.validateQuery(DefaultSearchService.java:253) at com.atlassian.jira.web.action.issue.IssueNavigator.validateQuery(IssueNavigator.java:839) at com.atlassian.jira.web.action.issue.IssueNavigator.updateSearchRequestWithJqlOrParams(IssueNavigator.java:682) at com.atlassian.jira.web.action.issue.IssueNavigator._doExecuteAdvanced(IssueNavigator.java:585) at com.atlassian.jira.web.action.issue.IssueNavigator.doExecuteAdvanced(IssueNavigator.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) {code}

    Atlassian JIRA | 5 years ago | Paul Slade
    java.lang.NullPointerException
  3. 0

    *To Reproduce* run this invalid JQL {code}status was open after -1d() {code} *Expected Result* error about bad JQL - extra parenthesis at end *Actual Result* NullPointerException and you have to log out and log in again to clear out the bad filter (or know the reset filter link) {noformat} java.lang.NullPointerException at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:87) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:73) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:52) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:80) at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:134) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:110) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33) at com.atlassian.query.clause.WasClauseImpl.accept(WasClauseImpl.java:48) at com.atlassian.jira.bc.issue.search.DefaultSearchService.validateQuery(DefaultSearchService.java:253) at com.atlassian.jira.web.action.issue.IssueNavigator.validateQuery(IssueNavigator.java:883) at com.atlassian.jira.web.action.issue.IssueNavigator.updateSearchRequestWithJqlOrParams(IssueNavigator.java:726) at com.atlassian.jira.web.action.issue.IssueNavigator._doExecuteAdvanced(IssueNavigator.java:629) at com.atlassian.jira.web.action.issue.IssueNavigator.doExecuteAdvanced(IssueNavigator.java:578) at sun.reflect.GeneratedMethodAccessor1912.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) {noformat}

    Atlassian JIRA | 5 years ago | Jeff Kirby
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    *To Reproduce* run this invalid JQL {code}status was open after -1d() {code} *Expected Result* error about bad JQL - extra parenthesis at end *Actual Result* NullPointerException and you have to log out and log in again to clear out the bad filter (or know the reset filter link) {noformat} java.lang.NullPointerException at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:228) at com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:87) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:73) at com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:52) at com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:80) at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:134) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:110) at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33) at com.atlassian.query.clause.WasClauseImpl.accept(WasClauseImpl.java:48) at com.atlassian.jira.bc.issue.search.DefaultSearchService.validateQuery(DefaultSearchService.java:253) at com.atlassian.jira.web.action.issue.IssueNavigator.validateQuery(IssueNavigator.java:883) at com.atlassian.jira.web.action.issue.IssueNavigator.updateSearchRequestWithJqlOrParams(IssueNavigator.java:726) at com.atlassian.jira.web.action.issue.IssueNavigator._doExecuteAdvanced(IssueNavigator.java:629) at com.atlassian.jira.web.action.issue.IssueNavigator.doExecuteAdvanced(IssueNavigator.java:578) at sun.reflect.GeneratedMethodAccessor1912.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70) at webwork.util.InjectionUtils.invoke(InjectionUtils.java:56) at webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433) at webwork.action.ActionSupport.execute(ActionSupport.java:157) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:82) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:39) at webwork.interceptor.NestedInterceptorChain.proceed(NestedInterceptorChain.java:31) at webwork.interceptor.ChainedInterceptor.intercept(ChainedInterceptor.java:16) at webwork.interceptor.DefaultInterceptorChain.proceed(DefaultInterceptorChain.java:35) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:205) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:143) at com.atlassian.jira.web.dispatcher.JiraWebworkActionDispatcher.service(JiraWebworkActionDispatcher.java:152) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.jira.web.filters.steps.ChainedFilterStepRunner.doFilter(ChainedFilterStepRunner.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.applinks.core.rest.context.ContextFilter.doFilter(ContextFilter.java:25) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) {noformat}

    Atlassian JIRA | 5 years ago | Jeff Kirby
    java.lang.NullPointerException
  6. 0

    Hi, I am running a JQL search in a background thread (with {{JiraThreadLocalUtils.preCall()}} and {{JiraThreadLocalUtils.postCall()}}). This works correctly for JQL that does not contain ??filter=10000?? clause. When the filter clause is used, the search does not work, resulting in NPE in {{at com.atlassian.jira.web.session.DefaultSessionSearchObjectManagerFactory.createSearchRequestManager(DefaultSessionSearchObjectManagerFactory.java:32)}} The problem seem to be in {{com.atlassian.jira.jql.validator.SavedFilterClauseValidator.validate(SavedFilterClauseValidator.java:103)}} where we try to get the filter id from the Session object, which is not present in BG thread. See the full stacktrace: {code} [INFO] [talledLocalContainer] java.lang.NullPointerException [INFO] [talledLocalContainer] at com.atlassian.jira.web.session.DefaultSessionSearchObjectManagerFactory.createSearchRequestManager(DefaultSessionSearchObjectManagerFactory.java:32) [INFO] [talledLocalContainer] at com.atlassian.jira.web.session.DefaultSessionSearchObjectManagerFactory.createSearchRequestManager(DefaultSessionSearchObjectManagerFactory.java:27) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.validator.SavedFilterClauseValidator.getSearchRequestFromSession(SavedFilterClauseValidator.java:123) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.validator.SavedFilterClauseValidator.getSearchFilterId(SavedFilterClauseValidator.java:117) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.validator.SavedFilterClauseValidator.validate(SavedFilterClauseValidator.java:103) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:133) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:71) [INFO] [talledLocalContainer] at com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:32) [INFO] [talledLocalContainer] at com.atlassian.query.clause.TerminalClauseImpl.accept(TerminalClauseImpl.java:137) [INFO] [talledLocalContainer] at com.atlassian.jira.bc.issue.search.DefaultSearchService.validateQuery(DefaultSearchService.java:255) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor861.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy216.validateQuery(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor861.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy216.validateQuery(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor861.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy216.validateQuery(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.jira.trigger.JqlFilterTrigger.tryParseQuery(JqlFilterTrigger.java:160) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.jira.trigger.JqlFilterTrigger.getItems(JqlFilterTrigger.java:82) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.scheduler.RuleCallable.call(RuleCallable.java:48) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.scheduler.RuleCallable.call(RuleCallable.java:19) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.scheduler.ThreadLocalExecutor.executeAs(ThreadLocalExecutor.java:27) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.scheduler.CronScheduledTriggerJob$1.doInTransaction(CronScheduledTriggerJob.java:34) [INFO] [talledLocalContainer] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) [INFO] [talledLocalContainer] at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) [INFO] [talledLocalContainer] at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy367.doInTransaction(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy367.doInTransaction(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy367.doInTransaction(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) [INFO] [talledLocalContainer] at sun.reflect.GeneratedMethodAccessor894.invoke(Unknown Source) [INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [INFO] [talledLocalContainer] at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) [INFO] [talledLocalContainer] at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) [INFO] [talledLocalContainer] at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) [INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) [INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [INFO] [talledLocalContainer] at com.sun.proxy.$Proxy1774.execute(Unknown Source) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.scheduler.CronScheduledTriggerJob.execute(CronScheduledTriggerJob.java:29) [INFO] [talledLocalContainer] at com.atlassian.plugin.automation.spi.QuartzPluginJob.execute(QuartzPluginJob.java:41) [INFO] [talledLocalContainer] at org.quartz.core.JobRunShell.run(JobRunShell.java:195) [INFO] [talledLocalContainer] at com.atlassian.multitenant.quartz.MultiTenantThreadPool$MultiTenantRunnable.run(MultiTenantThreadPool.java:72) [INFO] [talledLocalContainer] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) {code}

    Atlassian JIRA | 3 years ago | Matej Konecny [Paternity Leave 29th June]
    java.lang.NullPointerException

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

      No message provided

      at com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues()
    2. com.atlassian.jira
      ValidatorVisitor.visit
      1. com.atlassian.jira.jql.operand.PredicateOperandHandlerRegistry$FunctionPredicateOperandHandler.getValues(PredicateOperandHandlerRegistry.java:216)
      2. com.atlassian.jira.jql.operand.DefaultPredicateOperandResolver.getValues(DefaultPredicateOperandResolver.java:31)
      3. com.atlassian.jira.jql.validator.HistoryPredicateValidator.validateTerminalPredicate(HistoryPredicateValidator.java:82)
      4. com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:73)
      5. com.atlassian.jira.jql.validator.HistoryPredicateValidator.validate(HistoryPredicateValidator.java:52)
      6. com.atlassian.jira.jql.validator.WasClauseValidator.validate(WasClauseValidator.java:80)
      7. com.atlassian.jira.jql.validator.ValidatorVisitor.validateClause(ValidatorVisitor.java:134)
      8. com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:110)
      9. com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33)
      9 frames
    3. com.atlassian.query
      WasClauseImpl.accept
      1. com.atlassian.query.clause.WasClauseImpl.accept(WasClauseImpl.java:48)
      1 frame
    4. com.atlassian.jira
      ValidatorVisitor.visit
      1. com.atlassian.jira.jql.validator.ValidatorVisitor.getMessagesFromSubClauses(ValidatorVisitor.java:173)
      2. com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:50)
      3. com.atlassian.jira.jql.validator.ValidatorVisitor.visit(ValidatorVisitor.java:33)
      3 frames
    5. com.atlassian.query
      AndClause.accept
      1. com.atlassian.query.clause.AndClause.accept(AndClause.java:34)
      1 frame
    6. com.atlassian.jira
      IssueNavigator.doExecuteAdvanced
      1. com.atlassian.jira.bc.issue.search.DefaultSearchService.validateQuery(DefaultSearchService.java:253)
      2. com.atlassian.jira.web.action.issue.IssueNavigator.validateQuery(IssueNavigator.java:839)
      3. com.atlassian.jira.web.action.issue.IssueNavigator.updateSearchRequestWithJqlOrParams(IssueNavigator.java:682)
      4. com.atlassian.jira.web.action.issue.IssueNavigator._doExecuteAdvanced(IssueNavigator.java:585)
      5. com.atlassian.jira.web.action.issue.IssueNavigator.doExecuteAdvanced(IssueNavigator.java:537)
      5 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames