Issue Details (XML | Word | Printable)

Key: DISPL-305
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Reporter: fabrizio giustina
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
DisplayTag

NPE in displaytag 1.1 when row css class is not set

Created: 09/Mar/06 03:19 PM   Updated: 25/Mar/06 11:28 AM   Resolved: 25/Mar/06 11:28 AM
Return to search
Component/s: Tag Library
Affects Version/s: 1.1
Fix Version/s: 1.1.1

Time Tracking:
Not Specified


 Description  « Hide
java.lang.NullPointerException
        at
org.displaytag.util.MultipleHtmlAttribute.addAllAttributesFromArray
(MultipleHtmlAttribute.java:56)
        at org.displaytag.util.MultipleHtmlAttribute.<init>
(MultipleHtmlAttribute.java:45)
        at org.displaytag.model.Row.getOpenTag(Row.java:146)
        at org.displaytag.render.HtmlTableWriter.writeRowOpener
(HtmlTableWriter.java:246)
        at org.displaytag.render.TableWriterTemplate.writeTableBody
(TableWriterTemplate.java:346)
        at org.displaytag.render.TableWriterTemplate.writeTable
(TableWriterTemplate.java:133)
        at org.displaytag.render.HtmlTableWriter.writeTable
(HtmlTableWriter.java:643)
        at org.displaytag.tags.TableTag.writeHTMLData(TableTag.java:
1549)
        at org.displaytag.tags.TableTag.doEndTag(TableTag.java:1218)

Harry added a comment - 13/Mar/06 05:10 AM
I had this problem as well and found, that the TableTag.properties file is missing in the distribution jar. Therefore it doesn't find all the properties - adding all the missing properties to the local displaytag.properties.

fabrizio giustina added a comment - 25/Mar/06 11:28 AM
test and fix in svn for 1.1.1