This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 156081 [details] logfile Create a simple Maven Java project with two classes; one extending the other like: public class MuhClass { private int x = 0; private String s = ""; public int getX() { return x; } public void setX(int x) { this.x = x; } public String getS() { return s; } public void setS(String s) { this.s = s; } } public class MuhSubClass extends MuhClass { } 2. Put focus on MuhClass in Project window and invoke Push Down from its context menu. 3. Select all 4 getters/setters and click Preview button. 4. Notice the preview shows in right pane. Click Cancel button. 5. Put focus on MuhSubClass in Project widow and invoke Push Down from its context menu. 6. Notice error message because there is no subclass to push down too. Click Cancel button. Look at log file and see a bunch of Exception thrown. 7. Repeat step #2 & #3. Look at log file and now this throws a bunch of exceptions. 8. At this point if you don't see an empty preview pane on the right, keep invoking refactoring on both files. Try using the tool bar menu to invoke refactoring. It should happen after a few times. Results: Nothing shows in right preview pane. Expected: The preview of what the refactored file looks like. Product Version: NetBeans IDE Dev (Build 201509100002) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Created attachment 156082 [details] Screenshot
*** This bug has been marked as a duplicate of bug 254448 ***