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 93293 - Bundle file name is too long to handle.
Summary: Bundle file name is too long to handle.
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Kirill Sorokin
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
Reported: 2007-01-26 12:11 UTC by Michael Nazarov
Modified: 2007-04-16 10:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2007-01-26 12:11:44 UTC
Well, if one select all possible components check boxes and press Create Bundle
button followed error will appear.
I know this scenario is not completely correct at the moment (we test only
NB6.0, but I checked NB5.5 also) but in the future then number of really
presented components will exceed some number this issue will rise again.

---

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from
fulfilling this request.

exception

java.io.FileNotFoundException:
/export/nbi/data/milestone09/temp/bundles/nbi_nb-ide_5.5.0.0.200610171010_nb-profiler_5.5.0.0.20061017_nb-mobility-cldc_5.5.0.0.0_nb-xml_5.5.0.0.20061020_nb-visweb_5.5.0.0.20061127_nb-soa_5.5.0.0.20061020_nb-ccpp_5.5.0.0.20061123_nb-collab_5.5.0.0.0_nb-uml_5.5.0.0.0_nb-ide_6.0.0.0.200701150200_nb-mobility-cldc_6.0.0.0.20070116_tomcat_5.5.17.0.0_tomcat_5.5.17.0.1_glassfish_1.1.0.14.20060930_glassfish_2.0.0.32.20070117_openesb_1.0.0.8.20061009_sjsam_7.1.0.8.20061009_nb-src_5.5.0.0.200610171010_glassfish-src_1.1.0.14.20060930_tomcat-src_5.5.17.0.0_windows.exe
(File name too long)

note The full stack traces of the exception and its root causes are available in
the Sun Java System Application Server Platform Edition 9.0_01 logs.
Sun Java System Application Server Platform Edition 9.0_01
Comment 1 Kirill Sorokin 2007-02-12 11:35:42 UTC
-> M12
Comment 2 jrojcek 2007-02-12 14:10:07 UTC
The name of the installer should always be (on Windows in case of 6.0 installation):

"NetBeans IDE 6.0 Installer.exe"

You would then avoid the problem of too long name.
Comment 3 dlipin 2007-02-12 18:13:38 UTC
Jano,

Is it OK from the user experience to use file name with spaces?

According to my little experience it looks just fine on windows and can cause a 
confusion for unix users.. 
Maybe I am wrong but for current moment NONE of the sun/netbeans java tools 
uses spaces in the installer name. Usually they are replaced by dots/dashes/
underlines. 

What do you think about this?

Dmitry
Comment 4 jrojcek 2007-02-13 07:55:23 UTC
I tend to agree. I would have to check it closely to be 100% sure. On Linux, we might use a different name 
for the installer. Something like "netbeans-ide-6.0-installer.sh" (I'm not sure about extension).
Comment 5 Kirill Sorokin 2007-03-14 17:32:57 UTC
-> M15
Comment 6 Kirill Sorokin 2007-04-16 10:06:20 UTC
The bundle names have been corrected for milestone 9. For the pure form of NBI
server the bundle name would be simply nbi-bundle.{exe|sh|command|whatever}.

->FIXED