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.
Created attachment 142686 [details] Screen shot - blank editor All of a sudden, the editor panel is empty. Not sending this to Bug 231614, because that bug's owner told me to file a new bug. Product Version: NetBeans IDE 7.4 (Build 201310111528) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.5.0-17-generic running on i386; UTF-8; en_US (nb) My comment from Bug 231614: The bug shows randomly in a small project with *.java sources only. The navigator shows the content of the invisible file just fine. There is even a balloon help with the *.java file name when the cursors hoovers over the blank panel. The empty panel shows if the "Source" view is selected. Selecting "History" shows the history of the file, but clicking on a revision caused the IDE to freeze. No CVS is used by the project.
Created attachment 142688 [details] Netbeans log
When searching for a class in an affected file (CTRL+O), a message shows "Lengthy operation in progress, calculating declaration position". The operation does not seem to complete. Different files are affected after IDE restart.
I downgraded to 7.3.1 with 7.4's copylibs, and the editor works ok on the same projects.
Reporter, please attach a thread dump when the editor window is empty. Also, are there any exact steps to reproduce this problem?
I've been experiencing this exact issue, with the same NetBeans version and Java, but with Windows 7 64 bit. Product Version: NetBeans IDE 7.4 (Build nbms-and-javadoc-910-on-20131119) Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) Please see the attached thread dump.
Created attachment 143969 [details] thread dump of running IDE experiencing the issue
Forgot to add some notes on this as per reproducibility: it seems to happen randomly. The only thing I've noticed is that it happens on a fresh startup of the IDE, never while the IDE is in use, though I've also noticed that if the IDE seems to be responding strangely slow (strange in the sense that it isn't taking up much or any cpu and memory resources are not running low) and I restart the IDE to see if that will clear it up, this issue seems to happen. One workaround that I've found it to just use an earlier version of the IDE for a while. Version 7.3 works fine while this is occurring with 7.4. This is good for my productivity, but also means I haven't spent much time looking deeper into this. Sorry...
Shutting down the affected IDE and clearing its Cache has fixed the issue for me twice now.
Editor initialization seems to be stuck in org.openide.text.DocumentOpenClose.open(DocumentOpenClose.java:256)