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
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.