You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Christopher Smith (Jira)" <ji...@apache.org> on 2021/06/08 22:52:00 UTC
[jira] [Created] (GROOVY-10131) Stack overflow in STC when
inspecting generics
Christopher Smith created GROOVY-10131:
------------------------------------------
Summary: Stack overflow in STC when inspecting generics
Key: GROOVY-10131
URL: https://issues.apache.org/jira/browse/GROOVY-10131
Project: Groovy
Issue Type: Bug
Components: Static Type Checker
Affects Versions: 3.0.8
Reporter: Christopher Smith
I'm getting a stack overflow in Eclipse on some Groovy code, and I can't figure out which specifically is triggering it. The stack trace is
{code}
!ENTRY org.eclipse.core.jobs 4 2 2021-06-08 17:47:00.347!MESSAGE An internal error occurred during: "Requesting Java AST from selection".!STACK 0java.lang.StackOverflowError at org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport.isUsingGenericsOrIsArrayUsingGenerics(StaticTypeCheckingSupport.java:1334) at org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport.extractGenericsConnections(StaticTypeCheckingSupport.java:1848) at org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport.extractGenericsConnections(StaticTypeCheckingSupport.java:1856) at org.codehaus.groovy.transform.stc.StaticTypeCheckingSupport.extractGenericsConnections(StaticTypeCheckingSupport.java:1856)
{code}
(with the last line repeating until it fails)
I had this with an update from a few days ago and the current nightly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)