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.
[Release32-22] Try to Copy/Paste on initializers. Exceptions are thrown.
Created attachment 1027 [details] Exception
It is inside indentation engine. Static initializers are OK, although they are sometimes strangely indented. Copy/paste on nonstatic initializer, however produces a NPE - please see the second attachment.
Created attachment 1028 [details] NPE thrown from IndentWriter.
Yes, it was bug in editor's indentation engine. (fixed in ExtFormatSupport.java 1.10.4.1) As for strange indentation: issue http://www.netbeans.org/issues/show_bug.cgi?id=11210 was created for it
[010502_1] Verified
Target milestone -> 3.2
Resolved for 3.3.x or earlier, no new info since then -> closing.