Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-7813

Unable to open Help page in macOS M1 when JMC started with JDK11

XMLWordPrintable

      We have a known issue with respect to the Help page if JMC is booted up with JDK 17 or higher ( JMC-7321 )

      But on all other platforms, the JMC Help page is accessible if it's started with JDK 11.

      But the help page is inaccessible with the following error on macOS M1 when JMC is run on JDK 11.0.16

       

      HTTP ERROR 500 org.apache.jasper.JasperException: PWC6344: Unable to create output writer for file /Users/jmcsqe/Documents/JMC/8.2.1/jmc-8.2.1_aarch64/JDK Mission Control.app/Contents/Eclipse/configuration/org.eclipse.osgi/189/data/jettywork/pid_2070971114/proxytemp/org_eclipse_equinox_http_registry_internal_DefaultRegistryHttpContext-0/hc_1264647964/org/apache/jsp/index_jsp.javaURI:	/help/index.jsp
      STATUS:	500
      MESSAGE:	org.apache.jasper.JasperException: PWC6344: Unable to create output writer for file /Users/jmcsqe/Documents/JMC/8.2.1/jmc-8.2.1_aarch64/JDK Mission Control.app/Contents/Eclipse/configuration/org.eclipse.osgi/189/data/jettywork/pid_2070971114/proxytemp/org_eclipse_equinox_http_registry_internal_DefaultRegistryHttpContext-0/hc_1264647964/org/apache/jsp/index_jsp.java
      SERVLET:	org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-1b22ed9
      CAUSED BY:	org.apache.jasper.JasperException: PWC6344: Unable to create output writer for file /Users/jmcsqe/Documents/JMC/8.2.1/jmc-8.2.1_aarch64/JDK Mission Control.app/Contents/Eclipse/configuration/org.eclipse.osgi/189/data/jettywork/pid_2070971114/proxytemp/org_eclipse_equinox_http_registry_internal_DefaultRegistryHttpContext-0/hc_1264647964/org/apache/jsp/index_jsp.java
      CAUSED BY:	java.io.FileNotFoundException: /Users/jmcsqe/Documents/JMC/8.2.1/jmc-8.2.1_aarch64/JDK Mission Control.app/Contents/Eclipse/configuration/org.eclipse.osgi/189/data/jettywork/pid_2070971114/proxytemp/org_eclipse_equinox_http_registry_internal_DefaultRegistryHttpContext-0/hc_1264647964/org/apache/jsp/index_jsp.java (No such file or directory)
      Caused by:org.apache.jasper.JasperException: PWC6344: Unable to create output writer for file /Users/jmcsqe/Documents/JMC/8.2.1/jmc-8.2.1_aarch64/JDK Mission Control.app/Contents/Eclipse/configuration/org.eclipse.osgi/189/data/jettywork/pid_2070971114/proxytemp/org_eclipse_equinox_http_registry_internal_DefaultRegistryHttpContext-0/hc_1264647964/org/apache/jsp/index_jsp.java
      	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:92)
      	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:378)
      	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:229)
      	at org.apache.jasper.compiler.JDTJavaCompiler.getJavaWriter(JDTJavaCompiler.java:146)
      	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:201)
      	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
      	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:584)
      	at org.eclipse.equinox.jsp.jasper.JspServlet.service(JspServlet.java:164)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
      	at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:183)
      	at org.eclipse.equinox.http.servlet.internal.HttpServiceRuntimeImpl$LegacyServlet.service(HttpServiceRuntimeImpl.java:1457)
      	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:159)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:67)
      	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:118)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.dispatch(ProxyServlet.java:147)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.preprocess(ProxyServlet.java:115)
      	at org.eclipse.equinox.http.servlet.internal.servlet.ProxyServlet.service(ProxyServlet.java:104)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:584)
      	at org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet.service(HttpServerManager.java:308)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:508)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1571)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1378)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:463)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1544)
      	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1300)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
      	at org.eclipse.jetty.server.Server.handle(Server.java:562)
      	at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:418)
      	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:675)
      	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:410)
      	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
      	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
      	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
      	at org.eclipse.jetty.io.SocketChannelEndPoint$1.run(SocketChannelEndPoint.java:101)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
      	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
      	at java.base/java.lang.Thread.run(Thread.java:1585)
      Caused by: java.io.FileNotFoundException: /Users/jmcsqe/Documents/JMC/8.2.1/jmc-8.2.1_aarch64/JDK Mission Control.app/Contents/Eclipse/configuration/org.eclipse.osgi/189/data/jettywork/pid_2070971114/proxytemp/org_eclipse_equinox_http_registry_internal_DefaultRegistryHttpContext-0/hc_1264647964/org/apache/jsp/index_jsp.java (No such file or directory)
      	at java.base/java.io.FileOutputStream.open0(Native Method)
      	at java.base/java.io.FileOutputStream.open(FileOutputStream.java:295)
      	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:236)
      	at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:124)
      	at org.apache.jasper.compiler.JDTJavaCompiler.getJavaWriter(JDTJavaCompiler.java:140)
      

            vpurnam Virag Purnam
            bbanathur Bipin Banathur
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: