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 42453 - java.lang.NullPointerException (refactoring & non-refactoring features)
Summary: java.lang.NullPointerException (refactoring & non-refactoring features)
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 4.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 09:16 UTC by Marek Grummich
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Exception (2.60 KB, text/plain)
2004-04-27 11:08 UTC, Marek Grummich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Grummich 2004-04-26 09:16:52 UTC
Build 20040423

The attached exception has been thrown when I did
mixed refactoring and non-refactoring features.
Comment 1 Marek Grummich 2004-04-27 11:08:07 UTC
Created attachment 14574 [details]
Exception
Comment 2 Jan Becicka 2004-04-27 12:52:17 UTC
I guess you did following actions:
1. Refactoring rename Class1 to Class2
2. Regular rename Class2 to Class3
3. Refactoring Undo

Proposed solution 1:
Disable regular rename

Proposed solution 2:
Disable Refactoring Undo after regular rename
Comment 3 Jan Becicka 2004-04-29 11:29:57 UTC
Hopefuly fixed.
/cvs/java/javacore/src/org/netbeans/modules/javacore/api/Attic/UndoManager.java,v
 <--  UndoManager.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
done

Comment 4 Marek Grummich 2004-05-20 11:16:29 UTC
There is no 'regular Rename' actio in the current builds.