Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-554

org.jboss.weld.context.NonexistentConversationException can't be catched by a rule in web.xml

    Details

    • Steps to Reproduce:
      Hide

      Let's say that page http://localhost:8080/test6/faces/index.xhtml?cid=1 can be rendered. If conversation time out and user tries to access page again, error page occures with following message:

      XML Parsing Error: no element found
      Location: http://localhost:8080/test6/faces/index.xhtml?cid=3
      Line Number 1, Column 1:

      even if rule for exception exists in web.xml

      <error-page>
      <exception-type>org.jboss.weld.context.NonexistentConversationException</exception-type>
      <location>/faces/error.xhtml</location>
      </error-page>

      Same error occures if user change url manualy by changing cid number to non existing.

      Show
      Let's say that page http://localhost:8080/test6/faces/index.xhtml?cid=1 can be rendered. If conversation time out and user tries to access page again, error page occures with following message: XML Parsing Error: no element found Location: http://localhost:8080/test6/faces/index.xhtml?cid=3 Line Number 1, Column 1: even if rule for exception exists in web.xml <error-page> <exception-type>org.jboss.weld.context.NonexistentConversationException</exception-type> <location>/faces/error.xhtml</location> </error-page> Same error occures if user change url manualy by changing cid number to non existing.
    • Estimated Difficulty:
      Low

      Description

      org.jboss.weld.context.NonexistentConversationException can't be catched by a rule in web.xml. Let's say that page http://localhost:8080/test6/faces/index.xhtml?cid=1 can be rendered. If conversation time out and user tries to access page again, error page occures with following message:

      XML Parsing Error: no element found
      Location: http://localhost:8080/test6/faces/index.xhtml?cid=3
      Line Number 1, Column 1:

      even if rule for exception exists in web.xml

      <error-page>
      <exception-type>org.jboss.weld.context.NonexistentConversationException</exception-type>
      <location>/faces/error.xhtml</location>
      </error-page>

      Same error occures if user change url manualy by changing cid number to non existing.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pmuir Pete Muir
                Reporter:
                nikolafon NIkola Nikolic
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: