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: | java.lang.AssertionError when press enter after /** | ||
---|---|---|---|
Product: | editor | Reporter: | Petr Pisl <ppisl> |
Component: | CSL (API & infrastructure) | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | blocker | CC: | jlahoda, mfukala |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | The AssertionError |
Description
Petr Pisl
2008-04-18 15:45:49 UTC
Created attachment 60418 [details]
The AssertionError
This is not reproducible in release61-php. Parsing under document lock is not allowed (to prevent deadlocks). GSF, to my knowledge, does not directly support documentation generators (i.e. "/**<Enter>"), and I do not think this can be properly fixed in the language plugin (without having own kit, etc.). I have workarounded the problem in PHP by delaying the generation of the documentation, but this is quite ugly: http://hg.netbeans.org/main/rev/845ae3d8b89e In Java, the doc. generator runs inside the InsertBreakAction, but outside the document atomic lock. This is a feature not yet supported by GSF. It is included in the TODO list for GSF (see the Keystroke handler section of http://wiki.netbeans.org/GsfIssues). Not a P2 bug for 6.5. Moving from ruby/GSF to editor/CSL. Step one: assign to myself ;-) Step 2: trying to make the owner not myself but the owner of the subcomponent. |