| Summary: | NPE when changing folder on POM editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Cristiano Gaviao <cvgaviao> | ||||
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | igor, ob1.eclipse, pwebster, remy.suen | ||||
| Version: | 4.2 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 370757 | ||||||
| Attachments: |
|
||||||
|
Description
Cristiano Gaviao
I recommend using eclipse 3.8 for the time being. I opened a pom.xml file and pressed Alt+PgDown to scroll through the tabs several times but nothing happened. Am I doing something wrong? Could someone attach a pom file that will reproduce the problem? Remy, try to open the pom and then keep clicking it tabs instead of press Alt+PgDown. regards (In reply to comment #3) > Remy, try to open the pom and then keep clicking it tabs instead of press > Alt+PgDown. Should've mentioned that I tried clicking in comment 2. Clicking on the tabs didn't cause any problems either. Created attachment 211048 [details]
tycho projects that contain pom that reproduce the issue.
My eclipse is configured to open the pom.xml first.
Then I click on Effective POM, when I click on Dependency Hierarchy 4 error logs are generated.
(In reply to comment #5) > Created attachment 211048 [details] > tycho projects that contain pom that reproduce the issue. I see one project and three projects nested within that project (making the total four, technically speaking). Which project(s) should I import, Cristiano? (In reply to comment #6) > (In reply to comment #5) > > Created attachment 211048 [details] > > tycho projects that contain pom that reproduce the issue. > > I see one project and three projects nested within that project (making the > total four, technically speaking). Which project(s) should I import, Cristiano? well, as tycho requires this parent/child structure, just to not have errors on the pom you should import at least the parent and one of its children, test.p2 for example... I got the same problem in all children... I still cannot reproduce the problem with I20120127-1145. Perhaps the problem is that I'm on Windows. My m2e install is 1.1.0.20120130-2016. Technically speaking, I can induce the problem if I manually cause an IStructuredSelection implementation to contain a 'null' value in its array but it's not clear to me if this is even valid for IStructuredSelections. We need to reproduce this so we can figure out where the error is coming from. Cristiano, should we import all 3 child projects and the parent? PW Cristiano's zip can be unzipped and use File>Import...>Maven>Existing Maven projects to import it into M6 with m2e installed. PW I can't find this code in M6 org.eclipse.m2e.editor.pom.MavenPomEditor$6.runInUIThread(MavenPomEditor.java:772) PW The second exception might not be related, and fixed by http://git.eclipse.org/c/m2e/m2e-core.git/commit/org.eclipse.m2e.editor/src/org/eclipse/m2e/editor/pom/MavenPomEditor.java?id=2cd9cf7f8e95469f30ebe04b028534715bc464d4 PW Hi, I can confirm that the problem is not occurring in M6. regards and thanks all Cristiano Fixed with M6. Cristiano, please re-open if you find it happening with M6 and we'll see what we can do. PW |