tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2421) VerifyError when adding advice to method with Error or RuntimeException in throws signature
Date Mon, 01 Jun 2015 23:35:18 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568224#comment-14568224

Hudson commented on TAP5-2421:

ABORTED: Integrated in tapestry-trunk-freestyle #1438 (See [https://builds.apache.org/job/tapestry-trunk-freestyle/1438/])
TAP5-2421: VerifyError for methods that are advised and have Errors and RuntimeExceptions
in the method signature (hlship: rev 1dbcb377e5401abc38bf0e31255da6b83edc4b6f)
* plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticClassPool.java
* plastic/src/test/java/testsubjects/DeclaredExceptions.java
* plastic/src/test/groovy/org/apache/tapestry5/plastic/MethodAdviceTests.groovy
* plastic/src/main/java/org/apache/tapestry5/internal/plastic/MethodAdviceManager.java

> VerifyError when adding advice to method with Error or RuntimeException in throws signature
> -------------------------------------------------------------------------------------------
>                 Key: TAP5-2421
>                 URL: https://issues.apache.org/jira/browse/TAP5-2421
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: plastic, tapestry-core
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Assignee: Howard M. Lewis Ship
>             Fix For: 5.4
> I have annotated a method in a page class with {{@Operation}}. When the method is called,
a {{VerifyError}} is thrown:
> {code}
> 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
> {code}.
> 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.

This message was sent by Atlassian JIRA

View raw message