Thanks Vikram, I fixed it.

--- "Naik, Vikram" <[EMAIL PROTECTED]> wrote:

> Hello,
>  
> In MetafacadeMappings class , for method 
> "getMetafacadeMapping( String metaobjectClass, 
> Collection stereotypes,  String namespace, String
> context)"  a null check for mapping should be placed
> before this logging statement or else when logging
> level is raised to DEBUG this block of statement
> throws null pointer assignment.
>  
> Currently :
>  
>          if (logger.isDebugEnabled())
>              logger.debug("found mapping --> '" +
> mapping
>                  + "' with metafacadeClass --> '" +
> mapping.getMetafacadeClass()
>                  + "'");
> 
> Should it be:
>  
> 
> if(mapping != null){
> 
>          if (logger.isDebugEnabled())
>              logger.debug("found mapping --> '" +
> mapping
>                  + "' with metafacadeClass --> '" +
> mapping.getMetafacadeClass()
>                  + "'");
> 
> }
> 
> -Vikram.
> 
> HS^�隊X���'���u����x��!r�������q�'V��ǝ��tҙ�x�
P��讉��ou�JdJ��p5C�讉��}�j��҇�E�Z�Z'"y�w���J��)�jwE�熉�a���
0�)�ל��&�?ȞH޴&������?�]<[EMAIL PROTECTED](��~��zw��X�����b��?jwk�gZ�ǫ



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to