| Summary: | [move static members] Refactoring: move static method results in java.lang.NullPointerException | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Dmitry Vyazelenko <vyazelenko> | ||||
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, deepakazad, raksha.vasisht, remy.suen | ||||
| Version: | 3.7.1 | Keywords: | needinfo | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dmitry Vyazelenko
Created attachment 205246 [details]
Full stacktrace with exception
Stacktrace added.
Java tooling bugs go to JDT, not Platform IDE. This works fine for me using Juno M2. Can you provide a test case? Ping. I'm very busy at the moment. Will try to look into test case over weekend! Please reopen if you have more details. Interesting part of the exception
Caused by: java.lang.NullPointerException
at org.eclipse.jdt.internal.corext.refactoring.structure.MoveStaticMembersProcessor.checkInitialConditions(MoveStaticMembersProcessor.java:334)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkInitialConditions(ProcessorBasedRefactoring.java:203)
at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:83)
However, I don't how we can get an NPE on MoveStaticMembersProcessor.java:334, nor I can reproduce the problem.
Please reopen if you have more details e.g. a code snippet to reproduce the problem.
|