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 137423

Summary: Method is not generated on adding an Entry Point in the Flow Designer
Product: javame Reporter: Andrei Chistiakov <ca-nb>
Component: Visual DesignerAssignee: Karol Harezlak <kharezlak>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description Andrei Chistiakov 2008-06-17 13:04:21 UTC
Reproduced with NetBeans IDE Dev (Build 200806160002).

To reproduce the issue:

- create MIDP application;
- switch editor to Flow view;
- add and Entry Point on the Flow background;
- switch to Source view;
java.lang.IllegalArgumentException: (endOffset=5404 - startOffset=5410) < (startGuardedLength=75 + endGuardedLength=40)
	at org.netbeans.api.editor.fold.Fold.<init>(Fold.java:129)
	at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.createFold(FoldHierarchy.java:352)
	at org.netbeans.modules.editor.fold.FoldOperationImpl.createFold(FoldOperationImpl.java:155)
....
- close the message above.

There is no generated method in source.
Comment 1 Karol Harezlak 2008-06-17 14:46:05 UTC

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