MMBase

If x:parse is called before editwizards, then the editwizards don't work.

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.9.6
  • Component/s: Editwizards
  • Description:
    Hide
    java.lang.RuntimeException:

    java.lang.RuntimeException: Given xpath '//blocks' compiled to null
            at org.mmbase.applications.editwizard.Utils.getExpression(Utils.java:670)
            at org.mmbase.applications.editwizard.Utils.evaluateXPath(Utils.java:693)
            at org.mmbase.applications.editwizard.Utils.selectNodeList(Utils.java:736)
            at org.mmbase.applications.editwizard.Wizard.resolveIncludes(Wizard.java:1187)
            at org.mmbase.applications.editwizard.Wizard.loadSchema(Wizard.java:1153)
            at org.mmbase.applications.editwizard.Wizard.loadWizard(Wizard.java:417)
            at org.mmbase.applications.editwizard.Wizard.initialize(Wizard.java:227)
            at org.mmbase.applications.editwizard.Wizard.<init>(Wizard.java:181)
            at org.apache.jsp.mmbase.edit.wizard.jsp.list_jsp._jspService(list_jsp.java:596)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:68)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)


    This is caused by http://java.net/jira/browse/JSTL-1
    Show
    java.lang.RuntimeException: java.lang.RuntimeException: Given xpath '//blocks' compiled to null         at org.mmbase.applications.editwizard.Utils.getExpression(Utils.java:670)         at org.mmbase.applications.editwizard.Utils.evaluateXPath(Utils.java:693)         at org.mmbase.applications.editwizard.Utils.selectNodeList(Utils.java:736)         at org.mmbase.applications.editwizard.Wizard.resolveIncludes(Wizard.java:1187)         at org.mmbase.applications.editwizard.Wizard.loadSchema(Wizard.java:1153)         at org.mmbase.applications.editwizard.Wizard.loadWizard(Wizard.java:417)         at org.mmbase.applications.editwizard.Wizard.initialize(Wizard.java:227)         at org.mmbase.applications.editwizard.Wizard.<init>(Wizard.java:181)         at org.apache.jsp.mmbase.edit.wizard.jsp.list_jsp._jspService(list_jsp.java:596)         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:68)         at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) This is caused by http://java.net/jira/browse/JSTL-1

Activity

Repository Revision Date User Message
MMBase SVN #45018 Mon Jan 24 18:05:18 CET 2011 michiel horrible trick to work around http://java.net/jira/browse/JSTL-1. MMB-2018 (instantiate the xpathfactory as early as possible).
Files Changed
MODIFY /mmbase/branches/MMBase-1_9/applications/editwizard/src/main/java/org/mmbase/applications/editwizard/Utils.java
ADD /mmbase/branches/MMBase-1_9/applications/editwizard/src/main/config/eventmanager.xml
Repository Revision Date User Message
MMBase SVN #45019 Mon Jan 24 18:05:59 CET 2011 michiel horrible trick to work around http://java.net/jira/browse/JSTL-1. MMB-2018 (instantiate the xpathfactory as early as possible).
Files Changed
MODIFY /mmbase/trunk/applications/editwizard/documentation/frontenddevelopers/editwizard/reference.xml
MODIFY /mmbase/trunk/applications/editwizard/src/main/webapp/mmbase/components
MODIFY /mmbase/trunk/applications/editwizard/src/main/java/org/mmbase/applications/editwizard/Utils.java
ADD /mmbase/trunk/applications/editwizard/src/main/config/eventmanager.xml (from /mmbase/branches/MMBase-1_9/applications/editwizard/src/main/config/eventmanager.xml)
MODIFY /mmbase/trunk/applications/editwizard
MODIFY /mmbase/trunk/applications/editwizard/documentation/frontenddevelopers/editwizard/frontend.xml
MODIFY /mmbase/trunk/applications/editwizard/src/docbook
Hide
Michiel Meeuwissen added a comment - 2011-01-24 18:06
Added a trick to instantiate the xpathfactory as early as possible, so that it happens before the first use of x:parse.
Show
Michiel Meeuwissen added a comment - 2011-01-24 18:06 Added a trick to instantiate the xpathfactory as early as possible, so that it happens before the first use of x:parse.
Michiel Meeuwissen made changes - 2011-01-24 18:06
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Repository Revision Date User Message
MMBase SVN #45020 Mon Jan 24 18:15:41 CET 2011 michiel added a link to MMB-2018
Files Changed
MODIFY /mmbase/trunk/applications/editwizard/src/main/config/eventmanager.xml

People

Dates

  • Created:
    2011-01-24 18:03
    Updated:
    2011-01-24 18:06
    Resolved:
    2011-01-24 18:06