Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #389624 +++ Cloning for fix on 4.3.1 When the workbenach.xmi is loaded, an NPE is thrown. Debugging the code reveals, that the NPE is caused, because the element (the Part that is to be shown) does not have a parent (eContainer), so element.getParent() returns null. This seems to be the case for all parts that are added through a fragment. I have created a simple testcase to confirm the issue. 1) Start the application with the testapp.product in de.emsw.gosa.product.testapp. 2) Close the application 3) Start the application again and DO NOT clean the configuration, so workbench.xmi gets loaded See: http://www.eclipse.org/forums/index.php/m/911441/#msg_911441 !ENTRY org.eclipse.e4.ui.workbench 4 0 2012-09-11 17:33:18.756 !MESSAGE Exception occurred while rendering: org.eclipse.e4.ui.model.application.ui.basic.impl.PartStackImpl@1a4c5b4 (elementId: testapp.stack.right, tags: [], contributorURI: platform:/plugin/de.emsw.gosa.product.testapp) (widget: CTabFolder {}, renderer: org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer@1e2161d, toBeRendered: true, onTop: false, visible: true, containerData: 10000, accessibilityPhrase: null) !STACK 0 java.lang.NullPointerException at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.showTab(LazyStackRenderer.java:156) at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1024) at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.postProcess(LazyStackRenderer.java:98) ...
Pushed 4.3.1 push to Gerrit as: https://git.eclipse.org/r/15416 Paul W. Can you have a look?
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?h=R4_3_maintenance&id=8466fc399e377ea2ced24a6506b9112a13bc1811 PW
Verified in build 4.3.0.M20130821-0800
Per comment 3, state should be Verified.
Verified per comment 3.