Bugs item #1020948, was opened at 2004-09-02 07:59
Message generated for change (Comment added) made by fgiust
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=1020948&group_id=73068

Category: main tag library
Group: planned for 1.0
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: fabrizio giustina (fgiust)
Summary: NullpointerException in HeaderCell

Initial Comment:
The method addHeaderClass in Headercell presumes that 
headerAttributes are set. There should be a test for it 
beeing null in the start of the method :
        // null safe
        if (StringUtils.isBlank(cssClass) || this.
headerAttributes==null)
        {
            return;
        }

Hermod

----------------------------------------------------------------------

>Comment By: fabrizio giustina (fgiust)
Date: 2004-09-17 16:05

Message:
Logged In: YES 
user_id=798060

I couldn't be able to reproduce any situation where this NPE
could happen: headerAttributes are not set only for implicit
columns and addHeaderClass can only be called for sortable
columns (an implicit column is not sortable).
I have anyway added this check, if you encountered this
exception please post the document and the step needed to
reproduce it.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=1020948&group_id=73068


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to