This group is locked. No changes can be made to the group while it is locked.
Re: [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT
Yang, Yi Y
Michal, thank you so much for pointing out this gbp workaround, I took some efforts to fix it, but finally I found it is an openflowjava issue :-)toggle quoted message Show quoted text
From: openflowjava-dev-bounces@... [mailto:openflowjava-dev-bounces@...] On Behalf Of Michal Polkoráb
Sent: Friday, October 09, 2015 3:28 PM
To: Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES at Cisco); Mahajani, Saket M; discuss@...
Subject: Re: [openflowjava-dev] [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT
there is already opened bug for this issue here: https://bugs.opendaylight.org/show_bug.cgi?id=4281.
Openflowjava yang files are hidden intentionally, because of API leak and related problems in DLUX project. The problem occurs if a project has dependency on OFjava (direct or indirect) and the project wants to have junit tests extending AbstractDataBrokerTest. Since more and more projects want to use this functionality, we probably have to find some solution in DLUX project.
In the meantime, one can use workaround similar to the one present in GBP project: https://git.opendaylight.org/gerrit/gitweb?p=groupbasedpolicy.git;a=blob;f=neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/test/GbpDataBrokerTest.java;h=70de32704cb86467bcd76e3f2c7c620c70b6fa96;hb=refs/heads/stable/lithium
From: Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES at Cisco) <ttkacik@...>
Sent: 09 October 2015 08:49
To: Mahajani, Saket M; discuss@...
Subject: Re: [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT
Hi, could you please open bug against openflowjava? Seems they are modifying their bundle manually to not include Yang models (and YangModelBindingPRovider class relies on yang model being resource, since they are both generated And packaged together by design).
From: discuss-bounces@... [mailto:discuss-bounces@...] On Behalf Of Mahajani, Saket M
Sent: Friday, October 09, 2015 12:43 AM
Subject: [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT
I came across this runtime error today on one of the openflowjava dependencies:
ERROR | bundle-tracker-0 | ModuleInfoBundleTracker | 110 - org.opendaylight.controller.config-manager - 0.4.0.SNAPSHOT | Failed to process bundleentry://241.fwk1700966106/META-INF/services/org.opendaylight.yangtools.yang.binding.YangModelBindingProvider for bundle org.opendaylight.openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT 
java.lang.IllegalStateException: Error while executing getModuleInfo on org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.$YangModelBindingProvider@20d3a056
Has anyone come across this today? Seems to be related to Yang tools but I'm not sure.
Discuss mailing list
Discuss mailing list
Sídlo / Mlynské Nivy 56 / 821 05 Bratislava / Slovakia R&D centrum / Janka Kráľa 9 / 974 01 Banská Bystrica / Slovakia
+421 918 378 907 / michal.polkorab@...
reception: +421 2 206 65 114 / www.pantheon.sk
openflowjava-dev mailing list