grl Posted September 16, 2014 Posted September 16, 2014 This question is a duplicate of http://community.jaspersoft.com/questions/843627/please-help-unsupported-majorminor-version-jasperstudio-56x-scriptlet-classes
djohnson53 Posted September 16, 2014 Posted September 16, 2014 A null pointer is a pointer that does not refer to a valid object. Its a generic concept in programming.Is this the entire error stack?
djohnson53 Posted September 16, 2014 Posted September 16, 2014 I would say that the JRAbstractExporter's method ensureInput() didn't like something that was handed to it.functions, say f(x), pass the x into the function either by value (a copy of a small object) or by reference (for larger objects) which is a pointer to the original x.Exporters are routines that format a report's output into different forms and then write it out, or export it. I would think that something you are passing to the method is actually null. This could be a mis-spelling - like instead of 'x' you did: f(xx), and xx doesn't exist. Inside of f(), it would have a null value.If you can supply more info, someone might be able to add more.
hozawa Posted September 16, 2014 Posted September 16, 2014 You haven't provided any information on which version of JasperReports Server you're using nor what you did to get that error. Anyways, to find the cause of the error, there should be a "Caused by" clause further down the log. That should explain why it's erroring out.
grl Posted September 17, 2014 Author Posted September 17, 2014 I am trying scriptlets for the first time with jasper. I have a variable $V{options} in the sql statement likeselect state, sum(value) from mytable where locale in ('$V!{options}') group by state;The $V{options} is a String and its expression is value is set to $P{myscriptlet_SCRIPTLET}.getChoices{$P{param})I also havve a $P{myscriptlet_SCRIPTLET} whose class is the custom based class I implemented. $V{options} is null ...
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