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.
Steps to reproduce: - add ' in the end of fortran file. See exception in message log: INFO [org.netbeans.modules.editor.lib2.typinghooks.TypedTextInterceptorsManager]: TypedTextInterceptor crashed in insert(): org.netbeans.modules.cnd.editor.fortran.FortranTTIFactory$TypedTextInterceptorImpl@70005038 javax.swing.text.BadLocationException: Invalid (offset=293 + length=1)=294 > (docLen+1)=293 at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkBoundsInContent(EditorDocumentContent.java:311) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.getChars(EditorDocumentContent.java:231) at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:810) at org.netbeans.editor.DocumentUtilities.copyText(DocumentUtilities.java:97) at org.netbeans.editor.BaseDocument.getChars(BaseDocument.java:1204) at org.netbeans.editor.BaseDocument.getChars(BaseDocument.java:1183) at org.netbeans.modules.cnd.editor.fortran.FortranBracketCompletion.completeQuote(FortranBracketCompletion.java:329) at org.netbeans.modules.cnd.editor.fortran.FortranBracketCompletion.charInserted(FortranBracketCompletion.java:104) at org.netbeans.modules.cnd.editor.fortran.FortranTTIFactory$TypedTextInterceptorImpl.insert(FortranTTIFactory.java:79)
fixed in enum, branch release82, change set 57c79bb5b95f
Integrated into 'main-silver', will be available in build *201611100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/f744d198bab2 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #267952 Exception in fortran editor.file (transplanted from 57c79bb5b95f40b5dc3b63d3ecc45131ce0654c3)
Verified in internal NetBeans 8,2 patch 1 build.