[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-849) Archives builder seem to run even though no archiving is enabled and then NPE's occur
Max Andersen (JIRA)
jira-events at lists.jboss.org
Sat Aug 25 07:46:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBIDE-849?page=comments#action_12373824 ]
Max Andersen commented on JBIDE-849:
------------------------------------
I fixed some of these NPE.
The general problem is that
ArchivesModel.instance().getRoot(p).<someOperation>
is done and that seem to fail quite often since root returns null.
I've fixed some to
IArchiveModelNode root = ArchivesModel.instance().getRoot(p);
if(root!=null) {
root.<someOperation>
}
instead - but not sure if the code should actually get that far...the builder should just ignore projects it does not know about, right ?
> Archives builder seem to run even though no archiving is enabled and then NPE's occur
> -------------------------------------------------------------------------------------
>
> Key: JBIDE-849
> URL: http://jira.jboss.com/jira/browse/JBIDE-849
> Project: JBoss Tools
> Issue Type: Bug
> Components: Archives
> Affects Versions: 2.0.0.Beta3
> Reporter: Max Andersen
> Assigned To: Rob Stryker
> Fix For: 2.0.0.Beta4
>
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list