| Summary: | NPE after project creation if PHP Explorer isn't available | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Dawid Pakula <zulus> |
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | silviya, thierryblind, wywrzal |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/80969 https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=7c57c36adba9e6361d15ac29c030562c8fa4c882 https://git.eclipse.org/r/82975 https://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=6385f8d37aad567ef0937a58d4e89c901c71acbd |
||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 478814 | ||
|
Description
Dawid Pakula
Dawid, I can't reproduce this bug :( OK, more detailed instruction: 1. Create any PHP Project in Project Explorer. 2. Expand it in Project Explorer (I 3. Create second PHP Project. Problem appear, because PHPExplorerContentProvider haven't view instance. New Gerrit change created: https://git.eclipse.org/r/80969 Dawid, for me that's a little bug in DLTK, but to make it in 4.1.0 I propose a workaround, is my patch ok for you ? I'll send a nice patch for DLTK once 4.1.0 is released ;) As a temporary workaround it's ok, but I think it's a PDT bug. PHPNavigatorLabelProvider create internal version of PHPExplorerContentProvider. This instance never receive #inputChanged call and cause mentioned bug. This probably also resource leak. Gerrit change https://git.eclipse.org/r/80969 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=7c57c36adba9e6361d15ac29c030562c8fa4c882 Yes, you're right Dawid, problem lies in PDT :/ Let's see that quietly after the 4.1.0 release ;) Hi Dawid, Just a little question : do you plan to work on this one? I had bo deep look into this one, and i have no access to my computer next days, just to know if you're inspired by this bug ;) Not now. I plan focus on bug 150506, bug 475525 and composer in general. Ok, i understand, you will already have enough work with what you're planning to do ;) New Gerrit change created: https://git.eclipse.org/r/82975 Gerrit change https://git.eclipse.org/r/82975 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=6385f8d37aad567ef0937a58d4e89c901c71acbd Now it should be fixed. Main problem was that PHP Explorer content provider is registering as include path listener and additional instance of this provider is created in PHPNavigatorLabelProvider. My solution is not perfect but should be ok until we will be able to clean up label provider for Project Explorer. Don't see any errors, closing |