You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.StackOverflowError
at java.io.BufferedWriter.write(BufferedWriter.java:226)
at java.io.Writer.write(Writer.java:157)
at java.io.PrintStream.write(PrintStream.java:525)
at java.io.PrintStream.print(PrintStream.java:669)
at java.io.PrintStream.println(PrintStream.java:806)
at com.turbonomic.protoc.plugin.common.generator.MessageDescriptor.lambda$visitFields$0(MessageDescriptor.java:124)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at com.turbonomic.protoc.plugin.common.generator.MessageDescriptor.visitFields(MessageDescriptor.java:123)
at com.turbonomic.protoc.plugin.common.generator.MessageDescriptor.lambda$visitFields$0(MessageDescriptor.java:130)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at com.turbonomic.protoc.plugin.common.generator.MessageDescriptor.visitFields(MessageDescriptor.java:123)
at com.turbonomic.protoc.plugin.common.generator.MessageDescriptor.lambda$visitFields$0(MessageDescriptor.java:130)
at com.google.common.collect.ImmutableList.forEach(ImmutableList.java:406)
at com.turbonomic.protoc.plugin.common.generator.MessageDescriptor.visitFields(MessageDescriptor.java:123)
The text was updated successfully, but these errors were encountered:
Ah, this is because Value has a circular definition inside it (Value -> ListValue -> Value), and the code that visits primitive fields chokes on it. I'll take a closer look at how to get around this.
Any solution to this? I have been facing the same issue, and I am not able to get around it. The proto file is provided by an upstream application, so I don't have control over the contents.
I'm getting a StackOverflowError in the ProtocPluginCodeGenerator when a protobuf type google.protobuf.Value is used:
The text was updated successfully, but these errors were encountered: