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 236575

Summary: IllegalArgumentException: Sections overlap
Product: guibuilder Reporter: jmedeiros <jmedeiros>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 4647
Attachments: stacktrace

Description jmedeiros 2013-09-30 22:49:05 UTC
Build: NetBeans IDE 7.4 RC1 (Build 201309162201)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows 7

User Comments:
GUEST: I put a button on the form, click with the right button, Events > Actions > ActionPerformed and this Exceptions occurrs.
What to do?

clayton@claytonfreitas.com.br

GUEST: using action performed actio while creating UDP chat application

jmedeiros: Trying to add an event for an internal frame

GUEST: i don't know which is the problem




Stacktrace: 
java.lang.IllegalArgumentException: Sections overlap
   at org.netbeans.modules.editor.guards.GuardedSectionsImpl.checkOverlap(GuardedSectionsImpl.java:316)
   at org.netbeans.modules.editor.guards.GuardedSectionsImpl.checkNewSection(GuardedSectionsImpl.java:305)
   at org.netbeans.modules.editor.guards.GuardedSectionsImpl.createInteriorSection(GuardedSectionsImpl.java:168)
   at org.netbeans.api.editor.guards.GuardedSectionManager.createInteriorSection(GuardedSectionManager.java:128)
   at org.netbeans.modules.form.JavaCodeGenerator.insertEvendHandlerSection(JavaCodeGenerator.java:3368)
   at org.netbeans.modules.form.JavaCodeGenerator.generateEventHandler(JavaCodeGenerator.java:3147)
Comment 1 jmedeiros 2013-09-30 22:49:06 UTC
Created attachment 140674 [details]
stacktrace