Dean,

I changed the comparison to

CLASS_KEYWORD.equals(fieldInfo.getNodeName()) so if nodeName is null it
won't cause a NPE.

Committed to CVS. 

--Keith

Dean Hiller wrote:
> 
> Your changes from revision 1.104 to 1.105 of SourceFactory broke my code
> generation of my schema.  I am getting a nullpointerexception at line
> 1754 revision 1.108, and I am guessing fieldInfo.getNodeName() is
> returning null and therefore I get this exception.  I comment out these
> changes and code generation works again(Well at least I mean it
> generates the code).
> 
> ps.  I think I am finally going to get some time to set up the automated
> build.
> thanks,
> Dean
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to