You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Stephen Haberman (JIRA)" <ji...@apache.org> on 2009/11/15 20:35:39 UTC

[jira] Created: (IVYDE-220) workspace-level ivy settings as a absolute path NPEs

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.


[jira] Updated: (IVYDE-220) workspace-level ivy settings as a absolute path NPEs

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée updated IVYDE-220:
----------------------------------

    Affects Version/s: 2.1.0

> 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
>    Affects Versions: 2.1.0
>         Environment: trunk
>            Reporter: Stephen Haberman
>            Assignee: Nicolas Lalevée
>             Fix For: 2.1.0
>
>
> 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.


[jira] Commented: (IVYDE-220) workspace-level ivy settings as a absolute path NPEs

Posted by "Stephen Haberman (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (IVYDE-220) workspace-level ivy settings as a absolute path NPEs

Posted by "Nicolas Lalevée (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVYDE-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Lalevée resolved IVYDE-220.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
         Assignee: Nicolas Lalevée

Good catch Stephen !

> 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
>    Affects Versions: 2.1.0
>         Environment: trunk
>            Reporter: Stephen Haberman
>            Assignee: Nicolas Lalevée
>             Fix For: 2.1.0
>
>
> 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.