Bug 318587 - [Workbench] NPE and StackOverFlow exceptions during launch
Summary: [Workbench] NPE and StackOverFlow exceptions during launch
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 08:03 EDT by Praveen CLA
Modified: 2019-09-06 16:04 EDT (History)
2 users (show)

See Also:


Attachments
Crash Log file (96.29 KB, text/plain)
2010-07-01 08:03 EDT, Praveen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Praveen CLA 2010-07-01 08:03:00 EDT
Created attachment 173203 [details]
Crash Log file

NPE and StackOverFlow exceptions occur while launching eclipse based Flash Builder on Windows 7. Please find the attached log file containing exceptions during the launch.
It appears that there is a indefinite recursion between Workbench.updateActiveWorkbenchWindowMenuManager and BindingManager.fireBindingManagerChanged

Also NPE has encountered at at org.eclipse.ui.internal.Workbench.updateActiveWorkbenchWindowMenuManager(Workbench.java:3275)

Reproducible : Always reproducible during launch on a build machine with vmware installed.

Please let me know if any info is required.
Comment 1 Paul Webster CLA 2010-07-05 10:25:29 EDT
When Workbench.updateActiveWorkbenchWindowMenuManager has the NPE, what source provider is it trying to add?

PW
Comment 2 Praveen CLA 2010-07-29 04:36:33 EDT
We don't seen to extend any source providers. Well, after my certain investigation, the cause of the problem is due to our splash screen containing a dummy parent shell.

The problem is easily reproducible by -
1) Create a splash screen with a dummy parent
2) Run/Debug the eclipse - After a few attempts, Eclipse will crash before the workbench window appears.

The problem happens on Windows7 as well - (reg my previous comment) there is no relation with vmware.
Comment 3 Paul Webster CLA 2010-07-29 07:52:26 EDT
(In reply to comment #2)
> We don't seen to extend any source providers. Well, after my certain
> investigation, the cause of the problem is due to our splash screen containing
> a dummy parent shell.

Why are you creating a dummy parent shell?  Eclipse does not do this nor does it recommend doing this in the splash handler.

PW
Comment 4 Praveen CLA 2010-07-29 08:30:11 EDT
When a splash screen is created with no parent, it gets drawn with a border. In order to avoid that border, a dummy parent is created and then the drop shadow goes away.
Is there any specific reason for the splash screen not to contain any parent shell ?
Comment 5 Paul Webster CLA 2010-07-29 08:38:15 EDT
(In reply to comment #4)
> Is there any specific reason for the splash screen not to contain any parent
> shell ?

Our splash handler protocols weren't written to deal with an arbitrary containment hierarchy.  We can investigate and enhance for 3.7, if it helps you.

PW
Comment 6 Eclipse Webmaster CLA 2019-09-06 16:04:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.