Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14055

Swallowed exception in TreeSelectionChangeListenerHandler

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.3.7, 4.5.5
    • Fix Version/s: 4.5-Tracking
    • Component/s: cdk
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      When selecting a node in a tree using a TreeSelectionChangeListener and an exception is thrown, the exception is not brought up the the user since it is swallowed during the processing of the event.

      Show
      When selecting a node in a tree using a TreeSelectionChangeListener and an exception is thrown, the exception is not brought up the the user since it is swallowed during the processing of the event.
    • Estimated Difficulty:
      Low

      Description

      An exception is swallowed in the org.richfaces.view.facelets.TreeSelectionChangeListenerHandler$MethodExpressionListener.processTreeSelectionChange.

      On line ~90, you can see:

      try {
          methodExpression.invoke(elContext, new Object[] { actionEvent });
      } catch (Exception e) {
          new AbortProcessingException(e);
      }
      

      A "throw" is missing before "new AbortProcessingException(e);"

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                geemorin2 Guillaume Morin-Brassard
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: