-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
OpenShift - NPE when loading resources from InputStream #2066
Comments
@pk044 : Hi, Could you please share NPE stacktrace? I tried but could not reproduce your error. This is the code I used:
The only difference between yours and my reproducer is |
@rohanKanojia i currently don't have the access to any openshift cluster, you can clone the project and check out the stacktrace if you want. i don't think that the path passed to |
@pk044 : ah, looks like I misunderstood the issue. I can reproduce it now |
I think I found the issue, looks like openshift handler file is not present in
However when I use
I don't face this error anymore since openshift related handlers are present now:
Need to check whether it's possible to merge these both
|
…ontains both Openshift and Kubernetes resources
…aces to avoid collission in uberjar
…aces to avoid collission in uberjar
…aces to avoid collission in uberjar
…aces to avoid collission in uberjar
For the record, most of the work necessary to discover and be able to provide #2211 that should fix this issue was performed by @rohanKanojia while working on his PR. |
Judging from a quick debug session, it seems like the client can't find an appropriate handler for loading this sample yml file.
here's a project that will let you reproduce the issue:
https://github.com/pk044/fabric8-k8s-openshift-bug
I used CRC to test this - but the problem occurs in the previous versions.
The text was updated successfully, but these errors were encountered: