| Summary: | NPE in GitResourceVariantTreeSubscriber.refresh() | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Matthias Sohn <matthias.sohn> |
| Component: | UI | Assignee: | Project Inbox <egit.ui-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | alessio.pollero, ankur_sharma, daniel_megert, dariusz.luksza, ingo.siebert, irbull, malaperle, markus.kell.r, remy.suen, res1st, sam.davis |
| Version: | 1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Sohn
I get it when I invoke Commit from the context menu of the Synchronize view. I have 5 changed files in the same folder, presentation set to Workspace, and as selected item the parent folder (concretely, the compressed folder /org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events). I also get this error when Invoking Team -> Add from the package explorer on a package which has untracker files. The files are added to the index nevertheless. *** Bug 359056 has been marked as a duplicate of this bug. *** *** Bug 359800 has been marked as a duplicate of this bug. *** *** Bug 360335 has been marked as a duplicate of this bug. *** I get this each time I commit. I do all my commits from the synchronize view. (In reply to comment #6) > I get this each time I commit. I do all my commits from the synchronize view. Actually, it appears to happen when I select all the resources in the synchronize view before committing. I always do this because I want these resources to be committed... I hide/remove from view the things I don't want committed, select all, commit. This seems to reproduce the NPE each time. (In reply to comment #7) > Actually, it appears to happen when I select all the resources in the > synchronize view before committing. I always do this because I want these > resources to be committed... I hide/remove from view the things I don't want > committed, select all, commit. This seems to reproduce the NPE each time. I cannot reproduce this NPE on latest version of EGit from master branch and my small test project. Current version of GitResourceVariantTreeSubscriber in line 141 contains static method call so it cannot cause NPE. Ian, it would be nice if you could try to reproduce this on latest nightly build and send updated stacktrace. *** Bug 362378 has been marked as a duplicate of this bug. *** *** Bug 364629 has been marked as a duplicate of this bug. *** Tried to reproduce the scenario Ian described using today's (2011-11-25) nightly build. Works as expected and no NPE is thrown. Seems this was already fixed as Dariusz suspected. Hence closing this bug report. *** Bug 368531 has been marked as a duplicate of this bug. *** Yes, I've not seen this since moving to recent builds (build from Jan 2012). *** Bug 370792 has been marked as a duplicate of this bug. *** |