User: vharcq  
  Date: 02/03/25 12:16:59

  Modified:    core/src/xdoclet XDocletTagSupport.java
  Log:
  Just avoid NPE in jboss 3 cmp subtask
  I did not verify if the dd is correct
  
  Revision  Changes    Path
  1.27      +3 -1      xdoclet/core/src/xdoclet/XDocletTagSupport.java
  
  Index: XDocletTagSupport.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xdoclet/core/src/xdoclet/XDocletTagSupport.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -w -r1.26 -r1.27
  --- XDocletTagSupport.java    24 Mar 2002 17:44:17 -0000      1.26
  +++ XDocletTagSupport.java    25 Mar 2002 20:16:59 -0000      1.27
  @@ -32,7 +32,7 @@
    *
    * @author    Dmitri Colebatch ([EMAIL PROTECTED])
    * @created   October 12, 2001
  - * @version   $Revision: 1.26 $
  + * @version   $Revision: 1.27 $
    */
   public abstract class XDocletTagSupport extends TemplateTagHandler
   {
  @@ -449,6 +449,8 @@
                        throw new XDocletException( Translator.getString( 
"bad_tagvalue_type" ) );
                }
   
  +        if (prg_elem == null)
  +            return null;
                XDoc doc = prg_elem.doc();
                return getTagValue(
                        doc,
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to