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:||The file xxx.java seems to be too large (1 Mb) to safely open.|
|Component:||Open File||Assignee:||Jaroslav Havlin <jhavlin>|
|OS:||Windows 10 x64|
|Issue Type:||DEFECT||Exception Reporter:|
Description sjibben 2017-12-21 14:49:13 UTC
The warning: The file xxx.java seems to be too large (1Mb) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you really want to open it? (Yes/No buttons) appears when opening a large .java file. The Yes/No buttons work fine. The problem is that Netbeans prompts with this message every time I load Netbeans now. I press the No button and the dialog goes away (and the file does not load) I press the Yes button and the file is loaded. Then I close the file. In either situation the next time I load NetBeans, it will again prompt me regarding this file that I opened two weeks ago. I want NetBeans to re-open the files that I had open last session but even though this file is closed, the dialog keeps coming back.