Jump to content
We've recently updated our Privacy Statement, available here ×

An internal error occurred during: "Building report". java.lang.NullPointerException


jennifer.zhao-Chin
Go to solution Solved by Raphaël Peguet,

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

Hello, I'm glad to hear you can now compile the report template.
Are you trying to preview the report in Jaspersoft Studio as well? It seems that an expression somewhere in the template is expecting a value which is not null from the parameter 'msg'.
To look for the expression(s) using $P{msg} the simplest is probably to do a quick search in the source tab (beside the preview tab).
Then once you identify in which object and band the parameter is used you can look at the expression from the designer view and see what's going on.
You will also need to review how the 'msg' parameter's value is set. There could be an issue there as well and its value remains null.
Last test in understand what's going on, try to set a default value to the property 'msg'

Link to comment
Share on other sites

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