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 210198 - IllegalArgumentException: skip value is negative
Summary: IllegalArgumentException: skip value is negative
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-27 13:53 UTC by zdenek.rod
Modified: 2012-04-12 08:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 186342


Attachments
stacktrace (2.19 KB, text/plain)
2012-03-27 13:53 UTC, zdenek.rod
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zdenek.rod 2012-03-27 13:53:53 UTC
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)
Comment 1 zdenek.rod 2012-03-27 13:53:59 UTC
Created attachment 117334 [details]
stacktrace
Comment 2 Jan Lahoda 2012-04-06 07:20:36 UTC
Is there some way for me to reproduce the problem? Thanks.
Comment 3 Jan Lahoda 2012-04-12 08:31:38 UTC
Sorry, but I really need to know how to reproduce the problem. Thanks.