This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 525505 - Web Services Explorer failure when Eclipse launched with Java 9
Summary: Web Services Explorer failure when Eclipse launched with Java 9
Status: RESOLVED FIXED
Alias: None
Product: WTP Webservices
Classification: WebTools
Component: wst.wsdl (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: 3.9.1a   Edit
Assignee: Keith Chong CLA
QA Contact: Keith Chong CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-03 09:39 EDT by Shane Clarke CLA
Modified: 2017-10-05 10:51 EDT (History)
0 users

See Also:


Attachments
Apply to org.eclipse.wst.ws.explorer, o.e.w.ws_ui.feature, and o.e.w.ws_sdk.feature (6.01 KB, patch)
2017-10-03 17:05 EDT, Keith Chong CLA
no flags Details | Diff
Apply to org.eclipse.wst.ws.explorer, o.e.w.ws_ui.feature, and o.e.w.ws_sdk.feature (7.17 KB, patch)
2017-10-03 17:23 EDT, Keith Chong CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Shane Clarke CLA 2017-10-03 09:39:57 EDT
Hit an issue with the Explorer in this weeks smoke test http://build.eclipse.org/webtools/committers/wtp-R3.9.1a-M/20171001002252/M-3.9.1a-20171001002252/ when Eclipse was launched with JDK9 and invoking an operation.

org.apache.jasper.compiler.Compiler generateClass
SEVERE: Error compiling file: /Applications/eclipse/test/workspace/.metadata/.plugins/org.eclipse.pde.core/New_configuration/org.eclipse.osgi/279/data/jettywork/pid_2006483008/proxytemp/hc_1946065192/org/apache/jsp/wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP_jsp.java
2017-10-03 14:19:06.631:WARN:oejs.HttpChannel:qtp47970113-190: /wse/wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP||PWC6199: Generated servlet error:|Only a type can be imported. sun.misc.BASE64Decoder resolves to a package||PWC6197: An error occurred at line: 27 in the jsp file: /wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp|PWC6199: Generated servlet error:|BASE64Decoder cannot be resolved to a type||PWC6197: An error occurred at line: 27 in the jsp file: /wsdl/actions/InvokeWSDLSOAPOperationFormActionJSP.jsp|PWC6199: Generated servlet error:|BASE64Decoder cannot be resolved to a type||
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)
	at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:155)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
	at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyServlet.service(HttpServiceRuntimeImpl.java:1223)
	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:148)
	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:62)
	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:131)
	at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:74)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:284)
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473)
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564)
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.eclipse.jetty.server.Server.handle(Server.java:564)
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:317)
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:110)
	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
	at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
	at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
	at java.base/java.lang.Thread.run(Thread.java:844)
Comment 1 Keith Chong CLA 2017-10-03 17:05:01 EDT
Created attachment 270810 [details]
Apply to org.eclipse.wst.ws.explorer, o.e.w.ws_ui.feature, and o.e.w.ws_sdk.feature
Comment 2 Keith Chong CLA 2017-10-03 17:23:36 EDT
Created attachment 270811 [details]
Apply to org.eclipse.wst.ws.explorer, o.e.w.ws_ui.feature, and o.e.w.ws_sdk.feature
Comment 3 Eclipse Genie CLA 2017-10-03 17:28:06 EDT
New Gerrit change created: https://git.eclipse.org/r/106168
Comment 5 Eclipse Genie CLA 2017-10-03 17:30:49 EDT
New Gerrit change created: https://git.eclipse.org/r/106169
Comment 6 Eclipse Genie CLA 2017-10-03 17:44:05 EDT
New Gerrit change created: https://git.eclipse.org/r/106172
Comment 7 Eclipse Genie CLA 2017-10-03 18:00:18 EDT
New Gerrit change created: https://git.eclipse.org/r/106174
Comment 9 Keith Chong CLA 2017-10-05 10:51:49 EDT
I verified using the M-3.9.1a-20171004113814 driver.

I can invoke the operation, and get the response with no issues.