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 98199 - deleting persistence.xml -> navigator -> exception
Summary: deleting persistence.xml -> navigator -> exception
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sonali Kochar
URL:
Keywords:
Depends on: 104229
Blocks:
  Show dependency tree
 
Reported: 2007-03-19 14:08 UTC by Radim Roska
Modified: 2007-08-28 09:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
error description (2.46 KB, text/plain)
2007-03-19 14:30 UTC, Radim Roska
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Radim Roska 2007-03-19 14:08:48 UTC
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)
Comment 1 Radim Roska 2007-03-19 14:30:34 UTC
Created attachment 39621 [details]
error description
Comment 2 Erno Mononen 2007-03-20 13:36:25 UTC
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.
Comment 3 Sonali Kochar 2007-05-22 17:41:12 UTC
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
Comment 4 Sonali Kochar 2007-06-20 22:49:25 UTC
Verified that the fix for 104229 has fixed this issue.
Comment 5 Radim Roska 2007-08-28 09:06:54 UTC
VERIFIED