Re: [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT

Michal Polkorab


there is already opened bug for this issue here:
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:;a=blob;f=neutron-mapper/src/test/java/org/opendaylight/groupbasedpolicy/neutron/mapper/test/;h=70de32704cb86467bcd76e3f2c7c620c70b6fa96;hb=refs/heads/stable/lithium

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).


-----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.

Saket Mahajani
Discuss mailing list
Discuss mailing list
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 /


Join to automatically receive all group messages.