MassBank / MassBank-web

The web server application and directly connected components for a MassBank web server
14 stars 22 forks source link

MassBank.eu reports 500 server error #202

Closed nilshoffmann closed 4 years ago

nilshoffmann commented 4 years ago

Clicking on the following link

https://massbank.eu/MassBank/Search

Returns the following error message:

HTTP Status 500 – Internal Server Error

Type Exception Report

Message Cannot obtain Instrument Information from DB

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: Cannot obtain Instrument Information from DB
    massbank.Search.doGet(Search.java:57)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

java.lang.NullPointerException
    massbank.DatabaseManager.<init>(DatabaseManager.java:219)
    massbank.web.SearchExecution.<init>(SearchExecution.java:18)
    massbank.GetInstInfo.<init>(GetInstInfo.java:60)
    massbank.Search.doGet(Search.java:47)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/8.5.39 (Ubuntu)

Navigating to https://massbank.eu/MassBank/RecordIndex returns the following error:

HTTP Status 500 – Internal Server Error

Type Exception Report

Message Error preparing record index

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: Error preparing record index
    massbank.RecordIndex.doGet(RecordIndex.java:66)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Root Cause

java.lang.NullPointerException
    massbank.DatabaseManager.<init>(DatabaseManager.java:219)
    massbank.web.SearchExecution.<init>(SearchExecution.java:18)
    massbank.RecordIndex.doGet(RecordIndex.java:49)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
    org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

Note The full stack trace of the root cause is available in the server logs.
Apache Tomcat/8.5.39 (Ubuntu)
sneumann commented 4 years ago

Hi, yes indeed, there is a system update in progress. You can use the development server https://msbi.ipb-halle.de/MassBank/ in the meantime. Yours, Steffen

tsufz commented 4 years ago

MassBank EU is alive again.