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.
It is caused by issue #23065. DataObject.find() can sometimes return invalid DO when its primary file was just created. It often happens on Solaris, JDK 1.4.0-b92 when new project is opened. This issue was also part of issue #24586. After discussion with Dafe we decided not to remove check of DO validity in ModeData when files wstcref because we could hide some other problems. Steps to reproduce: 1.Open IDE with empty user dir. 2.Open any txt file in Source Editor (README.txt) 3.Open new project. Sometimes FileNotFoundException is logged to ide.log and to console for file README.wstcref. (We check if FO and DO is valid before we create instance of top component in TCRefImpl.getTopComponent(). Result is that if you switch back to original project not saved top component references will not be reopened.
As issue #23065 is fixed I tested it on Solaris. I works though I observed deadlock. I filled issue #25371. Marking as WORKSFORME.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.
A CLOSED issue mistakenly moved into a NEW state... closing again...
... step 2...
... step 3. CLOSED.