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 216199

Summary: NullPointerException at org.netbeans.modules.refactoring.java.ui.MoveClassUI$RefactoringUIFactory.create
Product: java Reporter: mps77 <mps77>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal CC: emiddio, jason3421, manikantannaren
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 191173
Attachments: stacktrace
stacktrace
stacktrace
stacktrace

Description mps77 2012-07-31 13:40:13 UTC
Build: NetBeans IDE Dev (Build 201207020907)
VM: Java HotSpot(TM) Client VM, 24.0-b08, Java(TM) SE Runtime Environment, 1.8.0-ea-b36
OS: Windows XP

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.refactoring.java.ui.MoveClassUI$RefactoringUIFactory.create(MoveClassUI.java:326)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$1.createRefactoringUI(ContextAnalyzer.java:116)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:375)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:300)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:488)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:583)
Comment 1 mps77 2012-07-31 13:40:16 UTC
Created attachment 122584 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-12-29 14:02:54 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=191173
Comment 3 jason3421 2015-02-05 00:15:19 UTC
Created attachment 151824 [details]
stacktrace

refactoring a class to another maven module
Comment 4 Exceptions Reporter 2015-04-09 10:06:31 UTC
Created attachment 153111 [details]
stacktrace

Refactor -> Move... on an inner public static enum.
Comment 5 manikantannaren 2015-08-14 02:57:43 UTC
Created attachment 155334 [details]
stacktrace

1. Selected an Enum defined within a class by double clicking on enum name
2. Right click PopUp|Refactor|Move
3. Got this exception
Comment 6 Martin Balin 2016-07-07 07:17:09 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss