Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-37061

log scan (hercules) throw regex.PatternSyntaxException in log

XMLWordPrintable

      Steps to reproduce:

      1. Login as confluence admin
      2. Go to Confluence administration
      3. Atlassian Support Tools
      4. Log Scanner
      5. Scan

      Nothing unusual show on the Confluence UI, however, below's error message show in the logs :

      2015-03-27 21:27:46,357 ERROR [HerculesWorker_1] [com.atlassian.sisyphus.SisyphusPattern] compile Failed to compile pattern '"Track another decision/Create decision" button no longer works' at https://confluence.atlassian.com/pages/viewpage.action?pageId=442271772
       -- referer: http://localhost:5560/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/hercules/execute | userName: admin
      java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0
      ??
      ..
      ..
      2015-03-27 21:27:46,359 ERROR [HerculesWorker_1] [com.atlassian.sisyphus.SisyphusPattern] compile Failed to compile pattern 'JIRA issues macro displays "USER_UNKNOWN"' at https://confluence.atlassian.com/pages/viewpage.action?pageId=365003703
       -- referer: http://localhost:5560/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/hercules/execute | userName: admin
      java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0
      ??USER_UNKNOWN|Unknown User:
      ^
      ..
      ..
      2015-03-27 21:27:46,363 ERROR [HerculesWorker_1] [com.atlassian.sisyphus.SisyphusPattern] compile Failed to compile pattern 'Duplicate NOTIFICATIONID When Creating/Editing a Content (Page, Comments, etc.)' at https://confluence.atlassian.com/pages/viewpage.action?pageId=353273164
       -- referer: http://localhost:5560/plugins/servlet/stp/view/ | url: /plugins/servlet/stp/view/hercules/execute | userName: admin
      java.util.regex.PatternSyntaxException: Dangling meta character '?' near index 0
      ??org\.springframework\.dao\.DataIntegrityViolationException\: Hibernate operation\: could not insert\: com\.atlassian\.confluence\.mail\.notification\.Notification
      ^
      

      This issue seems like caused by the xml that generated by Sisphus, which affect the scan result, but not caused by log scanner(STP/Hercules) itself.

              jclark@atlassian.com Joe Clark
              wwong Wayne Wong
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: