Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-492

Possible NPE with GroovyClassLoader#expandClassPath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0-beta-6
    • None
    • None

    Description

      jar files without manifest entry will cause a NPE because

      GroovyClassLoader#expandClassPath

      Manifest manifest = jar.getManifest();

      manifest is never checked for null and accoring to javadoc is may be null.

      Patch following.

      Attachments

        1. manifestnpe.patch
          2 kB
          Thomas Heller

        Activity

          People

            spullara Sam Pullara
            maniax Thomas Heller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: