Error running BIRT report via Tomcat [message #134569] |
Mon, 01 June 2009 06:18  |
Eclipse User |
|
|
|
Hi,
I'm using Eclipse Galileo M7, RAP 1.2 and BIRT 2.5.
When I try to open a report design from my RAP application (so that I can
then run the report), I get the following error
SEVERE: Could not execute
org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDest roy(SessionStoreEvent).
java.lang.NullPointerException
at
org.eclipse.ui.internal.preferences.SessionScope.getNode(Ses sionScope.java:67)
at
org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getStor ePreferences(ScopedPreferenceStoreCore.java:226)
at
org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getPref erenceNodes(ScopedPreferenceStoreCore.java:268)
at
org.eclipse.ui.preferences.ScopedPreferenceStoreCore.interna lGet(ScopedPreferenceStoreCore.java:459)
at
org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getBool ean(ScopedPreferenceStoreCore.java:371)
at
org.eclipse.ui.preferences.ScopedPreferenceStore.getBoolean( ScopedPreferenceStore.java:446)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:8 96)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:8 70)
at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1136 )
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1134)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1096)
at
org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDest roy(Workbench.java:219)
at
org.eclipse.rwt.internal.service.SessionStoreImpl.doValueUnb ound(SessionStoreImpl.java:174)
at
org.eclipse.rwt.internal.service.SessionStoreImpl.access$0(S essionStoreImpl.java:165)
at
org.eclipse.rwt.internal.service.SessionStoreImpl$1.run(Sess ionStoreImpl.java:50)
at
org.eclipse.rwt.internal.lifecycle.UIThread.processShutdown( UIThread.java:93)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:127)
at java.lang.Thread.run(Unknown Source)
I've implemented user preferences by following the example provided in
org.eclipse.rap.demo i.e. adding a preferencePages extension point, adding
a PreferencePage class, then setting the preferencestore using the line
setPreferenceStore(PrefUtil.getAPIPreferenceStore());
Is there something I've missed? It works fine when I run the application
from Eclipse, but I get the error when I deploy it in Tomcat.
Any help would be much appreciated!
|
|
|
|
Re: Error running BIRT report via Tomcat [message #135850 is a reply to message #134569] |
Fri, 12 June 2009 04:39  |
Eclipse User |
|
|
|
the stack trace indicates that the exception occurs while the
session is invalidated. Are you sure that the exception is a direct
consequence of opening a report?
Gemma Bowers wrote:
> Hi,
> I'm using Eclipse Galileo M7, RAP 1.2 and BIRT 2.5.
> When I try to open a report design from my RAP application (so that I
> can then run the report), I get the following error
>
> SEVERE: Could not execute
> org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDest roy(SessionStoreEvent).
>
> java.lang.NullPointerException
> at
> org.eclipse.ui.internal.preferences.SessionScope.getNode(Ses sionScope.java:67)
>
> at
> org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getStor ePreferences(ScopedPreferenceStoreCore.java:226)
>
> at
> org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getPref erenceNodes(ScopedPreferenceStoreCore.java:268)
>
> at
> org.eclipse.ui.preferences.ScopedPreferenceStoreCore.interna lGet(ScopedPreferenceStoreCore.java:459)
>
> at
> org.eclipse.ui.preferences.ScopedPreferenceStoreCore.getBool ean(ScopedPreferenceStoreCore.java:371)
>
> at
> org.eclipse.ui.preferences.ScopedPreferenceStore.getBoolean( ScopedPreferenceStore.java:446)
>
> at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:8 96)
> at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:8 70)
> at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1136 )
> at
> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1134)
> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1096)
> at
> org.eclipse.ui.internal.Workbench$ShutdownHandler.beforeDest roy(Workbench.java:219)
>
> at
> org.eclipse.rwt.internal.service.SessionStoreImpl.doValueUnb ound(SessionStoreImpl.java:174)
>
> at
> org.eclipse.rwt.internal.service.SessionStoreImpl.access$0(S essionStoreImpl.java:165)
>
> at
> org.eclipse.rwt.internal.service.SessionStoreImpl$1.run(Sess ionStoreImpl.java:50)
>
> at
> org.eclipse.rwt.internal.lifecycle.UIThread.processShutdown( UIThread.java:93)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:127)
>
> at java.lang.Thread.run(Unknown Source)
>
> I've implemented user preferences by following the example provided in
> org.eclipse.rap.demo i.e. adding a preferencePages extension point,
> adding a PreferencePage class, then setting the preferencestore using
> the line
> setPreferenceStore(PrefUtil.getAPIPreferenceStore());
>
> Is there something I've missed? It works fine when I run the application
> from Eclipse, but I get the error when I deploy it in Tomcat. Any help
> would be much appreciated!
>
|
|
|
Powered by
FUDForum. Page generated in 0.06196 seconds