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 100091 - SaxParseException when connecting to file with unknown structure
Summary: SaxParseException when connecting to file with unknown structure
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks: 89627
  Show dependency tree
 
Reported: 2007-04-05 12:46 UTC by Jaromir Uhrik
Modified: 2007-04-10 23:01 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 Jaromir Uhrik 2007-04-05 12:46:21 UTC
-Go to Settings tab
-Push New button
-Fill in some existing url to URL field (e.g. http://www.seznam.cz) and push OK
-Go to New Plugins tab
-Push Refresh list button
You got following exception:

org.xml.sax.SAXParseException: Premature end of file.
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
	at
com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
	at org.openide.xml.XMLUtil.parse(XMLUtil.java:319)
	at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getDocument(AutoupdateCatalogParser.java:107)
	at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:68)
...
Comment 1 Jiri Rechtacek 2007-04-10 23:01:43 UTC
The exception is logged only into log. But, the URL should be validated.