Project: JDT
Bug 189628 [introduce parameter object] NPE when introducing to overridden method if method from binary using command shortcut
Reported: 2007-05-29 06:00:02 | Status: verified fixed

1. Bind IPOR to CTRL-I 2. Invoke IPOR using CTRL-I on toString of: public class TestClass { { toString(); } } java.lang.NullPointerException at org.eclipse.jdt.internal.corext.refactoring.structure.ParameterObjectFactory.<init>(ParameterObjectFactory.java:72) at org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectRefactoring.initializeFields(IntroduceParameterObjectRefactoring.java:351) at org.eclipse.jdt.internal.corext.refactoring.structure.IntroduceParameterObjectRefactoring.<init>(IntroduceParameterObjectRefactoring.java:334) at org.eclipse.jdt.internal.corext.refactoring.RefactoringExecutionStarter.startIntroduceParameterObject(RefactoringExecutionStarter.java:474) at org.eclipse.jdt.internal.ui.actions.IntroduceParameterObjectAction.run(IntroduceParameterObjectAction.java:142) at org.eclipse.jdt.internal.ui.actions.IntroduceParameterObjectAction.run(IntroduceParameterObjectAction.java:117)

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringExecutionStarter.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/IntroduceParameterObjectRefactoring.java