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 100130

Summary: IOOBE during editing js file
Product: javascript Reporter: Lukasz Grela <lgrela>
Component: EditorAssignee: Daniel Prusa <dprusa>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: stacktrace

Description Lukasz Grela 2007-04-05 16:51:42 UTC
1) paste below code into js file
ala="\xag";| "\x400"
2)the pipe represent position of cursor
3)press enter -> the exception should be thrown
Comment 1 Lukasz Grela 2007-04-05 16:52:02 UTC
Created attachment 40510 [details]
stacktrace
Comment 2 Daniel Prusa 2007-04-11 11:47:32 UTC
I cannot reproduce it. May be, it is dependent on context of the assignement
statement, can you attach the whole javascript file for reproduction, please?
Comment 3 Martin Schovanek 2007-04-11 16:45:08 UTC
Reproducible in build #070411 in case the sample code is on the last line (no \n
behind it).
Comment 4 Daniel Prusa 2007-04-12 08:38:02 UTC
Fixed.

/cvs/languages/engine/src/org/netbeans/modules/languages/features/IndentAction.java
new revision: 1.5; previous revision: 1.4
Comment 5 Radim Roska 2007-08-07 08:58:55 UTC
VERIFIED