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 254808

Summary: IndexOutOfBoundsException: off < 0 || len < 0 || off+len > b.length || off+len < 0!
Product: utilities Reporter: peterhull90 <peterhull90>
Component: ImageAssignee: Jan Peska <JPESKA>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 215499
Attachments: stacktrace

Description peterhull90 2015-08-28 09:54:10 UTC
This issue was reported manually by peterhull90.
It already has 1 duplicates 


Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8

User Comments:
peterhull90: Editing/debugging Java
I was using Netbeans built-in image viewer tab at the same time as creating the images using ImageIO.




Stacktrace: 
java.lang.IndexOutOfBoundsException: off < 0 || len < 0 || off+len > b.length || off+len < 0!
   at javax.imageio.stream.MemoryCacheImageInputStream.read(MemoryCacheImageInputStream.java:100)
   at com.sun.imageio.plugins.common.SubImageInputStream.read(SubImageInputStream.java:61)
   at com.sun.imageio.plugins.common.InputStreamAdapter.read(InputStreamAdapter.java:47)
   at java.io.SequenceInputStream.read(SequenceInputStream.java:208)
   at java.io.SequenceInputStream.read(SequenceInputStream.java:211)
   at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:238)
Comment 1 peterhull90 2015-08-28 09:54:12 UTC
Created attachment 155715 [details]
stacktrace