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 131359 - Clicking on Tools->Plugin and/or uninstalling a plugin throws org.xml.sax.SAXParseException
Summary: Clicking on Tools->Plugin and/or uninstalling a plugin throws org.xml.sax.SAX...
Status: RESOLVED DUPLICATE of bug 130783
Alias: None
Product: platform
Classification: Unclassified
Component: Plugin Manager (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-28 01:44 UTC by Jonelle Almero
Modified: 2008-03-28 23:28 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 Jonelle Almero 2008-03-28 01:44:54 UTC
After downloading NB from http://bits.netbeans.org/dev/nightly/latest/zip/netbeans-trunk-nightly-200803251204.zip, 
launched IDE and clicked on Tools->Plugin, got the 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:329)
	at org.netbeans.modules.autoupdate.services.Utilities.getModuleConfiguration(Utilities.java:896)
	at org.netbeans.modules.autoupdate.services.Utilities.readSourceFromUpdateTracking(Utilities.java:347)
	at org.netbeans.modules.autoupdate.updateprovider.InstalledModuleItem.getSource(InstalledModuleItem.java:91)
	at org.netbeans.modules.autoupdate.services.ModuleUpdateElementImpl.getSource(ModuleUpdateElementImpl.java:141)
	at org.netbeans.api.autoupdate.UpdateElement.getSource(UpdateElement.java:126)
	at org.netbeans.modules.autoupdate.ui.Unit.getSource(Unit.java:216)
	at org.netbeans.modules.autoupdate.ui.UnitDetails.setUnit(UnitDetails.java:107)
	at org.netbeans.modules.autoupdate.ui.UnitTab.showDetailsAtRow(UnitTab.java:465)
	at org.netbeans.modules.autoupdate.ui.UnitTab.access$1500(UnitTab.java:109)
	at org.netbeans.modules.autoupdate.ui.UnitTab$8.valueChanged(UnitTab.java:493)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:408)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:417)
	at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:441)
	at org.netbeans.modules.autoupdate.ui.PluginManagerUI.selectFirstRow(PluginManagerUI.java:495)
	at org.netbeans.modules.autoupdate.ui.PluginManagerUI.refreshUnits(PluginManagerUI.java:521)
	at org.netbeans.modules.autoupdate.ui.PluginManagerUI.access$200(PluginManagerUI.java:77)
	at org.netbeans.modules.autoupdate.ui.PluginManagerUI$4.run(PluginManagerUI.java:194)
[catch] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Also, when selecting a module from the 'Installed' tab of the Plugin Manager window and clicking on uninstall shows 
the same exception.

The Help->About info has the following:
Product Version: NetBeans IDE Dev (Build 200803251204)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\jalmero.STC\.netbeans\dev_0325FromNBNightly
Comment 1 Jiri Rechtacek 2008-03-28 09:26:25 UTC
Already fixed in 9014f859d40f.

*** This issue has been marked as a duplicate of 130783 ***
Comment 2 Jiri Rechtacek 2008-03-28 10:07:33 UTC
To verification the fix you can use recent builds on
http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/ because newer Dev builds on
bits.netbeans.org are not available for several days.