@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
String path = req.getPathInfo();
- String uiName = path.substring(path.lastIndexOf('/') + 1);
+ String uiName = path != null ? path.substring(path.lastIndexOf('/') + 1) : "";
CmsRcpDisplayFactory.openCmsApp(eventAdmin, cmsApp, uiName);
logger.log(Level.DEBUG, "Opened RCP UI " + uiName + " of CMS App " + req.getServletPath());
}