[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [birt-report-engine-dev] Catch NullPointerException
|
JRS,
If you have no done so already, please post your question to the BIRT
forum area on Eclipse.org or www.birt-exchange.com.
Regards,
Paul.
-----Original Message-----
From: birt-report-engine-dev-bounces@xxxxxxxxxxx
[mailto:birt-report-engine-dev-bounces@xxxxxxxxxxx] On Behalf Of
JRS_1986
Sent: Wednesday, February 10, 2010 11:56 PM
To: birt-report-engine-dev@xxxxxxxxxxx
Subject: Re: [birt-report-engine-dev] Catch NullPointerException
Hi,
I'm using JDBC Data Sources. Ich tried a lot of things yesterday but
nothing
worked. What really bothered me was, that I could reduce the reason for
the
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
is
still there.
I really catch every single request and so there should be no further
error.
I really not understand this problem.
Regards,
JRS
JRS_1986 wrote:
>
> Hi,
>
> thank you for your reply. I have Oracle Databases and some IBM D2
Database
> for live data. I want to try the "try catch" syntax directly in the
xml.
> Will see how it works.
> I would really thank you for helping me out.
>
> Regards,
> JRS
>
>
> Tauseef wrote:
>>
>> Hi,
>>
>> How you are generating report, If it is based on Scripted datasource
then
>> i can help you.
>>
>>
>> Reply me,
>>
>>
>> Regards,
>> Tauseef
>>
>>
>> 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
no
>>> data for that in the database, we get a NullPointerException. Now I
>>> tried to catch this with a "catch(java.lang.NullPointerException)"
and
>>> give a customized error instead. Something like:
>>>
>>> System.out.println("For this parameters there is no data. Retry
>>> please.");
>>>
>>> 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:
http://old.nabble.com/Catch-NullPointerException-tp27501275p27543463.htm
l
Sent from the Eclipse BIRT - Report Engine - Dev mailing list archive at
Nabble.com.
_______________________________________________
birt-report-engine-dev mailing list
birt-report-engine-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/birt-report-engine-dev