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 165667

Summary: assert when doing remote profiling
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Hurka 2009-05-21 08:17:31 UTC
[Reported by Bill Pittore]

when I hit 'Reset Collected Results Buffer' button in Live results screen.  It hits assert in EventBufferDumpedCommand.readObject():

               assert originalSize==bufSize;
Comment 1 Tomas Hurka 2009-05-21 08:20:05 UTC
[Evaluation from Bill]

The compressedBytes buffer was set to be the same size as the incoming buffer.  However, for small buffers, the compressed size can be somewhat larger 
than the original so some of compressed bytes never made it into the buffer. 
Comment 2 Tomas Hurka 2009-05-21 08:23:17 UTC
Must be fixed in NB 6.7
Comment 3 Tomas Hurka 2009-05-21 09:06:35 UTC
Fixed in profiler-main.
changeset:   132575:966cfa7dfe3b
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu May 21 10:05:32 2009 +0200
summary:     bugfix #165667, for small buffers, the compressed size can be somewhat larger than the original

Comment 4 Quality Engineering 2009-05-22 07:22:41 UTC
Integrated into 'main-golden', will be available in build *200905220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/966cfa7dfe3b
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #165667, for small buffers, the compressed size can be somewhat larger than the original
Comment 5 matusdekanek 2009-06-09 13:34:08 UTC
seems to work, marking verified