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 165732 - NullPointerException at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$8.createRefactoringUI
Summary: NullPointerException at org.netbeans.modules.refactoring.java.ui.RefactoringA...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 120577
Blocks:
  Show dependency tree
 
Reported: 2009-05-21 17:21 UTC by mjr_1974
Modified: 2009-05-23 06:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 151584


Attachments
stacktrace (3.31 KB, text/plain)
2009-05-21 17:21 UTC, mjr_1974
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mjr_1974 2009-05-21 17:21:31 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-11-generic, i386

User Comments:
mjr_1974: I renamed some methods and static fields in a class, but I did not see the exception until later...



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$8.createRefactoringUI(RefactoringActionsProvider.java:395)
        at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:714)
        at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:683)
        at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:680)
        at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:607)
        at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:720)
Comment 1 mjr_1974 2009-05-21 17:21:46 UTC
Created attachment 82575 [details]
stacktrace
Comment 2 Jan Pokorsky 2009-05-21 18:09:47 UTC
The root of this is an issue #120577. I can at least get rid of the NPE notification.
Comment 3 Jan Pokorsky 2009-05-22 10:21:39 UTC
http://hg.netbeans.org/jet-main/rev/8a6ca676de56
Comment 4 Quality Engineering 2009-05-23 06:55:34 UTC
Integrated into 'main-golden', will be available in build *200905230201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8a6ca676de56
User: Jan Pokorsky <jpokorsky@netbeans.org>
Log: #165732: handle unexpected NPE gracefully