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

Please update to JAVA_GEN_VERSION := v0.8.0 #2333

Closed
t0yv0 opened this issue Mar 10, 2023 · 0 comments · Fixed by #2337
Closed

Please update to JAVA_GEN_VERSION := v0.8.0 #2333

t0yv0 opened this issue Mar 10, 2023 · 0 comments · Fixed by #2337
Assignees
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed

Comments

@t0yv0
Copy link
Member

t0yv0 commented Mar 10, 2023

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

There's currently issues using the Java SDK for K8S with the 0.8.0 Pulumi Java SDK. Please update JAVA_GEN_VERSION := v0.8.0 and this will likely solve the problem. Thank you.

    java.lang.UnsupportedOperationException: Convert [com.pulumi.kubernetes.apps.v1.Deployment.spec]: Error converting 'com.google.common.collect.RegularImmutableMap' to 'TypeShape{type=class com.pulumi.kubernetes.apps.v1.outputs.DeploymentSpec, parameters=[]}'. argument type mismatch
        at com.pulumi.serialization.internal.Converter.convertObjectUntyped(Converter.java:118)
        at com.pulumi.serialization.internal.Converter.convertValue(Converter.java:85)
        at com.pulumi.core.internal.OutputCompletionSource.setValue(OutputCompletionSource.java:95)
        at com.pulumi.deployment.internal.DeploymentImpl$ReadOrRegisterResourceInternal.lambda$completeResourceAsync$0(DeploymentImpl.java:1193)
        at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:646)
        at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:483)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
    Caused by: java.lang.IllegalArgumentException: argument type mismatch
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at com.pulumi.serialization.internal.Converter.lambda$tryConvertObjectInner$6(Converter.java:425)
        at com.google.common.collect.RegularImmutableMap.forEach(RegularImmutableMap.java:292)
        at com.pulumi.serialization.internal.Converter.tryConvertObjectInner(Converter.java:398)
        at com.pulumi.serialization.internal.Converter.convertObjectUntyped(Converter.java:114)
        ... 10 more

Affected area/feature

@t0yv0 t0yv0 added kind/enhancement Improvements or new features needs-triage Needs attention from the triage team labels Mar 10, 2023
@rquitales rquitales removed the needs-triage Needs attention from the triage team label Mar 13, 2023
@rquitales rquitales self-assigned this Mar 13, 2023
rquitales added a commit that referenced this issue Mar 16, 2023
rquitales added a commit that referenced this issue Mar 16, 2023
rquitales added a commit that referenced this issue Mar 16, 2023
rquitales added a commit that referenced this issue Mar 16, 2023
Fixes #2333

Steps carried out in this PR:

1. Updated Java gen version in Makefile
2. Run make build
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants