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.

Bug 254921 - After renaming a package, Undo leads to error popup
Summary: After renaming a package, Undo leads to error popup
Status: RESOLVED DUPLICATE of bug 254694
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 05:02 UTC by gokumar
Modified: 2015-09-03 15:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (134.66 KB, text/plain)
2015-09-02 05:02 UTC, gokumar
Details
Error popup (13.72 KB, image/png)
2015-09-02 05:04 UTC, gokumar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gokumar 2015-09-02 05:02:33 UTC
Link: http://services.netbeans.org/synergy/client/app/#/case/4968/suite/2018

Product Version = NetBeans IDE Dev (Build 201508310002)
Operating System = Linux version 3.16.0-40-generic running on amd64 (Ubuntu 14)
Java; VM; Vendor = 1.8.0_45
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.45-b02

Reproducibility: Happens every time

STEPS:
1. Open rename.ClassB.java, put caret into packege name: rena|me (where '|' is a position of caret)
2. By Ctrl+R invoke Rename dialog
3. Type new name e.g ename_a"
4. Press Preview
5. Press Do Refactoring
6. Press Undo (used Ctrl+Z)

ACTUAL:
After step 5, refactoring is successful. But, when I do Undo on step 6, i get an error pop up. But, the undo is successful. Attached screenshot of the error.

EXPECTED:
After step 5, refactoring should be successful. And, when I do Undo on step 6, the undo should also work without any errors.
Comment 1 gokumar 2015-09-02 05:02:49 UTC
Created attachment 155814 [details]
IDE log
Comment 2 gokumar 2015-09-02 05:04:41 UTC
Created attachment 155815 [details]
Error popup
Comment 3 gokumar 2015-09-02 05:08:49 UTC
If i try to Redo after Step 6, using Ctrl+y, i again see the error popup. From here on, Undo/Redo does not work.
Comment 4 Jiri Kovalsky 2015-09-02 17:54:21 UTC
Reassigning for further evaluation.
Comment 5 Jiri Prox 2015-09-03 15:35:12 UTC

*** This bug has been marked as a duplicate of bug 254694 ***