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 269918 - IndexOutOfBoundsException: index=1 >= size()=1
Summary: IndexOutOfBoundsException: index=1 >= size()=1
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Lexer (show other bugs)
Version: 8.2
Hardware: All All
: P1 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-24 12:12 UTC by Alniks
Modified: 2017-11-14 02:58 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 226956


Attachments
stacktrace (4.41 KB, text/plain)
2017-02-24 12:12 UTC, Alniks
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alniks 2017-02-24 12:12:43 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Windows 10

User Comments:
GUEST: rewrite on file .php in tags <script> from $('blabla').keypress(function(){}); to $('blabla').on('keypress mouseleave', function(){})

apolinux: i'm working in a project with meteor js. The problem happens when I try to create some tags in html page, example dl
I can't do enter to create new line after create <dl></dl>

GUEST: After this problem enter Key doesn't work

GUEST: why

GUEST: type text double quotations

GUEST: Hang

GUEST: Open the blade template and copy & paste "{{ Stream }}"

GUEST: <!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="">
        <meta name="author" content="">
        <title>Home | {{$config['site_title']}}</title>
        @include('blocks.html_head')
    </head><!--/head-->

    <body>
        <header id="header"><!--header-->
            @include('blocks.header')
        </header><!--/header-->

        <section id="slider"><!--slider-->
            @include('blocks.home-slide')
        </section><!--/slider-->

        <section>
            <div class="container">
                <div class="row">
                    <div class="col-sm-3">
                        <div class="left-sidebar">
                            {!! Blocks::create('menu_categories') !!}

                            <!--/brands_products-->
                            {{-- @include('blocks.brands') --}}
                            {{-

Alniks: after submitting report

GUEST: Hang when i delete code

GUEST: Editing my php proyecct

GUEST: hang when delete angularjs tag

GUEST: 1

GUEST: NetBeans seems to have a problem with double "{" or "}" in HTML code. I am using these expressions quite a lot for my Angular application. But it happens quite often that the editor freezes when I want to continue after these expressions...

GUEST: Jai juste enregistr
Comment 1 Alniks 2017-02-24 12:12:46 UTC
Created attachment 163704 [details]
stacktrace
Comment 2 CaptainHypertext 2017-06-15 20:24:20 UTC
I think it was having problems with this line:

{{-- <dt>Client:</dt> <dd><a href="/contacts/view/{{ $opp->contact_id }}" class="text-navy">{{ $opp->contact->name }}</a> </dd> --}} 

Which in Laravel blade syntax, is a commented out line that employs a few php variables.
Comment 3 Exceptions Reporter 2017-11-14 02:58:21 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=226956