Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2421

VerifyError when adding advice to method with Error or RuntimeException in throws signature

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4
    • Component/s: plastic, tapestry-core
    • Labels:
      None

      Description

      I have annotated a method in a page class with @Operation. When the method is called, a VerifyError is thrown:

      2014-11-24 13:19:46,685 [ajp-nio-9209-exec-33] ERROR o.a.t.m.T.RequestExceptionHandler - Processing of request failed with uncaught exception: java.lang.VerifyError: (class: pages/PageName$Invocation_methodName_1d10f8d1d549bc, method: proceedToAdvisedMethod signature: ()V) Incompatible argument to function
      

      .
      The problem occurs with Java 7 as well as with Java 8 and regardless of whether the operation description contains a % or not.
      Unfortunately, I cannot reproduce the problem on a different machine.
      If I use OperationTracker "manually", no VerifyError is thrown.
      The advised method throws multiple checked exceptions and an Error.
      I'm not entirely sure what the error means, but I assume, the proceedToAdvisedMethod method is invoked with parameters, so it might be an issue with plastic rather than with tapestry-core.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              jkemnade Jochen Kemnade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: