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 25419 - IAE: "Cannot give untitled_tc an empty name." from SerialDataConvertor.SaveSupport.synchronizeName
Summary: IAE: "Cannot give untitled_tc an empty name." from SerialDataConvertor.SaveSu...
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: David Konecny
URL:
Keywords:
: 25811 26725 29398 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-08 20:48 UTC by Jesse Glick
Modified: 2008-12-23 00:35 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (3.44 KB, text/plain)
2002-07-08 20:49 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2002-07-08 20:48:54 UTC
[dev jul 08; have seen in earlier builds too] Not
sure exactly when this happens; the exception is
informational so I only noticed it on console. Not
sure if it is a problem in winsys or settings sys.
Comment 1 Jesse Glick 2002-07-08 20:49:29 UTC
Created attachment 6551 [details]
Stack trace
Comment 2 Jan Pokorsky 2002-07-09 21:04:14 UTC
Caused by David Strupl's commit (SerialDataConvertor.java 1.7). There 
is strange requirement in DataObject.rename

 if (name != null && name.trim ().length ()==0) throw IAE

I am not aware a reason why the name can not be e.g. \space.ext. It is 
possible to create file \space.txt via the template wizard. So why not 
allow to change name to \space.txt?
Comment 3 Jan Pokorsky 2002-07-10 14:47:56 UTC
The condition was added as the implementation of issue #19772. 
The empty name is valid case IMO. At least it is still possible to 
create new DOs with an empty name. Also javadoc does not mention 
anything about empty names.
Comment 4 Marek Grummich 2002-07-22 11:21:17 UTC
Set target milestone to TBD
Comment 5 Marek Grummich 2002-07-22 11:23:25 UTC
Set target milestone to TBD
Comment 6 Jan Pokorsky 2002-07-30 13:40:57 UTC
*** Issue 25811 has been marked as a duplicate of this issue. ***
Comment 7 mslama 2003-01-07 15:24:40 UTC
*** Issue 29398 has been marked as a duplicate of this issue. ***
Comment 8 David Strupl 2003-02-23 23:22:56 UTC
New people, fresh blood, ...
Comment 9 David Konecny 2003-02-27 09:47:07 UTC
*** Issue 26725 has been marked as a duplicate of this issue. ***
Comment 10 David Konecny 2004-04-01 12:04:12 UTC
From some point of view it makes sense to have setting with empty
name. But on the other hand implementing this issue would just make
migration to Registry API more complication because each binding in
Registry must have a non-empty binding name.
Comment 11 Marian Mirilovic 2005-07-12 09:47:07 UTC
closed