java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'.

Atlassian JIRA | Voon Kiat Gan [Atlassian] | 6 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    This bug is related to GHS-1876, although "Create a filter which involves all issues from all projects and named it as 'All Issues'" throws error is solved in GHS-1876, However while user click on To Do , In Progress and Done link will cause the below stack trace {noformat} Oops - an error has occurred System Error A system error has occurred. ... Cause: java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'. Stack Trace: [hide] java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'. at com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder$OperatorState.not(PrecedenceSimpleClauseBuilder.java:657) at com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder.not(PrecedenceSimpleClauseBuilder.java:96) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.not(DefaultJqlClauseBuilder.java:151) at com.pyxis.greenhopper.jira.actions.GadgetBoardAction.getQuery(GadgetBoardAction.java:258) at com.pyxis.greenhopper.jira.actions.GadgetBoardAction.getFilterQuery(GadgetBoardAction.java:96) at com.pyxis.greenhopper.jira.actions.GadgetBoardAction.doNavigator(GadgetBoardAction.java:62) 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) 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) {noformat} *Steps to reproduce* * Create a filter which involves all issues from all projects and named it as 'All Issues'. * In the dashboard, click 'Add Gadget' and add the 'Agile Gadget'. * Click the 'Advanced Search' , choose the filter 'All Issues' and click save. * In the progress bar in top right in the agile gadget, click on To Do link ( to show issues in issue navigator). * system error Above will occur. *Workaround* Apply the workaround stated in [Agile Gadget throws Exception when using 'All Issues' Filter|http://confluence.atlassian.com/display/GHKB/Agile+Gadget+throws+Exception+when+using+%27All+Issues%27+Filter] KB.

    Atlassian JIRA | 6 years ago | Voon Kiat Gan [Atlassian]
    java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'.
  2. 0

    This bug is related to GHS-1876, although "Create a filter which involves all issues from all projects and named it as 'All Issues'" throws error is solved in GHS-1876, However while user click on To Do , In Progress and Done link will cause the below stack trace {noformat} Oops - an error has occurred System Error A system error has occurred. ... Cause: java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'. Stack Trace: [hide] java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'. at com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder$OperatorState.not(PrecedenceSimpleClauseBuilder.java:657) at com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder.not(PrecedenceSimpleClauseBuilder.java:96) at com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.not(DefaultJqlClauseBuilder.java:151) at com.pyxis.greenhopper.jira.actions.GadgetBoardAction.getQuery(GadgetBoardAction.java:258) at com.pyxis.greenhopper.jira.actions.GadgetBoardAction.getFilterQuery(GadgetBoardAction.java:96) at com.pyxis.greenhopper.jira.actions.GadgetBoardAction.doNavigator(GadgetBoardAction.java:62) 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) 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) {noformat} *Steps to reproduce* * Create a filter which involves all issues from all projects and named it as 'All Issues'. * In the dashboard, click 'Add Gadget' and add the 'Agile Gadget'. * Click the 'Advanced Search' , choose the filter 'All Issues' and click save. * In the progress bar in top right in the agile gadget, click on To Do link ( to show issues in issue navigator). * system error Above will occur. *Workaround* Apply the workaround stated in [Agile Gadget throws Exception when using 'All Issues' Filter|http://confluence.atlassian.com/display/GHKB/Agile+Gadget+throws+Exception+when+using+%27All+Issues%27+Filter] KB.

    Atlassian JIRA | 6 years ago | Voon Kiat Gan [Atlassian]
    java.lang.IllegalStateException: Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'.

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Trying to combine JQL expressions using the 'NOT' operator. The current JQL is '{filter = "testdfasdf"}'.

      at com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder$OperatorState.not()
    2. com.atlassian.jira
      DefaultJqlClauseBuilder.not
      1. com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder$OperatorState.not(PrecedenceSimpleClauseBuilder.java:657)
      2. com.atlassian.jira.jql.builder.PrecedenceSimpleClauseBuilder.not(PrecedenceSimpleClauseBuilder.java:96)
      3. com.atlassian.jira.jql.builder.DefaultJqlClauseBuilder.not(DefaultJqlClauseBuilder.java:151)
      3 frames
    3. com.pyxis.greenhopper
      GadgetBoardAction.doNavigator
      1. com.pyxis.greenhopper.jira.actions.GadgetBoardAction.getQuery(GadgetBoardAction.java:258)
      2. com.pyxis.greenhopper.jira.actions.GadgetBoardAction.getFilterQuery(GadgetBoardAction.java:96)
      3. com.pyxis.greenhopper.jira.actions.GadgetBoardAction.doNavigator(GadgetBoardAction.java:62)
      3 frames
    4. 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
    5. webwork.util
      InjectionUtils.invoke
      1. webwork.util.InjectionUtils$DefaultInjectionImpl.invoke(InjectionUtils.java:70)
      2. webwork.util.InjectionUtils.invoke(InjectionUtils.java:56)
      2 frames
    6. webwork.action
      ActionSupport.invokeCommand
      1. webwork.action.ActionSupport.invokeCommand(ActionSupport.java:433)
      1 frame