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 218063 - 6 instances of Symtab
Summary: 6 instances of Symtab
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Dusan Balek
Depends on:
Blocks: 217339
  Show dependency tree
Reported: 2012-09-10 11:09 UTC by Tomas Hurka
Modified: 2013-01-21 12:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2012-09-10 11:09:17 UTC
Heap dump contains 6 instances of It looks like this is similar to issue #217339.

Product Version = NetBeans IDE Dev (Build 20120817-b01a4345a0b9)
Operating System = Linux version 3.2.0-29-generic-pae running on i565
Java; VM; Vendor = 1.6.0_30
Runtime = Java HotSpot(TM) Client VM (20.5-b03, mixed mode, sharing)

I will add link to heap dump.
Comment 1 Tomas Hurka 2012-09-10 11:42:18 UTC
Heap dump is available here:
Comment 2 Jan Lahoda 2012-09-10 13:06:52 UTC
I think I have found it:
1. start a code template (fore<SPACE>)
2. Undo (Ctrl-Z)

This will release() the CodeTemplateInsertHandler through the TemplateInsertUndoEdit, but won't remove it from the Document's properties. Simplest solution would be to clear the Document property: doc.putProperty(CT_HANDLER_DOC_PROPERTY, null)
in TIUE, but I am not sure what is the relation to embedded code templates.

Dusan, could you please take a look?

Comment 3 Dusan Balek 2012-09-11 14:00:16 UTC
Fixed in jet-main.
Comment 4 Quality Engineering 2012-09-12 02:09:02 UTC
Integrated into 'main-golden', will be available in build *201209120001* on (upload may still be in progress)
User: Dusan Balek <>
Log: Issue #218063: 6 instances of Symtab - fixed.