[CONTROLLER-1540] UnableToProxyException java.lang.ClassFormatError Duplicate interface name in class file Created: 24/Aug/16 Updated: 25/Jul/23 Resolved: 08/Jun/17 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | config |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Michael Vorburger | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 6526 | ||||||||
| Description |
|
Karaf log often has a log of these - I wonder if we could fix this: 2016-08-24 13:11:51,827 | INFO | erRestartService | ServiceRecipe | 15 - org.apache.aries.blueprint.core - 1.6.1 | Unable to create a proxy object for the service .component-1 defined in bundle org.opendaylight.controller.sal-binding-broker-impl/1.5.0.SNAPSHOT with id. Returning the original object instead. |
| Comments |
| Comment by Vratko Polak [ 24/Aug/16 ] |
|
Thanks for opening this, it is bugging me too. |
| Comment by Michael Vorburger [ 26/Aug/16 ] |
|
On Wed, Aug 24, 2016 at 5:41 PM, Tom Pantelis <tpanteli@brocade.com> wrote: I would suggest to set a breakpoint in ServiceRecipe line 569 to see what ODL interface it's trying to proxy. I'd do ti but I'm not seeing it. |
| Comment by Brady Johnson [ 30/Aug/16 ] |
|
This can easily be reproduced with the boron RC2 distribution by installing the following karaf feature: feature:install odl-sfc-openflow-renderer I'll try to debug this tomorrow as Tom suggests in the previous comment. |
| Comment by Geng Xingyuan [ 25/Oct/16 ] |
|
How about this problem? |
| Comment by Vratko Polak [ 10/Mar/17 ] |
|
This really slows down examination of SingleFeatureTest surefire outputs. |
| Comment by suneel verma [ 04/Apr/17 ] |
|
This is observed with carbon builds as well. 11940 org.apache.aries.proxy.UnableToProxyException: java.lang.ClassFormatError: Duplicate interface name in class file Proxy10c0bace_02be_4d24_9999_78ebaf478792 |
| Comment by Colin Dixon [ 06/May/17 ] |
|
I've also seen this. I had assumed it was harmless, but it would be good to understand if that's true and also try to fix it. |
| Comment by Colin Dixon [ 06/May/17 ] |
|
Also, for what it's worth, this occurs in Karaf 3, so it's not a Karaf 4 issue. |
| Comment by Tom Pantelis [ 06/May/17 ] |
|
It is benign - that's why it's INFO. I've looked at the code in the past. Basically when advertising a service, it tries to create a proxy for use by the Aries Quiesce stuff but seems to fail randomly on certain interfaces. On failure, it bails and just returns the original object (hence the message "Returning the original object instead"). It's a bug in the Aries proxy lib. If it doesn't happen in karaf 4 then it's been fixed. |
| Comment by Michael Vorburger [ 08/Jun/17 ] |
|
> this occurs in Karaf 3, so it's not a Karaf 4 issue. I can hereby confirm that this problem does not occur in the logs of Karaf 4 distributions (e.g. in netvirt/vpnservice/distribution/karaf/target/assembly built with https://git.opendaylight.org/gerrit/#/c/55160/), whereas it still is seen on Karaf 3. With the current plan of switching completely to Karaf 4 (only) during Nitrogen, I therefore suggest that we close this as RESOLVED WONTFIX at this point, because it soon won't occur anymore on future Nitrogen distributions (once we're all on Karaf 4, which as of right now we're not). Should plans change unexpectedly, then we can always re-open this. |
| Comment by Michael Vorburger [ 08/Jun/17 ] |
|
> does not occur in the logs of Karaf 4 distributions or does it?! |