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

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by Gayathri Athreya,
  • 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.
    via by Gayathri Athreya,
  • Oviyam2 to query OsiriX without DCM4CHEE
    via by Jesse Wakley,
  • problem with spring-form.tld
    via by ramesh kancherla,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    treefolk
    treefolk6 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    28 more bugmates