StackOverflow error during project build [message #1717218] |
Thu, 10 December 2015 14:38  |
Eclipse User |
|
|
|
Hi,
I am in the process of migrating a web app to Java 8. I can build the project outside of Eclipse with no issues, but I am seeing strange errors inside the ide. First of all, a few of the projects (4 out of 25) used in the application are showing errors that do not make any sense. For any object that implements the collection interface, I see an error saying "the type X is not generic it cannot be parameterized with arguments ." For example:

It is a java.util.collection. I get the same error for decedent types as well.... eg.. map, tree, ArrayList... etc.
Also, when I do a project->clean, Eclipse throws a StackOverflow error when building these projects. This is the trace from the log:
!ENTRY org.eclipse.core.jobs 4 2 2015-12-09 15:50:54.309
!MESSAGE An internal error occurred during: "Build Project".
!STACK 0
java.lang.StackOverflowError
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
at org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.substituteInferenceVariable(ParameterizedTypeBinding.java:856)
.
.
.
repeating
I am seeing these errors in two different Eclipse environments. STS 3.6.2 and Mars 4.5.1. Anyone have any idea what's going on here?
Thanks!
Attachment: example.png
(Size: 7.32KB, Downloaded 3817 times)
|
|
|
|
|
|
|
|
|
|
Re: StackOverflow error during project build [message #1717354 is a reply to message #1717353] |
Fri, 11 December 2015 19:04  |
Eclipse User |
|
|
|
Matt Hempleman wrote on Sat, 12 December 2015 00:54Thanks! I did see a similar stack trace from STS (the newer jar). I don't have my environment set up to reproduce it at the moment, but I'll be able to post it on Monday
The STS case (3.9.50...) is resolved, we need a stack from Mars.
|
|
|
Powered by
FUDForum. Page generated in 0.04760 seconds