[
https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400563#comment-13400563
]
Holly Cummins commented on ARIES-861:
-------------------------------------
I've tracked down the test failures to the fact that the class we were trying
to to a delegation proxy for had no no-args constructor. There's not much to be
done in that case on the newer VMs, so I've just weakened the test by adding a
no-args constructor. I've also @Ignored the failing test in proxy-impl.
> Error on retrieving constructor for proxy of karaf BlueprintCommand class on
> jdk 6 update 33
> --------------------------------------------------------------------------------------------
>
> Key: ARIES-861
> URL: https://issues.apache.org/jira/browse/ARIES-861
> Project: Aries
> Issue Type: Bug
> Components: Proxy
> Reporter: Christian Schneider
> Assignee: Daniel Kulp
> Fix For: proxy.impl-0.4.1
>
>
> When I switch my karaf trunk snapshot from jdk 6 update 31 to update 33 all
> karaf commands stop working.
> I was able to track this down to blueprint and the proxy facility or aries.
> The exception I get is:
> org.osgi.framework.ServiceException: Service factory exception: (class:
> org/apache/karaf/shell/console/commands/$BlueprintCommand16496117, method:
> <init> signature: (Ljava/lang/reflect/InvocationHandler;)V) Call to wrong
> initialization method
> In the log this does not show. There I only get a Nullpointer exception as
> the service object for the command is returned as null.
> I have documented more details in the linked karaf issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira