wearefrank / ladybug-frontend

Frontend for Ladybug
Apache License 2.0
2 stars 7 forks source link

Page reload gives 500 – Internal Server Error #451

Closed jacodg closed 4 months ago

jacodg commented 4 months ago

When you start the test webapp and go to the new GUI from index.jsp (http://localhost/ladybug/debug) everything is OK but after page reload (F5) it gives:

` HTTP Status 500 – Internal Server Error

Type Exception Report

Message The requested resource [/webjars/wearefrank__ladybug/0.0.57/debug] is not available

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

Exception

java.io.FileNotFoundException: The requested resource [/webjars/wearefrank__ladybug/0.0.57/debug] is not available org.apache.catalina.servlets.DefaultServlet.serveResource(DefaultServlet.java:798) org.apache.catalina.servlets.DefaultServlet.doGet(DefaultServlet.java:507) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) org.apache.catalina.servlets.DefaultServlet.service(DefaultServlet.java:497) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) nl.nn.testtool.web.AngularServlet.includeWebJarAsset(AngularServlet.java:166) nl.nn.testtool.web.AngularServlet.doGet(AngularServlet.java:109) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564) jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

Note The full stack trace of the root cause is available in the server logs. Apache Tomcat/10.1.24 `

jacodg commented 4 months ago

https://github.com/wearefrank/ladybug/commit/bc2e374029eede6597c05d7e4b5d56502e06db21