StackOverflowError in WindowBuilderhttps://www.eclipse.org/forums/index.php/mv/msg/282563/787498/#msg_787498
I got a StackOverflowError while opening a UI in WindowBuilder Design Page:

!ENTRY org.eclipse.wb.core 4 4 2012-01-31 17:28:34.548
!MESSAGE Designer [1.2.0.r36x201109270310.201201311728]: java.lang.StackOverflowError
!STACK 0
java.lang.StackOverflowError
at java.lang.Exception.<init>(Exception.java:77)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:54)
at sun.reflect.GeneratedConstructorAccessor79.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils$ExceptionThrower.spit(ReflectionUtils.java:1284)
at org.eclipse.wb.internal.core.utils.reflect.ReflectionUtils.propagate(ReflectionUtils.java:1302)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo(JavaInfoResolver.java:133)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getExposedJavaInfo(JavaInfoResolver.java:306)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo0(JavaInfoResolver.java:222)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo(JavaInfoResolver.java:131)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getExposedJavaInfo(JavaInfoResolver.java:306)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo0(JavaInfoResolver.java:222)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo(JavaInfoResolver.java:131)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getExposedJavaInfo(JavaInfoResolver.java:306)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo0(JavaInfoResolver.java:222)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo(JavaInfoResolver.java:131)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getExposedJavaInfo(JavaInfoResolver.java:306)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo0(JavaInfoResolver.java:222)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo(JavaInfoResolver.java:131)
at
...

The Problem is reproducable with that UI, but not with others (others just work fine).
I am using WindowBuilder in MyEclipse 10.

Markus]]>Markus Schlegel2012-01-31T16:47:05-00:00Re: StackOverflowError in WindowBuilderhttps://www.eclipse.org/forums/index.php/mv/msg/282563/787615/#msg_787615
Eric Clayberg2012-01-31T19:46:06-00:00Re: StackOverflowError in WindowBuilderhttps://www.eclipse.org/forums/index.php/mv/msg/282563/787618/#msg_787618
But from the Stacktrace, the problem seems to be obvious...
I mean
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getExposedJavaInfo(JavaInfoResolver.java:306)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo0(JavaInfoResolver.java:222)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getJavaInfo(JavaInfoResolver.java:131)
at org.eclipse.wb.internal.core.parser.JavaInfoResolver.getExposedJavaInfo(JavaInfoResolver.java:306)
...

BTW, I would expect a patch to also include a test case that proves that the patch actually solves the problem.

It doesn't matter whether your specific code is open source or not. That is imaterial to providing a test case. If your current code triggers the problem, then it should be quite easy to construct a simple, standalone, dummy example that illustrates the exact same problem. Unless we have a way to actually reproduce the problem, there is really no point in spending time looking into it.

We are quite willing to look into this (and fix it), but only if we have the bare minimum of info needed to get started on it. That is what we need from you.

]]>Eric Clayberg2012-01-31T20:58:56-00:00Re: StackOverflowError in WindowBuilderhttps://www.eclipse.org/forums/index.php/mv/msg/282563/787975/#msg_787975
Can't do anything else.
BTW: WE did not buy Instantiations, and WE did not ask to make WB open source. But WE have been licensing WindowBuilder from Instantiations and we have already reported several Bugreports when it was an Instantiations Product.
We've been very disappointed as we heared that there won't be professional support anymore for WindowBuilder.]]>Markus Schlegel2012-02-01T07:40:47-00:00Re: StackOverflowError in WindowBuilderhttps://www.eclipse.org/forums/index.php/mv/msg/282563/788199/#msg_788199
If you have a class that exhibits this problem, creating a test case that will reproduce that same problem should not take more than a few minutes.

I'm not sure why you would be disappointed with the level of support, since we are offerring to do just that. In fact, the very same team that worked on and supported WB before it was open sourced still works on and supports it now. I believe that our track record for responding to user questions and fixing bugs has been exceptional. We respond to almost every forum message, and we have closed 94% of bug reports in Bugzilla.

As I said earlier, we are more than willing to look into this, but you have to give us something to work with. Please read Reproducible Test Cases in the WB docs, if you need a further explanation of why this is important.]]>Eric Clayberg2012-02-01T13:30:27-00:00