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.
I just updated to the latest version of the XML modules (beta3), and switched projects in NetBeans to one which had an Ant build.xml open in the source editor (I also have the Ant module installed). The file opened okay, but the window title and tab label both showed "null [read only]". The popup tooltip for the tab did show the correct filename and path, however. In the Explorer, I navigated to a directory containing some xml files (another build.xml and a J2EE application.xml & ejb-jar.xml). On expanding the directory in the Explorer, their icons had no filename beside them. Trying to open one by double-clicking produced an IllegalArgumentException (I'll attach the ide.log).
Created attachment 3902 [details] ide.log containing exception
Hello. I need more info. Is it reproducable? If yes, could you write steps to reproduce. It looks strange, hard to reproduce.
Reproducable? I guess so. I disabled the XML modules & restarted NetBeans earlier, and the Explorer started showing the filenames again (though, obviously, I could only edit them in the text form). Having now re-enabled the modules, I've just restarted NetBeans and (without changing projects, just in the current one) all the XML files have no name. If it were only the build.xml files affected, I might have thought it was a conflict with the Ant module, but it looks like it's affecting all XML files. Also, it happens to files in a mounted local directory as well as the Generic VCS (Clearcase) filesystems, so I don't think it's the VCS stuff.
This could be problem with Looks API.
It seems that it is fixed in XML module RC1. Could you reevaluate it? Thanks a lot
When I updated to RC1, it did the same again. However, I found that disabling the Ant module fixed it. Later (after restarting a couple of times) I re-enabled the Ant module and it carried on working okay. I've also installed from scratch on another PC today, enabling the Ant module initially and subsequently installing the RC1 XML module from the update center. This time it worked just fine, didn't have any trouble with blank names. Very strange. Perhaps the original machine had a corrupted configuration or something.
Thanks! PS: Does even newly opened files have empty name or just files restored from saved project?
VERIFIED
Resolved for 3.4.x or earlier, no new info since then -> closing.