Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344488 - [Help][Standalone] Standalone Help not starting on Win7
Summary: [Help][Standalone] Standalone Help not starting on Win7
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: User Assistance (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: platform-ua-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-02 12:59 EDT by Chris Goldthorpe CLA
Modified: 2011-05-04 15:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Goldthorpe CLA 2011-05-02 12:59:53 EDT
3.7M7 

Following the directions in UA test scenario F2 standalone help fails with the exception below:

C:\cs\builds\eclipse-SDK-3.7M7-win32\eclipse>java -cp plugins/org.eclipse.help.b
ase_3.6.0.v201104280848.jar org.eclipse.help.standalone.Help -command displayHel
p -data standalone
2011-05-02 09:41:01.488:WARN::ERROR:  Error for /help/control
java.lang.NoClassDefFoundError: org.eclipse.swt.internal.win32.OS (initializatio
n failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
        at org.eclipse.swt.program.Program.launch(Program.java:292)
        at org.eclipse.swt.program.Program.launch(Program.java:266)
        at org.eclipse.help.ui.internal.browser.SystemBrowserAdapter.displayURL(
SystemBrowserAdapter.java:42)
        at org.eclipse.help.internal.browser.CurrentBrowser.displayURL(CurrentBr
owser.java:67)
        at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay
.java:196)
        at org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpDisplay.ja
va:65)
        at org.eclipse.help.internal.webapp.servlet.ControlServlet.displayHelp(C
ontrolServlet.java:321)
        at org.eclipse.help.internal.webapp.servlet.ControlServlet.processReques
t(ControlServlet.java:169)
        at org.eclipse.help.internal.webapp.servlet.ControlServlet.doGet(Control
Servlet.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrap
per.service(ServletManager.java:180)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service
(ServletRegistration.java:61)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:126)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHtt
pServiceServlet.service(HttpServerManager.java:317)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511
)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
90)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
82)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
65)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:924)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:409)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:582)
2011-05-02 09:53:08.948:WARN::ERROR:  Error for /help/control
java.lang.NoClassDefFoundError: org.eclipse.swt.internal.win32.OS (initializatio
n failure)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:140)
        at org.eclipse.swt.program.Program.launch(Program.java:292)
        at org.eclipse.swt.program.Program.launch(Program.java:266)
        at org.eclipse.help.ui.internal.browser.SystemBrowserAdapter.displayURL(
SystemBrowserAdapter.java:42)
        at org.eclipse.help.internal.browser.CurrentBrowser.displayURL(CurrentBr
owser.java:67)
        at org.eclipse.help.internal.base.HelpDisplay.displayHelpURL(HelpDisplay
.java:196)
        at org.eclipse.help.internal.base.HelpDisplay.displayHelp(HelpDisplay.ja
va:65)
        at org.eclipse.help.internal.webapp.servlet.ControlServlet.displayHelp(C
ontrolServlet.java:321)
        at org.eclipse.help.internal.webapp.servlet.ControlServlet.processReques
t(ControlServlet.java:169)
        at org.eclipse.help.internal.webapp.servlet.ControlServlet.doGet(Control
Servlet.java:119)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrap
per.service(ServletManager.java:180)
        at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service
(ServletRegistration.java:61)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(P
roxyServlet.java:126)
        at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyS
ervlet.java:60)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHtt
pServiceServlet.service(HttpServerManager.java:317)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511
)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:3
90)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:1
82)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:7
65)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:1
52)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:54
2)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpCo
nnection.java:924)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.ja
va:409)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.j
ava:582)
Comment 1 Chris Goldthorpe CLA 2011-05-02 13:17:12 EDT
Standalone help start fine on Linux ( RHEL5 ). I don't yet know whether it works on XP.
Comment 2 Chris Goldthorpe CLA 2011-05-04 15:45:19 EDT
This works when the JRE is specified rather than using the default. Tested using IBM 5.0, IBM 6.0 and Sun/Oracle 6.0.