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.
Summary: | BufferUnderflowException when opening project | ||
---|---|---|---|
Product: | cnd | Reporter: | Vladimir Kvashin <vkvashin> |
Component: | Code Model | Assignee: | Alexander Simon <alexvsimon> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
netbeans userdir
cnd model cache The project that was open the content of /var/tmp/vk155633-cnd65-caches-0/%2Fusr%2Fsfw%2Flib%2Fgcc%2Fi386-pc-solaris2.10%2F3.4.3%2FincludeL |
Description
Vladimir Kvashin
2009-02-10 11:30:48 UTC
Created attachment 76781 [details]
netbeans userdir
Created attachment 76782 [details]
cnd model cache
The project I opened was /home/vk155633/NetBeansProjects/DLight_Simple_Tests with configuration GNU Created attachment 76783 [details]
The project that was open
An error occurs (in particular) when restoring CsmFile that corresponds to stdio.h Repository unit that fails: "/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/includeL" chunkInfo.getOffset() returns 151965 while file is only 58K Created attachment 76787 [details]
the content of /var/tmp/vk155633-cnd65-caches-0/%2Fusr%2Fsfw%2Flib%2Fgcc%2Fi386-pc-solaris2.10%2F3.4.3%2FincludeL
After I removed cache for /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/include, exceptions disappeared; cache-0-data is now 87K instead of 58K (but I don't know fragmentation ration neither for old nor for new one) I guess the situation is related with incorrect shutdown of the IDE (kill -9 or so) - my guess is that under some circumstances the cache is not invalidated when it should. But it's just a guess. Integrated into 'main-golden', will be available in build *200904300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cf657de5684a User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing IZ#158277:BufferUnderflowException when opening project fixed by recovering errors: - error on lading project from repository: clean repository and reparse project - error while working wit project: repository will be cleaned on closing project *** Issue 121305 has been marked as a duplicate of this issue. *** Integrated into 'main-golden', will be available in build *200905010201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0777e37c4058 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed IZ#158277:BufferUnderflowException when opening project - recover after error *** Issue 120742 has been marked as a duplicate of this issue. *** |