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


Tony Tkacik
 

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


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]


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

-----Original Message-----
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@...
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT

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]


_______________________________________________
openflowjava-dev mailing list
openflowjava-dev@...
https://lists.opendaylight.org/mailman/listinfo/openflowjava-dev


Michal Polkorab
 

Hello,

this problem should have been fixed by https://git.opendaylight.org/gerrit/#/c/27172 . Additional workaround is no longer needed.

Regards,
Michal Polkorab
________________________________________
From: Yang, Yi Y <yi.y.yang@...>
Sent: 09 October 2015 09:47
To: Michal Polkoráb; Tony Tkacik -X (ttkacik - PANTHEON TECHNOLOGIES at Cisco); Mahajani, Saket M; discuss@...
Cc: openflowjava-dev@...
Subject: RE: [openflowjava-dev] [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT

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

-----Original Message-----
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@...
Cc: openflowjava-dev@...
Subject: Re: [openflowjava-dev] [OpenDaylight Discuss] Run time error for bundle openflowjava.openflow-protocol-api_0.7.0.SNAPSHOT

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]


_______________________________________________
openflowjava-dev mailing list
openflowjava-dev@...
https://lists.opendaylight.org/mailman/listinfo/openflowjava-dev
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]