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.
NetBeans IDE Dev (Build 200703181900) 1.5.0_08; Java HotSpot(TM) Client VM 1.5.0_08-b03 Linux version 2.6.17-11-generic running on i386 en_US (nb); UTF-8 1. In ear project create persistence unit 2. make sure navigator view is opened 3. select persistence unit... 4. delete it in project view 5. it is still opened in navigator view, and when click on some node in it exception occurs ( see attachement) 6. after exception, you can view contain of xml file in navigator, and its opened in editor (another exception)
Created attachment 39621 [details] error description
This doesn't seem to be related to persistence.xml per se. You can reproduce this with any xml file, just make sure that there are no other files that the navigator can display in the same folder as the file you're deleting. Reassigning to xml/navigator for further evaluation.
This was working in Netbeans 5.5 The Navigation is broken for java and xsd files too. Have filed bug# 104229 on core navigation http://www.netbeans.org/issues/show_bug.cgi?id=104229
Verified that the fix for 104229 has fixed this issue.
VERIFIED