Scout24 / yum-repo-server

Server to host and manage yum repositories via REST API
GNU General Public License v3.0
114 stars 19 forks source link

NullPointerException in maintenance view (using jetty container) #42

Closed oli99sc closed 10 years ago

oli99sc commented 10 years ago

When accessing the maintenance view a 500er error is returned

Caused by: java.lang.NullPointerException
at org.apache.jsp.WEB_002dINF.jsp.maintenanceOptions_jsp._jspx_meth_c_if_0(maintenanceOptions_jsp.java:194)
at org.apache.jsp.WEB_002dINF.jsp.maintenanceOptions_jsp._jspService(maintenanceOptions_jsp.java:89)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
visibilityspots commented 10 years ago

Using jetty this potential fix is working fine. The error 500 is no more when I access the maintenance page!

Again many thanks!

oli99sc commented 10 years ago

Was a pleasure! Hope yum-repo-server works for you as it does for us.