Null Pointer Exception When Filling the Jasper Report After Any Type Of Editing.

Hello!
I am new to Jasper Reports and working on a project having .jasper reports in it.
The problem is WhenEver i Edit the Report again try to run it after compiling and putting it into my project, it gives a NullPointerException and Errors at fillig the Report.
The Error comes even if i edit a static text and change the text in it. 
Any Clues that what may be the problem?
i had decompiled it into Jrxml and Edited and then compiled it into .jasper file, All the time the same problem is Occuring.
i am using TIBCO Jaspersoft Studio-6.1.0.final and i Dont Know at what version the Reports are Already Made. 
I even used iReport for it but same problem.

Will be really thankful if anyone can help.
Thank You

 

zainbutt2009's picture
Joined: Sep 2 2015 - 4:02am
Last seen: 7 years 6 months ago

2 Answers:

What does the log file say where the problem is?

Most of the time, this happens when you didn't select the right datasource when previewing.

hozawa's picture
170669
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 9 months ago

Thank You Hozawa for your quick reply,
I Solved the problem, it was the compatibility issue.

zainbutt2009's picture
Joined: Sep 2 2015 - 4:02am
Last seen: 7 years 6 months ago
Feedback