You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Xavier Hanin (JIRA)" <ji...@apache.org> on 2008/12/29 12:56:46 UTC

[jira] Resolved: (IVYDE-144) NPE when a project:/// path is used and path does not exist

     [ https://issues.apache.org/jira/browse/IVYDE-144?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xavier Hanin resolved IVYDE-144.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0.final
         Assignee: Xavier Hanin

I've fixed this problem, and also made a slight change to the way conf status is updated, so that the more recent exception is shown instead of the oldest one.

> NPE when a project:/// path is used and path does not exist
> -----------------------------------------------------------
>
>                 Key: IVYDE-144
>                 URL: https://issues.apache.org/jira/browse/IVYDE-144
>             Project: IvyDE
>          Issue Type: Bug
>          Components: classpath container
>    Affects Versions: 2.0.0.beta1
>            Reporter: Xavier Hanin
>            Assignee: Xavier Hanin
>             Fix For: 2.0.0.final
>
>
> If IvyDE is misconfigured with a project:/// path for the settings which does not correspond to an existing file, an NPE is thrown:
> {noformat}
> 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)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.