ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Haberman (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVYDE-220) workspace-level ivy settings as a absolute path NPEs
Date Sun, 15 Nov 2009 19:59:39 GMT

    [ https://issues.apache.org/jira/browse/IVYDE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12778161#action_12778161
] 

Stephen Haberman commented on IVYDE-220:
----------------------------------------

Changing IvyClasspathContainerState line 213 from:

String ivySettingsPath = conf.getIvySettingsSetup().getResolvedIvySettingsPath();

To:

String ivySettingsPath = conf.getInheritedIvySettingsPath();

Fixed the NPE for me. The absolute file seems to work fine now.

> workspace-level ivy settings as a absolute path NPEs
> ----------------------------------------------------
>
>                 Key: IVYDE-220
>                 URL: https://issues.apache.org/jira/browse/IVYDE-220
>             Project: IvyDE
>          Issue Type: Bug
>         Environment: trunk
>            Reporter: Stephen Haberman
>
> Before using IvyDE trunk, I'd been using an absolute file path. After installing IvyDE
trunk, I got this stack trace until I removed the absolute file:
> java.lang.NullPointerException 
>         at org.eclipse.core.internal.variables.StringSubstitutionEngine.substitute(StringSubstitutionEngine.java:137)

>         at org.eclipse.core.internal.variables.StringSubstitutionEngine.performStringSubstitution(StringSubstitutionEngine.java:86)

>         at org.eclipse.core.internal.variables.StringVariableManager.performStringSubstitution(StringVariableManager.java:580)

>         at org.apache.ivyde.eclipse.cpcontainer.IvySettingsSetup.getResolvedIvySettingsPath(IvySettingsSetup.java:62)

>         at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.getIvy(IvyClasspathContainerState.java:212)

>         at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.doGetIvy(IvyClasspathContainerState.java:183)

>         at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerState.getIvy(IvyClasspathContainerState.java:135)

>         at org.apache.ivyde.eclipse.cpcontainer.IvyResolveJob.run(IvyResolveJob.java:69)

>         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 

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


Mime
View raw message