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 222668 - Unsymmetric call of scanStarted and scanFinished on BinaryIndexerFactory
Summary: Unsymmetric call of scanStarted and scanFinished on BinaryIndexerFactory
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-23 15:09 UTC by Tomas Zezula
Modified: 2012-11-24 13:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2012-11-23 15:09:44 UTC
The calls of BinaryIndexerFactory.scanStarted() and BinaryIndexerFactory.scanFinished() may be un symmetric if either the indexer throws an exception from scanStarted (scanFinished) or the internal exception happens in scanStarted. This may break indexers invariants, for example java.source TransactionContext will throw ISE.
Comment 1 Tomas Zezula 2012-11-23 15:15:49 UTC
Fixed jet-main c0ed43aa4b55
Comment 2 Quality Engineering 2012-11-24 13:09:22 UTC
Integrated into 'main-golden', will be available in build *201211240959* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/c0ed43aa4b55
User: Tomas Zezula <tzezula@netbeans.org>
Log: #222668:Unsymmetric call of scanStarted and scanFinished on BinaryIndexerFactory