d.wendler Posted August 1, 2013 Share Posted August 1, 2013 Consider the following data:{ "test": "value1", "attr": { "gender": "male" }, "blarg": 1234 }[/code]When I change my simple report from using test to using attr.gender,it fails because of the dot, or how the array element gets accessed.Error filling print... Key is null in pie dataset.Setting up the file resolver...net.sf.jasperreports.engine.JRRuntimeException: Key is null in pie dataset.[/code]It works with "$F{test}" (string) but it does not work with "$F{attr.gender}" (string)! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now