-
Notifications
You must be signed in to change notification settings - Fork 21
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
pulumi up java.lang.NullPointerException #1276
Comments
@mrge-slawek-mazur, could you share a small, self-contained program that reproduces the behavior? |
I hit this today also I think -- this program should repro: package myproject;
import com.pulumi.Pulumi;
import com.pulumi.awsx.lb.ApplicationLoadBalancer;
import com.pulumi.awsx.lb.ApplicationLoadBalancerArgs;
import com.pulumi.awsx.lb.inputs.ListenerArgs;
public class App {
public static void main(String[] args) {
Pulumi.run(ctx -> {
var alb = new ApplicationLoadBalancer("lb", ApplicationLoadBalancerArgs.builder()
.listener(ListenerArgs.builder()
.port(80)
.build())
.build());
ctx.export("endpoint", alb.loadBalancer().apply(loadBalancer -> loadBalancer.dnsName()));
});
}
} Using: <dependencies>
<dependency>
<groupId>com.pulumi</groupId>
<artifactId>pulumi</artifactId>
<version>(,1.0]</version>
</dependency>
<dependency>
<groupId>com.pulumi</groupId>
<artifactId>aws</artifactId>
<version>(6.0.2,6.99]</version>
</dependency>
<dependency>
<groupId>com.pulumi</groupId>
<artifactId>awsx</artifactId>
<version>(2.0.0,2.99]</version>
</dependency>
</dependencies> |
Hi, any plans for when this might be fixed? |
Hello, I have experienced the same issue and so far have been unable to get Pulumi to add my target group to my load balancer. I am very new to Pulumi and created a Github issue in what I now believe is the wrong place: |
I tried @cnunciato's example and couldn't repro. But I'm using a more recent version of Java, from
@cnunciato, does this still repro for you? |
What happened?
When doing
pulumi up
exceptionjava.lang.UnsupportedOperationException
is being thrownExample
pulumi up
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: