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 18862 - Names of files not being found with new beta version
Summary: Names of files not being found with new beta version
Status: CLOSED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P4 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-20 11:33 UTC by ats37
Modified: 2007-09-25 01:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log containing exception (21.97 KB, text/plain)
2001-12-20 11:36 UTC, ats37
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ats37 2001-12-20 11:33:43 UTC
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).
Comment 1 ats37 2001-12-20 11:36:14 UTC
Created attachment 3902 [details]
ide.log containing exception
Comment 2 _ lkramolis 2001-12-20 12:03:42 UTC
Hello.
I need more info. Is it reproducable? If yes, could you write steps to
reproduce. It looks strange, hard to reproduce.
Comment 3 ats37 2001-12-20 18:37:13 UTC
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.
Comment 4 _ lkramolis 2002-01-07 11:52:37 UTC
This could be problem with Looks API.
Comment 5 _ pkuzel 2002-01-17 16:23:58 UTC
It seems that it is fixed in XML module RC1. Could you reevaluate it?

Thanks a lot
Comment 6 ats37 2002-01-17 17:31:20 UTC
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.
Comment 7 _ pkuzel 2002-01-17 17:39:11 UTC
Thanks!

PS: Does even newly opened files have empty name or just files
restored from saved project? 
Comment 8 Martin Schovanek 2002-05-24 16:31:26 UTC
VERIFIED
Comment 9 Quality Engineering 2003-07-02 08:38:34 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.