Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in the Karaf platform logs #3890

Closed
shawkins opened this issue Feb 23, 2022 · 7 comments
Closed

Errors in the Karaf platform logs #3890

shawkins opened this issue Feb 23, 2022 · 7 comments
Labels
bug status/stale Waiting on feedback Issues that require feedback from User/Other community members
Milestone

Comments

@shawkins
Copy link
Contributor

The platform test logs are filled with. This occurred before and after #3865 - so need to check further back if it was occurring before the api split.

2022-02-23T10:23:59,522 | WARN  | features-3-thread-1 | BaseActivator                    | 62 - org.apache.aries.spifly.dynamic.bundle - 1.3.0 | Could not load provider io.fabric8.openshift.client.OpenShiftHiveAPIGroupExtensionAdapter of service io.fabric8.kubernetes.client.ExtensionAdapter
java.lang.NullPointerException: null
	at org.apache.aries.spifly.BaseActivator.lambda$registerProviderBundle$3(BaseActivator.java:268) ~[?:?]
	at java.util.Map.compute(Map.java:1171) ~[?:?]
	at java.util.Collections$SynchronizedMap.compute(Collections.java:2692) ~[?:?]
	at org.apache.aries.spifly.BaseActivator.registerProviderBundle(BaseActivator.java:261) ~[?:?]
	at org.apache.aries.spifly.ProviderBundleTrackerCustomizer.addingBundle(ProviderBundleTrackerCustomizer.java:173) ~[?:?]
	at org.apache.aries.spifly.ProviderBundleTrackerCustomizer.addingBundle(ProviderBundleTrackerCustomizer.java:64) ~[?:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475) ~[osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:420) ~[osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256) ~[osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229) ~[osgi.core-7.0.0.jar:?]
	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450) ~[osgi.core-7.0.0.jar:?]
	at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915) ~[?:?]
	at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834) ~[?:?]
	at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516) ~[?:?]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4817) ~[?:?]
	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2393) ~[?:?]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) ~[?:?]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998) ~[?:?]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984) ~[?:?]
	at org.apache.karaf.features.internal.service.BundleInstallSupportImpl.startBundle(BundleInstallSupportImpl.java:165) ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1160) ~[?:?]
	at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:1041) ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
	at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]

I'd like for things to be clean before addressing #3878

@shawkins shawkins added the bug label Feb 23, 2022
@manusa manusa changed the title Errors in the karak platform logs Errors in the Karaf platform logs Feb 23, 2022
@shawkins shawkins added this to the 6.0.0 milestone Feb 23, 2022
@shawkins
Copy link
Contributor Author

These errors are present in the 5.12.1 log as well, so I will consider them separate from the api and extension work. I guess the karaf tests need updated to use adapt calls to see if these built-in extensions actually work as expected.

@stale
Copy link

stale bot commented May 25, 2022

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label May 25, 2022
@manusa manusa modified the milestones: 6.0.0, 6.x Aug 30, 2022
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Sep 28, 2022
…rnetesClient/OpenShiftClient

+ Remove ExtensionAdapter reference from ManagedKubernetesClient, no
  provider is exposed for ExtensionAdapter interface in
  kubernetes-client module. bindExtensionAdapter and
  unbindExtensionAdapter are throwing NullPointerException during
  startup.
+ Add Provide-Capability field in openshift-client bundle configuration
  in order to resolve SPIFly related NPE (reported in fabric8io#3890)

Signed-off-by: Rohan Kumar <[email protected]>
rohanKanojia added a commit to rohanKanojia/kubernetes-client that referenced this issue Oct 4, 2022
…rnetesClient/OpenShiftClient

+ Remove ExtensionAdapter reference from ManagedKubernetesClient, no
  provider is exposed for ExtensionAdapter interface in
  kubernetes-client module. bindExtensionAdapter and
  unbindExtensionAdapter are throwing NullPointerException during
  startup.
+ Add Provide-Capability field in openshift-client bundle configuration
  in order to resolve SPIFly related NPE (reported in fabric8io#3890)

Signed-off-by: Rohan Kumar <[email protected]>
manusa pushed a commit to rohanKanojia/kubernetes-client that referenced this issue Oct 5, 2022
…ations

+ Add Provide-Capability field in openshift-client + extensions bundle
configurations in order to resolve SPIFly related NPE (reported in fabric8io#3890)

Signed-off-by: Rohan Kumar <[email protected]>
manusa pushed a commit that referenced this issue Oct 5, 2022
…ations

+ Add Provide-Capability field in openshift-client + extensions bundle
configurations in order to resolve SPIFly related NPE (reported in #3890)

Signed-off-by: Rohan Kumar <[email protected]>
@manusa manusa modified the milestones: 6.x, 6.3.0 Oct 19, 2022
@manusa
Copy link
Member

manusa commented Dec 12, 2022

Did the changes in the pom.xml configurations fix the issue?

@manusa manusa modified the milestones: 6.3.0, 6.x Dec 12, 2022
@manusa
Copy link
Member

manusa commented Mar 7, 2024

Did the changes in the pom.xml configurations fix the issue?

@rohanKanojia ?

@manusa manusa added Waiting on feedback Issues that require feedback from User/Other community members and removed status/never-stale labels Mar 7, 2024
@rohanKanojia
Copy link
Member

@manusa : Sorry, I missed your comment notification last time.

On recent GitHub Action Build Java workflow I'm not able to see the abovementioned failures.

I'll check it on my local machine just to double-check.

@rohanKanojia
Copy link
Member

I tried running mvn clean install on JDK8 in platforms/ directory but couldn't see the failures.

@shawkins : Are you still able to see these stack traces in your environment?

Copy link

stale bot commented Jun 13, 2024

This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!

@stale stale bot added the status/stale label Jun 13, 2024
@stale stale bot closed this as completed Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status/stale Waiting on feedback Issues that require feedback from User/Other community members
Projects
None yet
Development

No branches or pull requests

3 participants