Skip to content

NPE in ProxyDetectorImpl #4677

@pongad

Description

@pongad

What version of gRPC are you using?

1.12.0

What did you expect to see?

A customer using google-cloud-java reported seeing NPEs around the time their RPCs time out. According to the customer, this happens even though they are not using a proxy.

java.lang.NullPointerException
   at io.grpc.internal.ProxyDetectorImpl.detectProxy(ProxyDetectorImpl.java:225)
   at io.grpc.internal.ProxyDetectorImpl.proxyFor(ProxyDetectorImpl.java:194)
   at io.grpc.internal.DnsNameResolver$1.run(DnsNameResolver.java:180)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
   at java.lang.Thread.run(Thread.java:811)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions