Skip to main content



      Home
Home » Archived » BIRT » Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity.
Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity. [message #186667] Wed, 23 August 2006 06:42 Go to next message
Eclipse UserFriend
Hi all,

I am currently using BIRT 2.1.
In our application reports are running fine but when there is no
interactivity from user for some time (eg 20 min) then if user try to click
on TOC button or CSV EXPORT button it gives null pointer exception.

--------------------
java.lang.NullPointerException
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
org.eclipse.birt.report.soapengine.processor.AbstractBaseCom ponentProcessor.process(Unknown
Source)
org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingI mpl.getUpdatedObjects(Unknown
Source)
sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
--------------------

Any body know what would be the reason behind this ?

plz reply

Thanks in advance

Parimal.
Re: Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity. [message #186761 is a reply to message #186667] Wed, 23 August 2006 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Parimal,

If you have a running web app, then your application server has
invalidated the user's session, as it is supposed to. If the user has not
touched the screen for twenty minutes, they should start a new session,
log in and everything should be fine. Does that answer your question?
Regards,
Ty
Re: Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity. [message #186791 is a reply to message #186761] Thu, 24 August 2006 09:44 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the reply.

But i thnk BIRT deletes rptdocument that is created during report generation
if there is no interactivity from user for some time. So is there any way
to persist rptdocument which is generated for the first time?


Once again thanks for your reply.

Parimal.


"Tyrone Hed" <tyronehed@earthlink.net> wrote in message
news:dba872b8423999ab8c61e351e88a4e74$1@www.eclipse.org...
> Parimal,
>
> If you have a running web app, then your application server has
> invalidated the user's session, as it is supposed to. If the user has not
> touched the screen for twenty minutes, they should start a new session,
> log in and everything should be fine. Does that answer your question?
> Regards,
> Ty
>
Re: Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity. [message #186915 is a reply to message #186791] Thu, 24 August 2006 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Parimal,

BIRT works from a hard-coded .rptdesign document. I am not aware of
any persisted version of this that gets generated--unless you're talking
about a PDF, but you can't re-run that.

Is there some reason you would like to save that? Is there some reason
you can't just re-run the report? Can you better explain your requirement?

Thank you,
Ty
Re: Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity. [message #186988 is a reply to message #186915] Fri, 25 August 2006 02:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Tyrone,
Thanks for reply.

If you run .rptdesign file then within your web application one folder named
"documents" is created .This folder contains .rptdocument file for
..rptdesign file. This folder get deleted automatically after some time if
there is no interactivity from user. I think, after this "document" folder
gets deleted if user tries to access report then NullPointer Exception is
thrown.

Plz reply.

Thanks once again.
Parimal.


"Tyrone Hed" <tyronehed@earthlink.net> wrote in message
news:36f7feed9885968d2aa28161f80c014a$1@www.eclipse.org...
> Parimal,
>
> BIRT works from a hard-coded .rptdesign document. I am not aware of any
> persisted version of this that gets generated--unless you're talking about
> a PDF, but you can't re-run that.
>
> Is there some reason you would like to save that? Is there some reason
> you can't just re-run the report? Can you better explain your requirement?
>
> Thank you,
> Ty
>
Re: Report gives NULL Pointer Exception on selection of TOC and Export CSV option due to inactivity. [message #187136 is a reply to message #186988] Fri, 25 August 2006 11:22 Go to previous message
Eclipse UserFriend
Parimal,
Well, I have never noticed that document directory before. However,
why do you want to access it? If you really need to, though, I must defer
to Jason Weatherly, who is the guru here.

thank you,
Ty
Previous Topic:Parameter filtering via the sql query
Next Topic:launch configuration
Goto Forum:
  


Current Time: Sun May 11 11:51:57 EDT 2025

Powered by FUDForum. Page generated in 0.04382 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top