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
Michal Polkorab
Hello,
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 Regards, Michal Polkorab ________________________________________ From: Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES at Cisco) <ttkacik@...> Sent: 09 October 2015 08:49 To: Mahajani, Saket M; discuss@... Cc: openflowjava-dev@... 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). Tony -----Original Message----- From: discuss-bounces@... [mailto:discuss-bounces@...] On Behalf Of Mahajani, Saket M Sent: Friday, October 09, 2015 12:43 AM To: discuss@... Subject: [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT Hi guys, 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 [241] 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. Thanks, Saket Mahajani _______________________________________________ Discuss mailing list Discuss@... https://lists.opendaylight.org/mailman/listinfo/discuss _______________________________________________ Discuss mailing list Discuss@... https://lists.opendaylight.org/mailman/listinfo/discuss MichalPolkoráb Software Developer 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 [logo] |