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 270344

Summary: IndexOutOfBoundsException: end < start (-1 < 5167)
Product: editor Reporter: skaplon <skaplon>
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 214595
Attachments: stacktrace

Description skaplon 2017-04-10 12:16:30 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Linux

User Comments:
skaplon: Opened netbeans, existing project comes pre-loaded, exception seems to happen while parsing some file

GUEST: Starting NetBeans.

GUEST: empty

GUEST: Just viewing code.

GUEST: Add Libraries to Project

GUEST: Editing a EJB class. Class uses lombok annotations, just in case.




Stacktrace: 
java.lang.IndexOutOfBoundsException: end < start (-1 < 5167)
   at org.netbeans.spi.editor.hints.ErrorDescriptionFactory.createErrorDescription(ErrorDescriptionFactory.java:231)
   at org.netbeans.modules.j2ee.ejbverification.HintsUtils.createProblem(HintsUtils.java:126)
   at org.netbeans.modules.j2ee.ejbverification.rules.BusinessMethodExposed.run(BusinessMethodExposed.java:169)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Comment 1 skaplon 2017-04-10 12:16:32 UTC
Created attachment 164062 [details]
stacktrace