Product Version: NetBeans IDE Dev (Build 080617)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.3 running on i386; MacRoman; en_US (nb)
- create new Java ME mobility project with HelloMidlet.
- in the HelloMidlet switch to the Flow View
- add WaitScreen component from the compoents palette
- switch to the Source view
Very often Netbeans throws during code generation java.lang.IllegalArgumentException: (endOffset=... - startOffset=...)
< (startGuardedLength=... + endGuardedLength=...)
more info in the stack.txt
Created attachment 63009 [details]
Most likely this issue is connected with this one 128705
I was testing this issue and it turned out it is big stopper for us we wont be able to release Mobility 6.5 M1 with this
issue because code generation of Visual Designer is seriously broken. Changing to P1.
Well, if issue #128705 causes overlapping guarded sections, it is likely to be the cause of this problem as well. So,
I'd suggest you first fix #128705 and we will then see if something needs to be fixed in CustomFoldManager.
Right know I'm not able to reproduce issue #12870 because code generation fails almost every time. It's most important
for us to make Visual Designer usable again and fix this issue. Also it's just my speculation that those two issues are
How do I install J2ME compatible platform? The Mobile Application project wizard is asking for one...
The IAE is caused by CustomFoldManager trying to insert bad folds. The folds added by CustomFoldManager are those for
guarded sections. So your speculation seems correct. Anyway, if you tell me where to get J2ME platform I'll try the
steps and see if we can somehow make CFM more resilient. Thanks
If you have NetBeans installed, you have one under mobility8/WTK2.5.2, otherwise get the one at
Thanks, I can reproduce it now.
Integrated into 'main-golden', available in NB_Trunk_Production #277 build
User: Vita Stejskal <firstname.lastname@example.org>
Log: #137591 (fixed): correct fold size computation; remove all marks in the modified area
Verified with NetBeans IDE Dev (Build 200806240008).
during investigation of this issue was discovered, that porting fix for this issue may require also porting of a
changeset for issue 133350 "CustomFoldManager requires old Syntax/SyntaxSupport". This would switch editor.lib module
from use of Syntax/SyntaxSupport to use of lexer.
I would like to ask QE to estimate&confirm this change is safe for NB 6.1 Patch3, because it could cause further issues
with NB 6.1 release.
Could you please justify nomination for 61fixes3-candidate?
Some background info:
#1 During my discussion with vstejskal it turned out that this issue may not be present in NB 6.1 source base. Vita said
it was likely introduced in a code which was significantly changed in trunk (6.5) due to implementation the issue
133350, changeset http://hg.netbeans.org/main/rev/c3c8d46c3eb3 .
#2 The initial report says "Product Version: NetBeans IDE Dev (Build 080617)", which is very likely trunk (6.5) source base.
#3 I am unable to reproduce it on NetBeans 6.1 Patch 2 (using the "Visual Designer Custom Components" sample)
I've ported this bugfix into release61_fixes repository as http://hg.netbeans.org/release61_fixes/rev/1fc3409608ad
pls help find solution to this bug: section overlap as it is causing a lot of setback
would you please re-phrase your request? This issue is marked as VERIFIED FIXED. The same applies to issue 128705
"sections overlap". Both issues are in such a state that no one is going to work on them, unless you find regression or
Did you find regression and/or reproducible case. Would you please shed some light on your request? Would you please
provide some details about your issue? Consider following issue reporting guideline available at