View Full Version : NullPointerException

05-02-2002, 06:29 AM
Hi - I'm trying to adapt the demo XML file for my own use but always get:

java.lang.NullPointerException at com.jrefinery.report.Group.lastItemInGroup(Unknown Source)

I've tried using groups / not using groups everything but just can't get it to work.

I read from one of the previous posts that you have to define at least one group but it still won't work. Would the following be sufficient to make the class ignore grouping:

<group name="empty">

Is the required format of the XML file detailed in the documentation available to buy online ?


05-02-2002, 07:15 AM
Sorry - I did a daft thing - It's OK now. However I'd still like to know if the structure of the XML file is defined anywhere.

Thanks Shakes

05-02-2002, 12:28 PM
In a near future, the next version of JFreeReport will apear, and within
the package is a slightly changed parser (some error corrections and minor extensions) along with a DTD describing the document format.