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 271906

Summary: ArrayIndexOutOfBoundsException: 45
Product: editor Reporter: Vincenzo_HPO
Component: -- Other --Assignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: fanymagnet, mahmuddinnf
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 228670
Attachments: stacktrace

Description Vincenzo_HPO 2017-12-11 15:16:35 UTC
Build: NetBeans IDE 8.2 (Build 201705191307)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Linux

User Comments:
fanymagnet: ??? ?????? ? ?????????????? JS (doT.js) ????? ???????????? ?????? ? ????? <script type="text/plain" id="..."></script>

GUEST: Attempting to use PHP Fat Free Framework Template variables in html template file.

GUEST: input '{' in html.

mahmuddinnf: when diff

Vincenzo_HPO: edit a file html part <script type="html/tpl"> and out error

GUEST: ??dot???? ' " ??




Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: 45
   at org.netbeans.lib.editor.util.GapList.get(GapList.java:480)
   at org.netbeans.lib.lexer.JoinTokenList.moveIndexGap(JoinTokenList.java:655)
   at org.netbeans.lib.lexer.inc.JoinTokenListChange.replaceTokenLists(JoinTokenListChange.java:215)
   at org.netbeans.lib.lexer.inc.JoinTokenListChange.replaceTokens(JoinTokenListChange.java:287)
   at org.netbeans.lib.lexer.JoinTokenList.replaceTokens(JoinTokenList.java:592)
   at org.netbeans.lib.lexer.inc.TokenListUpdater.updateJoined(TokenListUpdater.java:596)
Comment 1 Vincenzo_HPO 2017-12-11 15:17:32 UTC
Created attachment 165555 [details]
stacktrace