com.atlassian.bonnie.LuceneException: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : ""

Atlassian JIRA | Daniel Kjellin | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Go to the people directory and search for "da]" The log now contains a full stacktrace. This is hardly needed an invalid search term should not spew out a stacktrace. 2010-03-09 14:24:53,028 WARN [http-8080-2] [confluence.search.actions.SearchQueryBean] buildPeopleQuery Unable to build search query: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : "" -- referer: /confluence/dopeopledirectorysearch.action | url: /confluence/dopeopledirectorysearch.action | userName: admin | action: dopeopledirectorysearch com.atlassian.bonnie.LuceneException: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : "" at com.atlassian.bonnie.search.LuceneSearcher.buildStandardQuery(LuceneSearcher.java:64) at com.atlassian.confluence.search.scope.UserScope.addUserFields(UserScope.java:36) at com.atlassian.confluence.search.scope.UserScope.restrictQuery(UserScope.java:30) at com.atlassian.confluence.search.actions.SearchQueryBean.buildPeopleQuery(SearchQueryBean.java:202) at com.atlassian.confluence.user.actions.PeopleDirectoryAction.search(PeopleDirectoryAction.java:123) at com.atlassian.confluence.user.actions.PeopleDirectoryAction.doSearch(PeopleDirectoryAction.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Atlassian JIRA | 7 years ago | Daniel Kjellin
    com.atlassian.bonnie.LuceneException: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : ""
  2. 0

    Go to the people directory and search for "da]" The log now contains a full stacktrace. This is hardly needed an invalid search term should not spew out a stacktrace. 2010-03-09 14:24:53,028 WARN [http-8080-2] [confluence.search.actions.SearchQueryBean] buildPeopleQuery Unable to build search query: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : "" -- referer: /confluence/dopeopledirectorysearch.action | url: /confluence/dopeopledirectorysearch.action | userName: admin | action: dopeopledirectorysearch com.atlassian.bonnie.LuceneException: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : "" at com.atlassian.bonnie.search.LuceneSearcher.buildStandardQuery(LuceneSearcher.java:64) at com.atlassian.confluence.search.scope.UserScope.addUserFields(UserScope.java:36) at com.atlassian.confluence.search.scope.UserScope.restrictQuery(UserScope.java:30) at com.atlassian.confluence.search.actions.SearchQueryBean.buildPeopleQuery(SearchQueryBean.java:202) at com.atlassian.confluence.user.actions.PeopleDirectoryAction.search(PeopleDirectoryAction.java:123) at com.atlassian.confluence.user.actions.PeopleDirectoryAction.doSearch(PeopleDirectoryAction.java:93) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    Atlassian JIRA | 7 years ago | Daniel Kjellin
    com.atlassian.bonnie.LuceneException: Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : ""

    Root Cause Analysis

    1. com.atlassian.bonnie.LuceneException

      Couldn't parse the query successfully:Cannot parse 'da]': Lexical error at line 1, column 4. Encountered: <EOF> after : ""

      at com.atlassian.bonnie.search.LuceneSearcher.buildStandardQuery()
    2. com.atlassian.bonnie
      LuceneSearcher.buildStandardQuery
      1. com.atlassian.bonnie.search.LuceneSearcher.buildStandardQuery(LuceneSearcher.java:64)
      1 frame
    3. com.atlassian.confluence
      PeopleDirectoryAction.doSearch
      1. com.atlassian.confluence.search.scope.UserScope.addUserFields(UserScope.java:36)
      2. com.atlassian.confluence.search.scope.UserScope.restrictQuery(UserScope.java:30)
      3. com.atlassian.confluence.search.actions.SearchQueryBean.buildPeopleQuery(SearchQueryBean.java:202)
      4. com.atlassian.confluence.user.actions.PeopleDirectoryAction.search(PeopleDirectoryAction.java:123)
      5. com.atlassian.confluence.user.actions.PeopleDirectoryAction.doSearch(PeopleDirectoryAction.java:93)
      5 frames
    4. Java RT
      NativeMethodAccessorImpl.invoke0
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      1 frame