| Summary: | StackOverflowError when adding composite to tabitem | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Joerg Reichert <joerg83reichert> | ||||||
| Component: | WindowBuilder | Assignee: | Project Inbox <wb.xwt-inbox> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | clayberg | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Joerg Reichert
Created attachment 201619 [details]
form before adding the composite to the tab item
I was not able to reproduce this. Your example worked perfectly on my end when I added the Composite. I also tried it from scratch, and it worked just fine. The stack trace you appended makes it look like an XWT bug rather than a WB issue (maybe there is an issue with the specific version of XWT that you are using). I also noticed that you are using an older version of WB from 20110608. I would always recommend updating to the latest build and trying that first. (In reply to comment #2) > I was not able to reproduce this. Your example worked perfectly on my end when > I added the Composite. I also tried it from scratch, and it worked just fine. > The stack trace you appended makes it look like an XWT bug rather than a WB > issue (maybe there is an issue with the specific version of XWT that you are > using). > > I also noticed that you are using an older version of WB from 20110608. I would > always recommend updating to the latest build and trying that first. The Indigo Release Update Site (http://download.eclipse.org/releases/indigo) currently only offers the June version. But I found out at http://code.google.com/intl/de-DE/javadevtools/download-wbpro.html that there is a July version as well as a BETA version. But both leading to the stack overflow, too. It seems to be a XWT bug. By creating the XWT Forms Composite with the wizard there are e4 xwt libraries copied into the project (see appended screenshot), currently e.g. org.eclipse.e4.xwt.forms_0.9.1.SNAPSHOT.jar. As you cannot reproduce the bug, I am curious which XWT version you use. Should the windows builder be better bound to a certain XWT version (not a SNAPSHOT one)? Anyway I will post a bug report to the e4 team and leave that bug report closed for now. The stacktraces: !ENTRY org.eclipse.wb.core 4 4 2011-08-18 11:16:04.045 !MESSAGE Designer [1.0.0.r37x201106081531.201108181116]: java.lang.StackOverflowError !STACK 0 java.lang.StackOverflowError at org.eclipse.e4.xwt.javabean.metadata.AbstractMetaclass.assertInitialize(AbstractMetaclass.java:610) at org.eclipse.e4.xwt.javabean.metadata.AbstractMetaclass.newInstance(AbstractMetaclass.java:360) at org.eclipse.e4.xwt.forms.metaclass.AbstractFormMetaclass.doNewInstance(AbstractFormMetaclass.java:63) at org.eclipse.e4.xwt.javabean.metadata.AbstractMetaclass.newInstance(AbstractMetaclass.java:361) at org.eclipse.e4.xwt.forms.metaclass.AbstractFormMetaclass.doNewInstance(AbstractFormMetaclass.java:63) and !ENTRY org.eclipse.wb.core 4 4 2011-08-18 11:43:46.362 !MESSAGE Designer [1.1.0.r37x201108111706.201108181142]: java.lang.StackOverflowError !STACK 0 java.lang.StackOverflowError at org.eclipse.e4.xwt.forms.metaclass.AbstractFormMetaclass.doNewInstance(AbstractFormMetaclass.java:63) at org.eclipse.e4.xwt.javabean.metadata.AbstractMetaclass.newInstance(AbstractMetaclass.java:361) at org.eclipse.e4.xwt.forms.metaclass.AbstractFormMetaclass.doNewInstance(AbstractFormMetaclass.java:63) Created attachment 201704 [details]
Screenshot of the workspace
to see the copied XWT libraries
created bug report in e4 XWT section: https://bugs.eclipse.org/bugs/show_bug.cgi?id=355050 This looks as error in XWT itself. I can reproduce it with XWT Forms Application, without WindowBuilder, just by running it. XWT issue |