org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) Stack Trace: [hide] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace:

Atlassian JIRA | Gurleen Anand [Atlassian] | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Migration script for LDAP integration uses JDK 1.5 API method "parseBoolean", which is not a part of JDK 1.4 and hence results in the following error upon migration, when used with JDK 1.4: {noformat} Cause: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) Stack Trace: [hide] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:534) {noformat} The JSP has to be fixed to make it compatible with both JDK 1.4 and 1.5.

    Atlassian JIRA | 10 years ago | Gurleen Anand [Atlassian]
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) Stack Trace: [hide] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace:
  2. 0

    Migration script for LDAP integration uses JDK 1.5 API method "parseBoolean", which is not a part of JDK 1.4 and hence results in the following error upon migration, when used with JDK 1.4: {noformat} Cause: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) Stack Trace: [hide] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:298) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:534) {noformat} The JSP has to be fixed to make it compatible with both JDK 1.4 and 1.5.

    Atlassian JIRA | 10 years ago | Gurleen Anand [Atlassian]
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) Stack Trace: [hide] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace:
  3. 0

    Error compiling JSP on tomcat8 and java8

    Stack Overflow | 2 years ago | user1247412
    org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [768] in the generated java file: [/opt/tomcat/book_store/work/Catalina/localhost/bookStore/org/apache/jsp/WEB_002dINF/jsp/select_005fparameters_jsp.java] bookData cannot be resolved to a variable Stacktrace:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ERROR : java.lang.StackOverflowError - Forums | Liferay

    liferay.com | 1 year ago
    org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.StackOverflowError
  6. 0

    GitHub comment 13#187732813

    GitHub | 1 year ago | i5513
    org.apache.jasper.JasperException: No se puede compilar la clase para JSP: Ha tenido lugar un error en la línea: [1] en el fichero java generado: [/usr/share/tomcat/work/Catalina/localhost/GrokConstructor/org/apache/jsp/jsp/frame_jsp.java] The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files Stacktrace:
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.jasper.JasperException

    Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85) Stack Trace: [hide] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 53 in the jsp file: /admin/osuser2atluser.jsp The method parseBoolean(String) is undefined for the type Boolean 50: <% 51: } 52: EntityMigrator migrator = null; 53: boolean migrateGroupMembershipForLdapUsers = Boolean.parseBoolean(request.getParameter("transferGroupMembership")); 54: try 55: { 56: migrator = (EntityMigrator) ContainerManager.getComponent("osuserMigrationBean"); Stacktrace:

    at org.apache.jasper.compiler.DefaultErrorHandler.javacError()
  2. GWT dev
    JspServlet.service
    1. org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:85)
    2. org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
    3. org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:435)
    4. org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
    5. org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
    6. org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
    7. org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
    8. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
    9. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
    10. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    10 frames
  3. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    1 frame
  4. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  5. com.atlassian.confluence
    LoggingContextFilter.doFilter
    1. com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46)
    1 frame
  6. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  7. com.atlassian.seraph
    SecurityFilter.doFilter
    1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:182)
    1 frame
  8. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  9. com.atlassian.seraph
    LoginFilter.doFilter
    1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:159)
    1 frame
  10. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  11. com.atlassian.confluence
    ClusterHeaderFilter.doFilter
    1. com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35)
    1 frame
  12. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  13. com.atlassian.johnson
    JohnsonFilter.doFilter
    1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:96)
    1 frame
  14. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    2 frames
  15. com.atlassian.core
    GzipFilter.doFilter
    1. com.atlassian.core.filters.gzip.GzipFilter.doFilter(GzipFilter.java:61)
    1 frame
  16. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    8 frames
  17. Grizzly HTTP
    LeaderFollowerWorkerThread.runIt
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
    2. org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    3. org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    4. org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    4 frames
  18. Tomcat Util
    ThreadPool$ControlRunnable.run
    1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
    1 frame
  19. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:534)
    1 frame