You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/06/14 19:20:42 UTC
[jira] [Created] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Christian Schneider created ARIES-861:
-----------------------------------------
Summary: 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
Fix For: proxy.impl-0.4
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
[jira] [Resolved] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved ARIES-861.
-------------------------------
Resolution: Fixed
Vote started.
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Alexander Ellwein (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13396767#comment-13396767 ]
Alexander Ellwein commented on ARIES-861:
-----------------------------------------
We at Bosch SI are actually very interested in this fix asap, because we switched to a new jdk6 update 33. Is it possible to release the proxy with this workaround?
> 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
> Fix For: proxy.impl-0.4
>
>
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295253#comment-13295253 ]
Daniel Kulp commented on ARIES-861:
-----------------------------------
The problem stems from ProxySubclassAdapter where it creates the new constructor. The lines:
{code}
if (superclassBinaryName.startsWith("java.") || superclassBinaryName.startsWith("javax.")) {
methodAdapter.invokeConstructor(Type.getType(superclassClass), new Method("<init>",
Type.VOID_TYPE, NO_ARGS));
}
// otherwise invoke the java.lang.Object no args constructor
else {
methodAdapter.invokeConstructor(OBJECT_TYPE, new Method("<init>", Type.VOID_TYPE, NO_ARGS));
}
{code}
Apparently the new JDK is not allowing us to call the init method on the Object class directly in this case. Not sure why. If I replace all of that with just:
{code}
methodAdapter.invokeConstructor(Type.getType(superclassClass), new Method("<init>",
Type.VOID_TYPE, NO_ARGS));
{code}
to always call the superclass no-arg constructor, it works OK. However, that only works if there is a no-arg constructor. Not sure what the best fix is for all of this.
> 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
> Fix For: proxy.impl-0.4
>
>
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399076#comment-13399076 ]
Daniel Kulp commented on ARIES-861:
-----------------------------------
I've staged new versions of 0.3.1 and 0.4.1 to:
https://repository.apache.org/content/repositories/orgapachearies-264/
https://repository.apache.org/content/repositories/orgapachearies-265/
I'd appreciate some testing with it to make sure it works. I'll look more tomorrow before calling a vote.
> 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
> Fix For: proxy.impl-0.4
>
>
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399522#comment-13399522 ]
Holly Cummins commented on ARIES-861:
-------------------------------------
I'm seeing local test failures in the proxy tests running with r33, presumably for the cases that we just can't handle, even after this fix. Should we disable the tests, or hope that we can find a more clever long-term workaround, or ...? (I don't think we should leave the tests failing long term, since it makes it easy to inadvertently commit other test regressions.)
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13397841#comment-13397841 ]
Daniel Kulp commented on ARIES-861:
-----------------------------------
Alexander: it's on my todo list to port this back to the 3.x versions. I've been sidetracked with other issues at the moment, but will try to get to it real soon.
> 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
> Fix For: proxy.impl-0.4
>
>
> 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
[jira] [Assigned] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned ARIES-861:
---------------------------------
Assignee: Daniel Kulp
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295346#comment-13295346 ]
Christian Schneider commented on ARIES-861:
-------------------------------------------
I think we could test if there is a no args constructor and use it if it is there. So for older JDK versions it would work like before and for the current version there would have to be a no args constructor. We could add it to BlueprintCommand and it would work again.
Of course this is not the long term solution but I think it would help us till we find a better way.
> 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
> Fix For: proxy.impl-0.4
>
>
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400567#comment-13400567 ]
Daniel Kulp commented on ARIES-861:
-----------------------------------
Thanks Holly. That's likely the best fix.
> 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
[jira] [Updated] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp updated ARIES-861:
------------------------------
Fix Version/s: (was: proxy.impl-0.4)
proxy.impl-0.4.1
> 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
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399527#comment-13399527 ]
Daniel Kulp commented on ARIES-861:
-----------------------------------
Is it the testFinalConstructor test? I did stick an @Ignore on that on the fixes branches for that exact reason. So yea, disable it.
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ARIES-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400145#comment-13400145 ]
Holly Cummins commented on ARIES-861:
-------------------------------------
The testFinalConstructor test, and I'm also seeing failures in the proxy itests:
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.aries.proxy.itests.BasicProxyUberBundleTest
Tests run: 12, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 18.715 sec <<< FAILURE!
Running org.apache.aries.proxy.itests.BasicProxyBundlesTest
Tests run: 12, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 18.57 sec <<< FAILURE!
Running org.apache.aries.proxy.itests.WeavingProxyUberBundleTest
Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 11.91 sec <<< FAILURE!
Running org.apache.aries.proxy.itests.WeavingProxyBundlesTest
Tests run: 7, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 12.028 sec <<< FAILURE!
Results :
Tests in error:
testDelegation [equinox/3.7.0.v20110613](org.apache.aries.proxy.itests.WeavingProxyBundlesTest)
testInterception [equinox/3.7.0.v20110613](org.apache.aries.proxy.itests.WeavingProxyBundlesTest)
testDelegationAndInterception [equinox/3.7.0.v20110613](org.apache.aries.proxy.itests.WeavingProxyBundlesTest)
Tests run: 38, Failures: 0, Errors: 18, Skipped: 0
The failing tests in the WeavingProxyBundlesTest are actually tests in the superclass, so I assume they're failing because they're going through the 'classic' code rather than the weaving code. I don't know the code well enough to know if that's by design or something we should be worried about.
> 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
[jira] [Commented] (ARIES-861) Error on retrieving constructor for
proxy of karaf BlueprintCommand class on jdk 6 update 33
Posted by "Holly Cummins (JIRA)" <ji...@apache.org>.
[ 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