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 155013 - installer broken SAXParseException: Premature end of file.
Summary: installer broken SAXParseException: Premature end of file.
Status: RESOLVED DUPLICATE of bug 151921
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: issues@installer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-09 10:20 UTC by m1k0
Modified: 2008-12-10 11:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
.nbi/log/20081209110437.log.gz (364.16 KB, application/x-gzip)
2008-12-09 10:25 UTC, m1k0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m1k0 2008-12-09 10:20:56 UTC
I cannot finish instalation
Comment 1 m1k0 2008-12-09 10:25:45 UTC
Created attachment 74737 [details]
.nbi/log/20081209110437.log.gz
Comment 2 m1k0 2008-12-09 10:26:59 UTC
[2008-12-09 11:12:29.245]: entering -- org.netbeans.installer.wizard.components.WizardAction$1.run():120
[2008-12-09 11:12:29.245]: ... create service tags action
[2008-12-09 11:12:29.287]:     entering -- org.netbeans.installer.product.Registry.loadProductRegistry():959
[2008-12-09 11:12:29.288]:     validating previous installations
[2008-12-09 11:12:29.288]:     ... validating installations finished
[2008-12-09 11:12:29.288]:     exiting -- org.netbeans.installer.product.Registry.loadProductRegistry():959
[2008-12-09 11:12:29.289]:     ... create ST for NetBeans
[2008-12-09 11:12:29.595]:     An unexpected exception happened in thread Thread-21
[2008-12-09 11:12:29.596]:     java.lang.IllegalArgumentException: Error generated in parsing
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.servicetag.RegistrationDocument.initializeDocument(RegistrationDocument.java:164)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.servicetag.RegistrationDocument.load(RegistrationDocument.java:115)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.servicetag.RegistrationData.loadFromXML(RegistrationData.java:433)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.reglib.NbServiceTagSupport.getRegistrationData(NbServiceTagSupport.java:585)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.reglib.NbServiceTagSupport.getNbServiceTag(NbServiceTagSupport.java:760)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.reglib.NbServiceTagSupport.createNbServiceTag(NbServiceTagSupport.java:285)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.installer.wizard.components.actions.netbeans.NbServiceTagCreateAction.createSTNetBeans(NbServiceTagCreateAc
[2008-12-09 11:12:29.596]:     	at
org.netbeans.installer.wizard.components.actions.netbeans.NbServiceTagCreateAction.execute(NbServiceTagCreateAction.java
[2008-12-09 11:12:29.596]:     	at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:120)
[2008-12-09 11:12:29.596]:     Caused by: org.xml.sax.SAXParseException: Premature end of file.
[2008-12-09 11:12:29.596]:     	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
[2008-12-09 11:12:29.596]:     	at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
[2008-12-09 11:12:29.596]:     	at
org.netbeans.modules.servicetag.RegistrationDocument.initializeDocument(RegistrationDocument.java:160)
[2008-12-09 11:12:29.596]:     	... 8 more
[2008-12-09 11:12:29.596]:     ... show message dialog
[2008-12-09 11:12:29.597]:         title: Critical Error
[2008-12-09 11:12:29.597]:         message: An unexpected exception happened in thread Thread-21
[2008-12-09 11:12:29.597]:         
[2008-12-09 11:12:29.597]:         Exception:
[2008-12-09 11:12:29.597]:           java.lang.IllegalArgumentException:
[2008-12-09 11:12:29.597]:           Error generated in parsing
[2008-12-09 11:12:29.597]:         
[2008-12-09 11:12:29.597]:         You can get more details about the issue in the installer log file:
[2008-12-09 11:12:29.597]:          /home/m1k0/.nbi/log/20081209110437.log
Comment 3 dlipin 2008-12-09 11:04:40 UTC
Workaround is to run installer with the following arguments:
installer.exe -J-Dservicetag.allow.create=false -J-Dservicetag.allow.register=false

*** This issue has been marked as a duplicate of 151921 ***
Comment 4 dlipin 2008-12-10 11:06:29 UTC
m1k0,

Could you please try the latest daily build?
http://bits.netbeans.org/netbeans/trunk/nightly/latest/

I`ve fixed some error handling that would not result into installer failure any more and would help us to catch the 
original issue.

Please run it with "-J-Dservicetag.allow.create=true" argument and after installation is finished, please attach the 
last installation log from ~/.nbi/log directory.

Thanks,
Dmitry