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.
This bug was originally marked as duplicate of bug 165255, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201203120400) VM: Java HotSpot(TM) Client VM, 20.6-b01, Java(TM) SE Runtime Environment, 1.6.0_31-b05 OS: Windows 7 User Comments: zdenek.rod: Preview for rename using refactoring. Stacktrace: java.lang.IllegalArgumentException: skip value is negative at java.io.Reader.skip(Reader.java:161) at org.netbeans.api.java.source.ModificationResult.commit(ModificationResult.java:306) at org.netbeans.api.java.source.ModificationResult.getResultingSource(ModificationResult.java:452) at org.netbeans.modules.refactoring.java.spi.DiffElement.getNewFileContent(DiffElement.java:145) at org.netbeans.modules.refactoring.spi.AccessorImpl.getNewFileContent(AccessorImpl.java:82) at org.netbeans.modules.refactoring.spi.impl.PreviewManager.refresh(PreviewManager.java:134)
Created attachment 117334 [details] stacktrace
Is there some way for me to reproduce the problem? Thanks.
Sorry, but I really need to know how to reproduce the problem. Thanks.