[ 
https://issues.apache.org/jira/browse/JCR-4305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Manfred Baedke resolved JCR-4305.
---------------------------------
    Resolution: Fixed

> jackrabbit-standalone JSP does not work with Java 10
> ----------------------------------------------------
>
>                 Key: JCR-4305
>                 URL: https://issues.apache.org/jira/browse/JCR-4305
>             Project: Jackrabbit Content Repository
>          Issue Type: Sub-task
>          Components: jackrabbit-standalone
>            Reporter: Julian Reschke
>            Assignee: Manfred Baedke
>            Priority: Major
>
> I get:
> {noformat}
> HTTP ERROR 500
> Problem accessing /. Reason:
>     Server Error
> Caused by:
> org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
>       at 
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:634)
>       at 
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
>       at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
>       at 
> org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:103)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>       at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)
>       at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)
>       at 
> org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:588)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>       at 
> org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>       at org.eclipse.jetty.server.Server.handle(Server.java:499)
>       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
>       at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
>       at 
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>       at java.base/java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.NullPointerException
>       at java.compiler@10/javax.tools.ToolProvider.lambda$matches$0(Unknown 
> Source)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at java.compiler@10/javax.tools.ToolProvider.matches(Unknown Source)
>       at java.compiler@10/javax.tools.ToolProvider.getSystemTool(Unknown 
> Source)
>       at 
> java.compiler@10/javax.tools.ToolProvider.getSystemJavaCompiler(Unknown 
> Source)
>       at 
> org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:206)
>       at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:384)
>       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
>       at 
> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
>       ... 40 more
> Caused by:
> java.lang.NullPointerException
>       at java.compiler@10/javax.tools.ToolProvider.lambda$matches$0(Unknown 
> Source)
>       at java.base/java.security.AccessController.doPrivileged(Native Method)
>       at java.compiler@10/javax.tools.ToolProvider.matches(Unknown Source)
>       at java.compiler@10/javax.tools.ToolProvider.getSystemTool(Unknown 
> Source)
>       at 
> java.compiler@10/javax.tools.ToolProvider.getSystemJavaCompiler(Unknown 
> Source)
>       at 
> org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:206)
>       at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:384)
>       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:375)
>       at 
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
>       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
>       at 
> org.eclipse.jetty.jsp.JettyJspServlet.service(JettyJspServlet.java:103)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:595)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>       at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:191)
>       at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:72)
>       at 
> org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:588)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>       at 
> org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
>       at org.eclipse.jetty.server.Server.handle(Server.java:499)
>       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
>       at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:258)
>       at 
> org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
>       at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
>       at java.base/java.lang.Thread.run(Unknown Source)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to