Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Tekton tool window only displays "nothing to show" #671

Open
tosmi opened this issue Apr 30, 2024 · 4 comments
Open

Tekton tool window only displays "nothing to show" #671

tosmi opened this issue Apr 30, 2024 · 4 comments

Comments

@tosmi
Copy link

tosmi commented Apr 30, 2024

i'm on IntelliJ IDEA (build #IU-241.14494.240, Thu, 28 Mar 2024 05:12:00 GMT) and using the following k8s plugins:

  • tekton pluing version Tekton Pipelines by Red Hat (1.4Tekton.2.294)`
  • OpenShift Toolkit by Red Hat (1.8.0)
  • Kubernetes by Red Hat (1.2.3.294)
  • Kubernetes (241.15989.150)

connected to an openshift cluster:

Server Version: 4.15.5
Kubernetes Version: v1.28.7+f1b5f6c

i'm in a ns that has tekton tasks, but the plugin only displays "nothing to show". the intellij logs displays the following trace:

2024-04-30 16:02:52,920 [   2926] SEVERE - #c.i.o.w.i.ToolWindowManagerImpl - Cannot init toolwindow com.redhat.devtools.intellij.tektoncd.ui.toolwindow.WindowToolFactory@29f56bcd [Plugin: com.redhat.devtools.intellij.tekton]
com.intellij.diagnostic.PluginException: Cannot init toolwindow com.redhat.devtools.intellij.tektoncd.ui.toolwindow.WindowToolFactory@29f56bcd [Plugin: com.redhat.devtools.intellij.tekton]
<cut>
Caused by: java.util.ServiceConfigurationError: io.fabric8.kubernetes.api.model.KubernetesResource: io.fabric8.openshift.api.model.ProjectHelmChartRepository not a subtype
<cut>

the cluster has got a projecthelmchartrepositories resource:

$ oc explain projecthelmchartrepositories
GROUP:      helm.openshift.io
KIND:       ProjectHelmChartRepository
VERSION:    v1beta1

DESCRIPTION:
    ProjectHelmChartRepository holds namespace-wide configuration for proxied
    Helm chart repository 

according to intellij the current context is set to the namespace that contains my tasks.

any hints what might cause this issue?

if you need more info please let me know.

thanks!

@adietish
Copy link
Contributor

adietish commented Sep 24, 2024

Hi @tosmi,

sorry for the late reply.
This plugin is de facto deprecated, marking it as such explicitly will happen very soon.
This plugin does not support the latest tekton schema and furthermore cannot be used with the latest of our other plugins (intellij-kubernetes, intellij-openshift-connector, intellij-tekton). The limiting factor is the kubernetes-client that's used, they have to all match the same version. Your setup looks fine, you're using this plugin with versions of the other plugins that should work fine with it.

I'm thus kinda out of guesses why you experience this error. Do you maybe have intellij-knative installed, too? Are you aware of other plugins that would use kubernetes-client, maybe in a different version?
Can you please provide a full stacktrace with line numbers (you only pasted the uppermost exception, we're missing the root cause)?

@tosmi
Copy link
Author

tosmi commented Sep 24, 2024

no worries, thanks for getting back! i'm a little bit confused about the state of tekton support in intellij. is intellij-tekton the same plugin as "Tekton Piplines by Red Hat"? and is this still supported? i'm currently using "Tekton Pipelines by Red Hat" version 1.4.2.294. currently i do not have a cluster with Tekton installed, so if you could clarify the state of the plugin, it's ok to close this issue.

@adietish
Copy link
Contributor

adietish commented Sep 24, 2024

@tosmi: intellij-tekton is the project-name of the plugin available as Tekton Piplines by Red Hat in marketplace.

We're deprecating the plugin because we are lacking whomen/man-power to bring it further. To keep it alive we'd need substantial work. At the same time, there's very little interest in the developer community (very little downloads, usages).

Maybe our vscode extension can help you where intellij-tekton is outdated. That extension also stalled their progress though.

@adietish
Copy link
Contributor

I'm keeping this issue opened to properly reflect the state of this error, which is unresolved. We dont expect any work on it in the immediate future though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants