Jump to content

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

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.

Posted

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.

Posted

I am trying scriptlets for the first time with jasper. 

I have a variable $V{options} in the sql statement like

select 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 ... 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...