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.
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4251-on-091107) VM: Java HotSpot(TM) Client VM, 14.0-b13, Java(TM) SE Runtime Environment, 1.6.0_14-ea-b04 OS: Windows XP, 5.1, x86 User Comments: GUEST: Inner to outer class. GUEST: Refactoring inner to outer class. i30817: extracting a private static abstract class DocumentAdapter implements DocumentListener (from swing) with empty metods inner to outer did this. Stacktrace: java.lang.AssertionError at org.netbeans.api.java.source.JavaSource$JavaSourceAccessorImpl.getJavacTask(JavaSource.java:732) at org.netbeans.modules.java.source.pretty.VeryPretty.<init>(VeryPretty.java:162) at org.netbeans.modules.java.source.pretty.VeryPretty.<init>(VeryPretty.java:168) at org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotationsFormatted(VeryPretty.java:1584) at org.netbeans.modules.java.source.pretty.VeryPretty.printAnnotations(VeryPretty.java:1607) at org.netbeans.modules.java.source.pretty.VeryPretty.visitMethodDef(VeryPretty.java:560)
Created attachment 91139 [details] stacktrace
Created attachment 91262 [details] stacktrace
Created attachment 91959 [details] stacktrace
Move inner to outer refactoring seems completely broken because of this.
http://hg.netbeans.org/jet-main/rev/937f1a586924
The patch is fine I think.
verified in trunk, please integrate the fix into release68
Fixed in release68: http://hg.netbeans.org/release68?cmd=changeset;node=01731b363d1e
verified in 6.8
Integrated into 'main-golden', will be available in build *200912030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/937f1a586924 User: Jan Lahoda <jlahoda@netbeans.org> Log: #176955: always passing CompilationInfo to VeryPretty - this is needed since fix for #124102.
Created attachment 92554 [details] stacktrace