ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <>
Subject [jira] Commented: (IVYDE-133) The decorators can throw a NPE at startup
Date Wed, 31 Dec 2008 09:34:44 GMT


Nicolas Lalevée commented on IVYDE-133:

The more I look into this, the more I see that kind of problem marker is a hack to work around
that the JDT API doesn't provide extended management of classpath containers.
The IvyClasspathContainerDecorator is actually trying to redo what exist for IResource (classpath
containers are not IResource): org.eclipse.jdt.ui.ProblemsLabelDecorator.
I think a more proper solution will be to use the already existing marker management, and
then more than trying to put an error marker on the classpath container, the error marker
will on the java project containing the problematic classpath container.
If there is no objection, I will change it.

> The decorators can throw a NPE at startup
> -----------------------------------------
>                 Key: IVYDE-133
>                 URL:
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.0.0.beta1
>            Reporter: Nicolas Lalevée
>            Assignee: Nicolas Lalevée
>            Priority: Minor
>             Fix For:
> When launching Eclipse, and if there are some failing resolve job, a NPE can be raised:
> {noformat}
> java.lang.NullPointerException
>         at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.setConfStatus(
>         at org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainerConfiguration.getModuleDescriptor(
>         at
>         at
> {noformat}
> This may be due to the way the decorator listeners are accessed.

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

View raw message