Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » StartupPage.getBgImage throws Null Pointer(RAP application won't start with 1.3M6)
icon8.gif  StartupPage.getBgImage throws Null Pointer [message #532328] Sat, 08 May 2010 07:56 Go to next message
Dara  is currently offline Dara Friend
Messages: 2
Registered: May 2010
Junior Member
Hi,
I have had a RAP application since the early days and generally worked ok after each milestone release. however since M6, getBgImage (in StartUpPage) is throwing an NPE (see below).
it is trying to find the background image (i did have one specified in my own theme.css, disabled that to revert to default, but no effect). i commented out the line calling getBgImage in startup page, but just showed up an empty page in browser.
It feels like an environment problem, but have been looking at this for 2 weeks...and now am looking into a bucket.

PLEASE HELP!
Dara


java.lang.NullPointerException
at org.eclipse.rwt.internal.resources.ResourceManagerImpl.creat eRequestURL(ResourceManagerImpl.java:381)
at org.eclipse.rwt.internal.resources.ResourceManagerImpl.getLo cation(ResourceManagerImpl.java:301)
at org.eclipse.rap.ui.internal.servlet.ResourceManagerFactory$R esourceManagerWrapper.getLocation(ResourceManagerFactory.jav a:105)
at org.eclipse.rwt.internal.service.StartupPage.getBgImage(Star tupPage.java:63)
at org.eclipse.rwt.internal.service.StartupPage.render(StartupP age.java:73)
at org.eclipse.rwt.internal.service.StartupPage.send(StartupPag e.java:44)
at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.run LifeCycle(LifeCycleServiceHandler.java:73)
Re: StartupPage.getBgImage throws Null Pointer [message #532459 is a reply to message #532328] Mon, 10 May 2010 07:26 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Dara,

though I cannot reproduce what you describe this looks like a bug.
Please file a bugzilla and provide further information on how to
reproduce the exception. Ideally you could attach a standalone css file
to reproduce the problem.

Regards
Rüdiger
--
Rüdiger Herrmann
http://eclipsesource.com

On 08.05.2010 09:56, Dara wrote:
> Hi,
> I have had a RAP application since the early days and generally worked
> ok after each milestone release. however since M6, getBgImage (in
> StartUpPage) is throwing an NPE (see below).
> it is trying to find the background image (i did have one specified in
> my own theme.css, disabled that to revert to default, but no effect). i
> commented out the line calling getBgImage in startup page, but just
> showed up an empty page in browser.
> It feels like an environment problem, but have been looking at this for
> 2 weeks...and now am looking into a bucket.
> PLEASE HELP!
> Dara
>
>
> java.lang.NullPointerException
> at org.eclipse.rwt.internal.resources.ResourceManagerImpl.creat
> eRequestURL(ResourceManagerImpl.java:381)
> at org.eclipse.rwt.internal.resources.ResourceManagerImpl.getLo
> cation(ResourceManagerImpl.java:301)
> at org.eclipse.rap.ui.internal.servlet.ResourceManagerFactory$R
> esourceManagerWrapper.getLocation(ResourceManagerFactory.jav a:105)
> at org.eclipse.rwt.internal.service.StartupPage.getBgImage(Star
> tupPage.java:63)
> at org.eclipse.rwt.internal.service.StartupPage.render(StartupP
> age.java:73)
> at org.eclipse.rwt.internal.service.StartupPage.send(StartupPag e.java:44)
> at org.eclipse.rwt.internal.service.LifeCycleServiceHandler.run
> LifeCycle(LifeCycleServiceHandler.java:73)
>
Re: StartupPage.getBgImage throws Null Pointer [message #533670 is a reply to message #532459] Sat, 15 May 2010 08:10 Go to previous message
Dara  is currently offline Dara Friend
Messages: 2
Registered: May 2010
Junior Member
Hi Rüdiger,
thank you for the response. actually i sorted this...one of the unit test suite's DisplayLCA (can't remember exact name), was being loaded. i removed the test bundles from but launch config and everything is hunky dory! again, thank you for responding and a great product!! Wink
d
Previous Topic:The JobManager's lock question
Next Topic:[Upload Widget] Access Denied?
Goto Forum:
  


Current Time: Sun Nov 28 00:51:04 GMT 2021

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

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

Back to the top