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 241074 - NullPointerException at org.netbeans.modules.refactoring.java.ui.InnerToOuterRefactoringUI.create
Summary: NullPointerException at org.netbeans.modules.refactoring.java.ui.InnerToOuter...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 19:52 UTC by tnleeuw
Modified: 2014-02-01 05:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 207049


Attachments
stacktrace (5.09 KB, text/plain)
2014-01-28 19:52 UTC, tnleeuw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tnleeuw 2014-01-28 19:52:31 UTC
Build: NetBeans IDE Dev (Build 201401230001)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows Vista

User Comments:
tnleeuw: I attempted refactoring "Move Inner to Outer", probably with cursor in wrong place for this refactoring (somewhere inside an anonymous inner class which I want to refactor into a top-level class)




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.refactoring.java.ui.InnerToOuterRefactoringUI.create(InnerToOuterRefactoringUI.java:169)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$1.createRefactoringUI(ContextAnalyzer.java:117)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:374)
   at org.netbeans.modules.refactoring.java.ui.ContextAnalyzer$TextComponentTask.run(ContextAnalyzer.java:299)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:493)
   at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:593)
Comment 1 tnleeuw 2014-01-28 19:52:32 UTC
Created attachment 144482 [details]
stacktrace
Comment 2 Ralph Ruijs 2014-01-30 12:47:38 UTC
changeset   : 1774c9b49303
author      : Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
date        : Thu Jan 30 13:26:21 CET 2014
summary     : #241074 - NullPointerException at org.netbeans.modules.refactoring.java.ui.InnerToOuterRefactoringUI.create
Comment 3 Quality Engineering 2014-02-01 05:45:53 UTC
Integrated into 'main-silver', will be available in build *201402010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1774c9b49303
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #241074 - NullPointerException at org.netbeans.modules.refactoring.java.ui.InnerToOuterRefactoringUI.create