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

UnsupportedOperationException when values.yaml is part of a virtual file system #132

Closed
fstaudt opened this issue Oct 17, 2023 · 0 comments
Labels
bug Something isn't working intellij Intellij plugin
Milestone

Comments

@fstaudt
Copy link
Owner

fstaudt commented Oct 17, 2023

When helm-values is used with kubernetes plugin, following exception is thrown when a file inside a Helm archive is displayed.

In file: helm-tgz://C:/my/project/chart-1.0.0.tgz!/chart/values.yaml

Unhandled exception in [CoroutineName(com.intellij.openapi.wm.impl.status.widget.StatusBarWidgetsManager), StandaloneCoroutine{Cancelling}@4ccd685d, Dispatchers.Default]
  
  java.lang.UnsupportedOperationException: Failed to map helm-tgz://C:/my/project/chart-1.0.0.tgz!/chart (filesystem com.intellij.kubernetes.helm.tgz.TgzFileSystem@73945137) into nio Path
at com.intellij.openapi.vfs.VirtualFile.toNioPath(VirtualFile.java:164)
at io.github.fstaudt.helm.idea.providers.BaseJsonSchemaProvider.isAvailable(BaseJsonSchemaProvider.kt:28)
at io.github.fstaudt.helm.idea.providers.AggregatedJsonSchemaProvider.isAvailable(AggregatedJsonSchemaProvider.kt:10)
...
@fstaudt fstaudt added the bug Something isn't working label Oct 17, 2023
@fstaudt fstaudt added this to the 0.8.0 milestone Oct 17, 2023
@fstaudt fstaudt added the intellij Intellij plugin label Oct 17, 2023
@fstaudt fstaudt changed the title java.lang.UnsupportedOperationException when helm-values is used with kubernetes plugin UnsupportedOperationException when values.yaml is part of a virtual file system Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working intellij Intellij plugin
Projects
None yet
Development

No branches or pull requests

1 participant