| Summary: | Add of composite to tab item in XWT Form causes a stack overflow | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Technology] XWT | Reporter: | Joerg Reichert <joerg83reichert> | ||||||||
| Component: | Core | Assignee: | Yves YANG <yves.yang> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | eug.nikolaev, Konstantin.Scheglov, mdiliberto, thenightex, yves.yang | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows Vista | ||||||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=354908 | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Joerg Reichert
Created attachment 201705 [details]
The form before adding the composite
Created attachment 201706 [details]
The project containing the copied XWT libraries
The problem seems to be at the end of the method doNewInstance in org.eclipse.xwt.forms.metaclass.AbstractFormMetaclass where there should be a call to super.doNewInstance instead of super.newInstance. I can't provide a patch right now, but this seems pretty trivial. Similar to this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=425450 Created attachment 245027 [details]
possible solution
Thanks for the report. We'll check it out. Matteo Di Liberto Gasparin's solution works for me. Valided and committed. |