org.apache.jasper.JasperException

Unable to compile class for JSP: An error occurred at line: 39 in the jsp file: /decorators/admin.jsp Type mismatch: cannot convert from Object to ReindexMessageManager 36: HttpSession httpSession = request.getSession(false); //dont create the session if there isnt one 37: User remoteUser = httpSession != null ? (User) httpSession.getAttribute(DefaultAuthenticator.LOGGED_IN_KEY) : null; 38: 39: ReindexMessageManager reindexMessageManager = ComponentManager.getComponentInstanceOfType(ReindexMessageManager.class); 40: final String message = reindexMessageManager.getMessage(remoteUser); 41: if (!StringUtils.isBlank(message)) 42: { Stacktrace:

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1724

  • via Unknown by Bogdan Dziedzic [Atlassian],
  • via Unknown by Bogdan Dziedzic [Atlassian],
  • Stack trace

    • org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 39 in the jsp file: /decorators/admin.jsp Type mismatch: cannot convert from Object to ReindexMessageManager 36: HttpSession httpSession = request.getSession(false); //dont create the session if there isnt one 37: User remoteUser = httpSession != null ? (User) httpSession.getAttribute(DefaultAuthenticator.LOGGED_IN_KEY) : null; 38: 39: ReindexMessageManager reindexMessageManager = ComponentManager.getComponentInstanceOfType(ReindexMessageManager.class); 40: final String message = reindexMessageManager.getMessage(remoteUser); 41: if (!StringUtils.isBlank(message)) 42: { Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:415) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    73 more bugmates