cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Daniel <alexander.dan...@gmx.at>
Subject Re: Cocoon 2.2 subsitemap throwing strange nullpointer
Date Thu, 17 Sep 2009 19:30:10 GMT
On Sep 17, 2009, at 11:40 , Søren Krum wrote:

> It gets even more interesting:
>
> When using a decompiler on class Property helper, hm i get the  
> following:
>
> /* 155*/        for(Iterator kI = props.keySet().iterator();  
> kI.hasNext(); props.put(key, value)) {
>
> /* 157*/            key = (String)kI.next();
>
> /* 159*/            value = props.getProperty(key);
>
> /* 161*/            value = replace(value, props, settings);
>               }
>           }
> }
>
> and yes, line number 163 has just one curly brace in it, not a  
> really god candidate for a null pointer...

In Cocoon trunk [1] the statement
	props.put(key, value);
is on line 163 of PropertyHelper.java.

Maybe the decompiler does change line numbers?

Alex

[1] http://svn.apache.org/repos/asf/cocoon/trunk/subprojects/cocoon-configuration/cocoon-configuration-api/src/main/java/org/apache/cocoon/configuration/PropertyHelper.java
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message