[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [birt-report-engine-dev] Catch NullPointerException
- From: "Paul Clenahan" <pclenahan@xxxxxxxxxxx>
- Date: Tue, 16 Feb 2010 16:17:24 -0800
- Delivered-to: email@example.com
- Thread-index: Acqq76s551TFrWriRb6A2jePSsfkDgEMEoZA
- Thread-topic: [birt-report-engine-dev] Catch NullPointerException
If you have no done so already, please post your question to the BIRT
forum area on Eclipse.org or www.birt-exchange.com.
[mailto:birt-report-engine-dev-bounces@xxxxxxxxxxx] On Behalf Of
Sent: Wednesday, February 10, 2010 11:56 PM
Subject: Re: [birt-report-engine-dev] Catch NullPointerException
I'm using JDBC Data Sources. Ich tried a lot of things yesterday but
worked. What really bothered me was, that I could reduce the reason for
error to only one table. If I delete this table, there is no error.
So far so well but if I delete the whole content of the table the error
I really catch every single request and so there should be no further
I really not understand this problem.
> thank you for your reply. I have Oracle Databases and some IBM D2
> for live data. I want to try the "try catch" syntax directly in the
> Will see how it works.
> I would really thank you for helping me out.
> Tauseef wrote:
>> How you are generating report, If it is based on Scripted datasource
>> i can help you.
>> Reply me,
>> JRS_1986 wrote:
>>> Hi there,
>>> I'm totally new in this forum so I hope, you can help me. We just
>>> updated BIRT in our company and now we have the following problem:
>>> If a user is entering some parameters to our reporting and there is
>>> data for that in the database, we get a NullPointerException. Now I
>>> tried to catch this with a "catch(java.lang.NullPointerException)"
>>> give a customized error instead. Something like:
>>> System.out.println("For this parameters there is no data. Retry
>>> We tried it before and after rendering and it ran through but
>>> unfortunately it didn't work.
>>> Does anybody now how to catch this exception in general and print a
>>> customized message instead?
>>> Thank you very much,
>>> best regards
View this message in context:
Sent from the Eclipse BIRT - Report Engine - Dev mailing list archive at
birt-report-engine-dev mailing list