Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Error 500 when defining a favicon
Error 500 when defining a favicon [message #130226] Sun, 26 April 2009 14:51 Go to next message
David H. is currently offline David H.Friend
Messages: 6
Registered: July 2009
Junior Member
Hello all,

I get an Error 500 (Internal Server Error) when defining a favicon. That
happens if the file is an ICO as well as a PNG. By not defining a favicon
everything is okay.

The error is attended by following exception:

2009-04-26 16:45:34.815::WARN: ERROR: /servlet
java.lang.NullPointerException
at
org.eclipse.rap.ui.internal.branding.Branding.registerResour ces(Branding.java:171)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.registerBrandingResources(LifeCycleServiceHandlerConf igurer.java:258)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.applyBranding(LifeCycleServiceHandlerConfigurer.java: 221)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:63)
at
org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
at
org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:48 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:36)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
at
org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
at org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
at
org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:311)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)


I am using the latest official target platform as well as the latest
official tooling kit.
Re: Error 500 when defining a favicon [message #130279 is a reply to message #130226] Sun, 26 April 2009 20:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: phiamo.gmail.com

Hi,
i can reproduce exactly the same if i misspelled the favicon location in
plugin xml.
try using the plugin manifest editor and the browse button next to
favicon to make shure the path is correct.
cheers phil


David H. schrieb:
> Hello all,
>
> I get an Error 500 (Internal Server Error) when defining a favicon. That
> happens if the file is an ICO as well as a PNG. By not defining a
> favicon everything is okay.
>
> The error is attended by following exception:
>
> 2009-04-26 16:45:34.815::WARN: ERROR: /servlet
> java.lang.NullPointerException
> at
> org.eclipse.rap.ui.internal.branding.Branding.registerResour ces(Branding.java:171)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.registerBrandingResources(LifeCycleServiceHandlerConf igurer.java:258)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.applyBranding(LifeCycleServiceHandlerConfigurer.java: 221)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:63)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:48 )
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:36)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
>
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
>
> at
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> at
> org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:51)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:311)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
>
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
>
> at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)
>
>
>
> I am using the latest official target platform as well as the latest
> official tooling kit.
>
Re: Error 500 when defining a favicon [message #130331 is a reply to message #130279] Mon, 27 April 2009 06:12 Go to previous messageGo to next message
David H. is currently offline David H.Friend
Messages: 6
Registered: July 2009
Junior Member
Thanks Philipp,

but that's what I did. I didn't type the path in, I browsed for it and
then I didn't touch that thing again.
Re: Error 500 when defining a favicon [message #130343 is a reply to message #130226] Mon, 27 April 2009 07:21 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
you need to list resources like the favicon image in the
build.properties file if you deploy your application as a war file.

David H. wrote:
> Hello all,
>
> I get an Error 500 (Internal Server Error) when defining a favicon. That
> happens if the file is an ICO as well as a PNG. By not defining a
> favicon everything is okay.
>
> The error is attended by following exception:
>
> 2009-04-26 16:45:34.815::WARN: ERROR: /servlet
> java.lang.NullPointerException
> at
> org.eclipse.rap.ui.internal.branding.Branding.registerResour ces(Branding.java:171)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.registerBrandingResources(LifeCycleServiceHandlerConf igurer.java:258)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.applyBranding(LifeCycleServiceHandlerConfigurer.java: 221)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandlerConf igurer.getTemplateOfStartupPage(LifeCycleServiceHandlerConfi gurer.java:63)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.renderScript( BrowserSurvey.java:89)
>
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:50)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:197)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:185)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:150)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:48 )
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:36)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:157)
>
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:101)
>
> at
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> at
> org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:51)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:311)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:487)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:362)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandl er.java:181)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandl er.java:726)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapp er.java:139)
> at org.mortbay.jetty.Server.handle(Server.java:324)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnectio n.java:505)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComple te(HttpConnection.java:828)
>
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java: 211)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java: 380)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEn dPoint.java:395)
>
> at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedT hreadPool.java:450)
>
>
>
> I am using the latest official target platform as well as the latest
> official tooling kit.
>
Previous Topic:How to set object reference to servlet from RAP
Next Topic:FormText in standalone RWT
Goto Forum:
  


Current Time: Fri Apr 19 19:35:30 GMT 2024

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

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

Back to the top