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.
Summary: | StringIndexOutOfBoundsException: String index out of range: 1924 | ||
---|---|---|---|
Product: | java | Reporter: | brettryan <brettryan> |
Component: | Editor | Assignee: | Dusan Balek <dbalek> |
Status: | NEW --- | ||
Severity: | normal | CC: | achirizzi, assylias, everflux, fillumina, FiruzzZ, hmichel, iluvtr, jbosboom, KevinAnderson, locked, misterm, terje7601, wjdhamilton, zmirc |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 202826 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace Sample project stacktrace stacktrace |
Description
brettryan
2014-01-30 11:49:28 UTC
Created attachment 144579 [details]
stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=202826 Created attachment 146372 [details]
stacktrace
Adding the "e -> e.getJob()" in the following expression in java editor:
return employees.stream().filter(e -> e.getJob())
Created attachment 146615 [details]
stacktrace
.
Created attachment 147091 [details]
stacktrace
Editing some Java code with lambda expressions.
Created attachment 147092 [details]
stacktrace
Editing some Java ode with lambda expressions.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=202826 Created attachment 147093 [details]
Sample project
I am not sure it will be 100% reproducible for you, but for me it is.
Steps:
1. Open the source file ResumoTest.java, available in this attached project
2. At position 29:36 hit the CC (Ctrl + Space for my Linux)
3. This exception is thrown
Somethime the CC call in step 2 need to be hitted more than once, but I always can reproduce it.
BTW, I have built the IDE in my workstation. Product Version: NetBeans IDE Dev (Build 20140501-26bedde19dc9) Java: 1.8.0_05; Java HotSpot(TM) 64-Bit Server VM 25.5-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13 System: Linux version 3.11.0-20-generic running on amd64; UTF-8; en_US (nb) Created attachment 149706 [details]
stacktrace
typing around in the IDE with java 8 stream features
Created attachment 149946 [details]
stacktrace
Editing a test case. Trying to add the following line:
LocalDate expiry = collat.getExpiryDate().ifPresent(() -> fail("There should be no date here"));
|