Hi Michael,

I removed dependency on NotificationService and removed it also from 
newInstance arguments, because we was not using it anywhere anymore. Fix is 
possibly to just remove notificationService from your arguments if you are 
passing it there somehow, because from logs it looks like that is the case.

Regards,
Tomas
________________________________________
Od: Jozef Bacigál [[email protected]]
Odoslané: pondelok, 12. júna 2017 12:15
Komu: Michael Vorburger; openflowplugin-dev
Predmet: Re: [openflowplugin-dev] Blueprint ComponentDefinitionException: 
Unable to find a matching factory method newInstance on class

Hi Michael,


probably related the openflowPluginProvider bean change.


Check this.


https://git.opendaylight.org/gerrit/#/c/58260/3


Jozef



________________________________
Od: Michael Vorburger <[email protected]>
Odoslané: pondelok, 12. júna 2017 11:50:29
Komu: openflowplugin-dev
Predmet: [openflowplugin-dev] Blueprint ComponentDefinitionException: Unable to 
find a matching factory method newInstance on class

Hi OpenFlowPlugin devs,

I'm seeing SingleFeatureTest fail e.g. in genius/features/genius-features 
master  in local builds today (this still worked on Friday, I think) for what 
look likes some OpenFlowPlugin related Blueprint wiring issue... are you 
already aware of this:

[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ genius-features 
---
[INFO] Surefire report directory: 
/home/vorburger/dev/ODL/git/genius/features/genius-features/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.opendaylight.odlparent.featuretest.SingleFeatureTest
Tests run: 6, Failures: 5, Errors: 0, Skipped: 0, Time elapsed: 259.672 sec <<< 
FAILURE! - in org.opendaylight.odlparent.featuretest.SingleFeatureTest
installFeature(org.opendaylight.odlparent.featuretest.SingleFeatureTest)[repoUrl:
 
file:/home/vorburger/dev/ODL/git/genius/features/genius-features/target/classes/features.xml,
 Feature: odl-genius-api 0.3.0-SNAPSHOT]  Time elapsed: 42.419 sec  <<< FAILURE!
java.lang.AssertionError: diag: Failure {Installed=0, Resolved=4, Unknown=0, 
GracePeriod=1, Waiting=0, Starting=0, Active=320, Stopping=0, Failure=1}
1. NOK org.opendaylight.openflowplugin.extension-onf: OSGi state = Active, 
Karaf bundleState = GracePeriod, due to: Blueprint
12/6/17 10:44 AM
Missing dependencies:
(objectClass=org.opendaylight.openflowplugin.extension.api.OpenFlowPluginExtensionRegistratorProvider)

2. NOK org.opendaylight.openflowplugin.blueprint-config: OSGi state = Active, 
Karaf bundleState = Failure, due to: Blueprint
12/6/17 10:44 AM
Exception:
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to 
find a matching factory method newInstance on class 
Proxyacb7b2a2_b660_4694_9be9_bc1272b18499 for arguments 
[OpenflowProviderConfig{getBarrierCountLimit=NonZeroUint16Type [_value=25600], 
getBarrierIntervalTimeoutLimit=NonZeroUint32Type [_value=500], 
getBasicTimerDelay=NonZeroUint32Type [_value=3000], 
getEchoReplyTimeout=NonZeroUint32Type [_value=2000], 
getGlobalNotificationQuota=64000, getMaximumTimerDelay=NonZeroUint32Type 
[_value=900000], getRpcRequestsQuota=NonZeroUint16Type [_value=20000], 
getThreadPoolMaxThreads=NonZeroUint16Type [_value=32000], 
getThreadPoolMinThreads=1, getThreadPoolTimeout=60, 
isEnableFlowRemovedNotification=true, isIsStatisticsPollingOn=true, 
isIsStatisticsRpcEnabled=false, isSkipTableFeatures=true, 
isSwitchFeaturesMandatory=false, isUseSingleLayerSerialization=true, 
augmentations={}}, 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@5a9fc274,
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@446d0ecb,
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@6b3302bb,
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@58c35b2e,
 
[org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderImpl@60523a03,
 
org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderImpl@ff214ac],
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@7a3d7adb,
 org.eclipse.osgi.framework.internal.core.BundleContextImpl@d524d62] when 
instanciating bean openflowPluginProvider
org.osgi.service.blueprint.container.ComponentDefinitionException: 
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to 
find a matching factory method newInstance on class 
Proxyacb7b2a2_b660_4694_9be9_bc1272b18499 for arguments 
[OpenflowProviderConfig{getBarrierCountLimit=NonZeroUint16Type [_value=25600], 
getBarrierIntervalTimeoutLimit=NonZeroUint32Type [_value=500], 
getBasicTimerDelay=NonZeroUint32Type [_value=3000], 
getEchoReplyTimeout=NonZeroUint32Type [_value=2000], 
getGlobalNotificationQuota=64000, getMaximumTimerDelay=NonZeroUint32Type 
[_value=900000], getRpcRequestsQuota=NonZeroUint16Type [_value=20000], 
getThreadPoolMaxThreads=NonZeroUint16Type [_value=32000], 
getThreadPoolMinThreads=1, getThreadPoolTimeout=60, 
isEnableFlowRemovedNotification=true, isIsStatisticsPollingOn=true, 
isIsStatisticsRpcEnabled=false, isSkipTableFeatures=true, 
isSwitchFeaturesMandatory=false, isUseSingleLayerSerialization=true, 
augmentations={}}, 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@5a9fc274,
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@446d0ecb,
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@6b3302bb,
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@58c35b2e,
 
[org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderImpl@60523a03,
 
org.opendaylight.openflowjava.protocol.impl.core.SwitchConnectionProviderImpl@ff214ac],
 
org.apache.aries.blueprint.container.ReferenceRecipe$ServiceProxyWrapper@7a3d7adb,
 org.eclipse.osgi.framework.internal.core.BundleContextImpl@d524d62] when 
instanciating bean openflowPluginProvider

Tx,
M.
--
Michael Vorburger, Red Hat
[email protected]<mailto:[email protected]> | IRC: vorburger @freenode | 
~ = http://vorburger.ch<http://vorburger.ch/>

Jozef Bacigál
Senior Software Engineer

PANTHEON technologies s.r.o.
Janka Kráľa 9, 974 01 Banská Bystrica
Slovakia
Tel / +421 220 665 111

MAIL / [email protected]
WEB / https://pantheon.tech



Tomáš Slušný
Software Developer

PANTHEON technologies s.r.o.
Janka Kráľa 9, 974 01 Banská Bystrica
Slovakia
Tel / +421 220 665 111

MAIL / [email protected]
WEB / https://pantheon.tech


_______________________________________________
openflowplugin-dev mailing list
[email protected]
https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev

Reply via email to