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 271248 - Netbeans editor locks up opening a file
Summary: Netbeans editor locks up opening a file
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.0.2
Hardware: PC Windows 10 x64
: P2 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 01:30 UTC by DHAnderson
Modified: 2017-08-21 22:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Dump file after the problem occured (36.50 KB, text/plain)
2017-08-09 01:30 UTC, DHAnderson
Details
The file that causes crashing (25.65 KB, text/plain)
2017-08-09 01:32 UTC, DHAnderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description DHAnderson 2017-08-09 01:30:37 UTC
Created attachment 164915 [details]
Dump file after the problem occured

I have one file that when opened will lock up the editor.

The main window can be moved, but nothing else works.  Netbeans can only be closed by the Task Manager.

There is a Mercurial repository for the project, but copying all the source files to a new folder does not fix the locking up.

The file can be opened and edited without any issues by Notepad++

The file originally had <editor-fold> statements in it and the file could be opened, but the editor would hang as soon as an <editor-fold> was clicked on to expand the section.  It did not matter which <editor-fold> I would try to expand.

I used Notepad++ to remove all <editor-fold> references.  No the file locks up the editor when it is opened.
The Navigator can see all the methods if you single click on the file in the Project list, but if you right click on a method and select goto source, the editor hangs.
Comment 1 DHAnderson 2017-08-09 01:32:04 UTC
Created attachment 164916 [details]
The file that causes crashing
Comment 2 DHAnderson 2017-08-10 18:20:00 UTC
I moved the file from one sub-project (Maven) to another and was able to open it and perform heavy editing with out any issue.

I then Moved the file back to its original sub-project. After a restart of Netbeans I tried to open the file and it opened, but hung when I tried to expand the <editor-fold>
Comment 3 DHAnderson 2017-08-21 22:38:56 UTC
The file is causing the same issues today.