Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7884

StringHelper needs to catch NoClassDefFoundError

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Patch Available

    Description

      Problem:

      As shown here, StringHelpers currently use Paths to generate random and catch Exception when resources are unavailable.

      However, in some platform, calling Paths will result NoClassDefFoundError which is not handled by catching Exception.

      Change:

      Change to catch *Throwable* instead.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            zhaoyan1117 Yan Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment