Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-144

NPE when a project:/// path is used and path does not exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0.beta1
    • 2.0.0.final
    • classpath container
    • None

    Description

      If IvyDE is misconfigured with a project:/// path for the settings which does not correspond to an existing file, an NPE is thrown:

      java.lang.NullPointerException
      at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getIvy(IvyClasspathContainerConfiguration.java:442)
      at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:195)
      at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer.launchResolve(IvyClasspathContainer.java:162)
      at org.apache.ivyde.eclipse.ui.actions.ResolveAllAction$1.run(ResolveAllAction.java:81)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

      Attachments

        Activity

          People

            xavier Xavier Hanin
            xavier Xavier Hanin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: