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 104563 - Implement all abstract methods tries to insert into guarded block and fails
Summary: Implement all abstract methods tries to insert into guarded block and fails
Status: RESOLVED DUPLICATE of bug 90424
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 105532 106750 109070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-23 01:43 UTC by _ tboudreau
Modified: 2007-09-26 09:14 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 _ tboudreau 2007-05-23 01:43:56 UTC
Create a new JPanel form from template.  Have it implement some interface.  Use
the hint to implement all abstract methods.

SEVERE [global]
org.netbeans.editor.GuardedException: Attempt to insert into guarded block at po
sition 4,347.
        at org.netbeans.editor.GuardedDocument.preInsertCheck(GuardedDocument.ja
va:156)
        at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:548)
        at org.netbeans.api.java.source.ModificationResult.commit(ModificationRe
sult.java:94)
Caused: java.io.IOException
        at org.netbeans.api.java.source.ModificationResult.commit(ModificationRe
sult.java:105)
        at org.netbeans.api.java.source.ModificationResult.commit(ModificationRe
sult.java:67)
[catch] at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods$Fi
xImpl.implement(ImplementAllAbstractMethods.java:165)
        at org.netbeans.modules.editor.hints.HintsUI$1.run(HintsUI.java:520)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539)

        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java
:964)
Comment 1 Peter Pis 2007-06-05 08:35:43 UTC
*** Issue 105532 has been marked as a duplicate of this issue. ***
Comment 2 Jiri Prox 2007-06-15 08:11:01 UTC
*** Issue 106750 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Prox 2007-07-09 10:54:19 UTC
*** Issue 109070 has been marked as a duplicate of this issue. ***
Comment 4 Max Sauer 2007-08-21 14:07:47 UTC

*** This issue has been marked as a duplicate of 90424 ***