20 Aug 14:37
[2.1] AbstractEnvironment - NPE in release(...)
From: Thorsten Scherler <thorsten.scherler.ext <at> juntadeandalucia.es>
Subject: [2.1] AbstractEnvironment - NPE in release(...)
Newsgroups: gmane.text.xml.cocoon.devel
Date: 2008-08-20 12:40:07 GMT
Subject: [2.1] AbstractEnvironment - NPE in release(...)
Newsgroups: gmane.text.xml.cocoon.devel
Date: 2008-08-20 12:40:07 GMT
Hi all,
I found a bug that just some time happens and I am not sure why.
In AbstractEnvironment the method release throw SOMETIMES a NPE:
/**
* Releases a resolved resource
*/
public void release(final org.apache.excalibur.source.Source source)
{
if (null != source) {
this.sourceResolver.release(source);
}
}
I have found that under certain circumstances this.sourceResolver is
already null. I do not understand ATM why and when this can happen.
Does somebody has an idea?
salu2
--
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
RSS Feed