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

NullPointerException when compiling


richard.w.leir

Recommended Posts

Hi

Studio is giving me this:
java.lang.NullPointerException
    at net.sf.jasperreports.eclipse.builder.JasperReportCompiler.setValidationMarkers(JasperReportCompiler.java:332)
    at net.sf.jasperreports.eclipse.builder.JasperReportCompiler.compileReport(JasperReportCompiler.java:294)
    at com.jaspersoft.studio.data.jrdsprovider.JRDSProviderFieldsProvider.getFields(JRDSProviderFieldsProvider.java:51)
    at com.jaspersoft.studio.data.jrdsprovider.JrdsProviderDataAdapterDescriptor.getFields(JrdsProviderDataAdapterDescriptor.java:56)
    at com.jaspersoft.studio.data.ui.EmptyWizardDataEditorComposite.readFields(EmptyWizardDataEditorComposite.java:69)

There are many things in my setup which might be causing this, so what should I check first. In some other open source project I could have a look at line 332 and figure out what I have done wrong quickly. But where is the source code for JasperReportCompiler.java?  

My next step will be to read more documentation. 

Then compare my jrxml with some known good jrxml.

thanks -- Rick

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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