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.
Tried to open up a context.xml file and got a blank screen (see screen shot), and when I try to close it all I get is NPE's and the document doesnt close. And the file does have stuff in it and is easily readable by say notepad or anything else. Closing out the IDE and trying to re-open the file doesnt help. Also, using the same files on Linux with 3.6 beta everything opened fine with no errors.
Created attachment 13536 [details] stack trace
Created attachment 13537 [details] screen shot of whats happening
Is the file location is <webmodule-dir>/META-INF/context.xml and the double-click happen on the node under the mounted <webmodule-dir> ? If not then this is a duplicate of another bug that is being fixed by Pavel related to behaviour of context.xml from non-webmodule mount.
Yes, if you look in the screen shot you can see it is in a web-module directory. I tried to open it from the mounted web-module document path and got the results I described. It still may be related though, because it looks like the META-INF directory isn't being treated any differently then a regular folder. Although I dont know if its supposed to be either.
I cannot reproduce the issue with latest code on Win XP, however I went ahead put the check for null to prevent the NPE. I close the bug for now, if still see other problems with this test case, please feel free to reopen with new details. Thanks.
Downloaded the latest dev. build (2/19/04), and the problem does appear to be fixed.