org.apache.jasper.JasperException: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified

Kuali JIRA | Gayathri Athreya | 4 years ago
  1. 0

    On clicking the quartz link in the system admin tab, it throws a stack trace {code} Problem accessing /kr-dev/ksb/Quartz.do. Reason: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified Caused by: org.apache.jasper.JasperException: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:201) at org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1590) at org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:164) at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235) at org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:302) at org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:95) at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235) at org.apache.jasper.compiler.Validator$ValidateVisitor.validateFunctions(Validator.java:1613) at org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1356) at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1133) {code} The issue is with this line of code in the Quartz.jsp file {code} <c:when test="${not empty result.jobDetail.jobDataMap.get(MessageServiceExecutorJob.MESSAGE_KEY)}"> {code} I believe this type of accessing the hashMap is only valid with EL 2.2 or Servlet 3.0 containers like Tomcat 7. If this code is changed to {code} <c:when test="${not empty result.jobDetail.jobDataMap[MessageServiceExecutorJob.MESSAGE_KEY]}" /> {code} it fixes the issue.I could not reproduce this on the rice environments since they run Tomcat 7. Please let me know if there is something else going on that I need to fix on my end.

    Kuali JIRA | 4 years ago | Gayathri Athreya
    org.apache.jasper.JasperException: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified
  2. 0

    On clicking the quartz link in the system admin tab, it throws a stack trace {code} Problem accessing /kr-dev/ksb/Quartz.do. Reason: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified Caused by: org.apache.jasper.JasperException: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:201) at org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1590) at org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:164) at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235) at org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:302) at org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:95) at org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235) at org.apache.jasper.compiler.Validator$ValidateVisitor.validateFunctions(Validator.java:1613) at org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1356) at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1133) {code} The issue is with this line of code in the Quartz.jsp file {code} <c:when test="${not empty result.jobDetail.jobDataMap.get(MessageServiceExecutorJob.MESSAGE_KEY)}"> {code} I believe this type of accessing the hashMap is only valid with EL 2.2 or Servlet 3.0 containers like Tomcat 7. If this code is changed to {code} <c:when test="${not empty result.jobDetail.jobDataMap[MessageServiceExecutorJob.MESSAGE_KEY]}" /> {code} it fixes the issue.I could not reproduce this on the rice environments since they run Tomcat 7. Please let me know if there is something else going on that I need to fix on my end.

    Kuali JIRA | 4 years ago | Gayathri Athreya
    org.apache.jasper.JasperException: /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified
  3. 0

    Thinking In Software: Tomcat 7 JSTL Failed to parse the expression

    blogspot.com | 7 months ago
    org.apache.jasper.JasperException: /WEB-INF/jsp/workflow/processTaskInstance/list.jsp (line: 55, column: 20) "${serviceAgreementTypeNames.contains(processTaskInstanceDto.processDefinitionName)}" contains invalid expression(s): javax.el.ELException: Failed to parse the expression [${serviceAgreementTypeNames.contains(processTaskInstanceDto.processDefinitionName)}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Some problems with Struts-mailreader

    struts-user | 1 year ago | Chris
    org.apache.jasper.JasperException: /WEB-INF/jsp/Welcome.jsp (line: 26, column: 8) L'attribut id est incorrect pour le tag url d'après la TLD indiquée
  6. 0

    I am facing problem when running my project in jetty server but same is running in tomcat6.0.

    YouTrack | 4 years ago
    org.apache.tiles.impl.CannotRenderException: ServletException including path '/WEB-INF/tiles/layout.jsp'.

    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

      /ksb/WEB-INF/jsp/messagequeue/Quartz.jsp(77,11) PWC6296: The function get must be used with a prefix when a default namespace is not specified

      at org.apache.jasper.compiler.DefaultErrorHandler.jspError()
    2. GWT dev
      Validator$ValidateVisitor.checkXmlAttributes
      1. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:78)
      2. org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:373)
      3. org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:201)
      4. org.apache.jasper.compiler.Validator$ValidateVisitor$1FVVisitor.visit(Validator.java:1590)
      5. org.apache.jasper.compiler.ELNode$Function.accept(ELNode.java:164)
      6. org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235)
      7. org.apache.jasper.compiler.ELNode$Visitor.visit(ELNode.java:302)
      8. org.apache.jasper.compiler.ELNode$Root.accept(ELNode.java:95)
      9. org.apache.jasper.compiler.ELNode$Nodes.visit(ELNode.java:235)
      10. org.apache.jasper.compiler.Validator$ValidateVisitor.validateFunctions(Validator.java:1613)
      11. org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1356)
      12. org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1133)
      12 frames