| Summary: | [CommonNavigator] NPE during perspective switch after project creation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Sebastian Westemeyer <eclipse> | ||||
| Component: | IDE | Assignee: | Platform UI Triaged <platform-ui-triaged> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aphung.work, dganit.keidar, eclipse, elaskavaia.cdt, gaad.salner, loskutov, michael.adada, mike.bernat, pierre-charles.david, sellis, troygnichols, Udo.Walker, yevshif | ||||
| Version: | 3.6 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sebastian Westemeyer
Created attachment 172724 [details]
Sample plugin to reproduce the Exception
Sounds like CNF. Franics, Please reassign back to inbox, if its not a CNF bug. *** Bug 318898 has been marked as a duplicate of this bug. *** I have the same problem in Indigo. I produced a product based on Helios 3.6.1 and it worked fine with the tabbed properties sheet. At the moment I try to integrate my plugins into an Indigo IDE and it logs the above message. If I produce a RCP product without the plugins which manage a workspace for project like the common navigator, package explorer, etc. then I do not get the message in the log file. It only occurs when the common navigator plugin is also available. Do I miss something like disable a feature in the tabbed properties view to not ask for a reference to the navigator or do I have to register some factory or adapter to get rid of the message? I do not need the navigator at all. I also have this problem in Juno. I have the same problem in my product based on Indigo when the Egit perspective is opened. I think this is a dup of bug 406903 which was just fixed in 4.3 RC1, can you give it a try there and let me know? Hi Francis, Sorry, but this is still reproducible in the official Kepler release... you could prevent NPE by checking the retrieved part:
if (part == null){
WorkbenchNavigatorPlugin.log(
"Could not acquire INavigatorContentService. No part found", null);//$NON-NLS-1$
return;
}
Something happened here? (In reply to Udo Walker from comment #10) > Something happened here? Do you still observe the problem with 4.6, or why do you ask? The original NPE was fixed with bug 467539 but the actual root cause is still there and tracked with bug 489335. *** This bug has been marked as a duplicate of bug 467539 *** I still have the problem from bug 489335. I do not observe the problem described in here anymore. |