cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <giac...@apache.org>
Subject Re: svn commit: r597440 - /cocoon/trunk/core/cocoon-configuration/cocoon-configuration-api/src/main/java/org/apache/cocoon/configuration/PropertyHelper.java
Date Mon, 26 Nov 2007 06:09:55 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Joerg Heinicke wrote:
> On 23.11.2007 9:58 Uhr, Giacomo Pati wrote:
> 
>>> How can this be null after all? From what I see value can only be null
>>> if value was null in the first place, i.e. before replace(..). This
>>> means that null must already have been in the Properties object which is
>>> kind of impossible since Properties.put(..) inherited from HashTable
>>> throws NPE on value being null.
>>
>> Exactly! I have the situation where value _IS NULL_ and it throws a NPE.
>>
>>> Where do you have this Properties object from which is only injected by
>>> the user into AbstractSettingsBeanFactoryPostProcessor?
>>
>> I don't know where what is comming from. I suddenly had this NPE as
>> soon as I access a URL (while
>> something is creating a Setting bean).
> 
> Since you reverted the commit have you figured out where the null is
> coming from? I'm really curious how the original Properties object could
> have null.

No, actually I tried to reproduce but my app works again without that NPE. So I have no idea
now.

Ciao

- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHSmMyLNdJvZjjVZARAo1QAJ0b+xym0m6biSQ/oLTapx4y6vw/hQCeO4Zb
abXW8cNUs0uj4pymKqbXvgc=
=3AVR
-----END PGP SIGNATURE-----

Mime
View raw message