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 123340 - Cannot load catalog xml plugin portal update center
Summary: Cannot load catalog xml plugin portal update center
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: David Botterill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-04 11:58 UTC by _ bernihuber
Modified: 2009-10-03 12:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Logfile when update center points to catalog.xml.gz (31.52 KB, text/plain)
2007-12-07 13:41 UTC, tkellerer
Details
Logfile when update center points to pluginportal-update-center.xml (35.64 KB, text/plain)
2007-12-07 13:42 UTC, tkellerer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ bernihuber 2007-12-04 11:58:39 UTC
I have selected to plugin update center using URL:
http://plugins.netbeans.org/nbpluginportal/files/nbms/pluginportal-update-center.xml

In the log I get following messages:

INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: No timestamp is presented in
file:/C:/Documents%20and%20Settings/huberb1/.netbeans/6.0/var/cache/catalogcache/URL_PluginPortal
[Fatal Error] :613:121: XML document structures must start and end within the same entity.
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: XML document structures must start and
end within the same entity.
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at org.openide.xml.XMLUtil.parse(XMLUtil.java:326)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getDocument(AutoupdateCatalogParser.java:192)
[catch] at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getLicenses(AutoupdateCatalogParser.java:129)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:98)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:114)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:185)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:161)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:90)
        at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:100)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI.initialize(PluginManagerUI.java:179)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI$1.run(PluginManagerUI.java:94)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
[Fatal Error] :613:121: XML document structures must start and end within the same entity.
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: XML document structures must start and
end within the same entity.
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at org.openide.xml.XMLUtil.parse(XMLUtil.java:326)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getDocument(AutoupdateCatalogParser.java:192)
[catch] at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:107)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:114)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:185)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:161)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:90)
        at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:100)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI.initialize(PluginManagerUI.java:179)
        at org.netbeans.modules.autoupdate.ui.PluginManagerUI$1.run(PluginManagerUI.java:94)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: No timestamp is presented in
file:/C:/Documents%20and%20Settings/huberb1/.netbeans/6.0/var/cache/catalogcache/URL_PluginPortal
[Fatal Error] :613:121: XML document structures must start and end within the same entity.
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: XML document structures must start and
end within the same entity.
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at org.openide.xml.XMLUtil.parse(XMLUtil.java:326)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getDocument(AutoupdateCatalogParser.java:192)
[catch] at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getLicenses(AutoupdateCatalogParser.java:129)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:98)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:114)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:185)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:161)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:90)
        at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:100)
        at
org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.checkUpdateElements(AutoupdateCheckScheduler.java:168)
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.access$300(AutoupdateCheckScheduler.java:77)
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4.run(AutoupdateCheckScheduler.java:148)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
[Fatal Error] :613:121: XML document structures must start and end within the same entity.
INFO [org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser]: XML document structures must start and
end within the same entity.
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at org.openide.xml.XMLUtil.parse(XMLUtil.java:326)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getDocument(AutoupdateCatalogParser.java:192)
[catch] at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogParser.getUpdateItems(AutoupdateCatalogParser.java:107)
        at
org.netbeans.modules.autoupdate.updateprovider.AutoupdateCatalogProvider.getUpdateItems(AutoupdateCatalogProvider.java:114)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.appendUpdateItems(UpdateUnitFactory.java:170)
        at org.netbeans.modules.autoupdate.services.UpdateUnitFactory.getUpdateUnits(UpdateUnitFactory.java:140)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl$Cache.<init>(UpdateManagerImpl.java:185)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getCache(UpdateManagerImpl.java:161)
        at org.netbeans.modules.autoupdate.services.UpdateManagerImpl.getUpdateUnits(UpdateManagerImpl.java:90)
        at org.netbeans.api.autoupdate.UpdateManager.getUpdateUnits(UpdateManager.java:100)
        at
org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.checkUpdateElements(AutoupdateCheckScheduler.java:168)
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler.access$300(AutoupdateCheckScheduler.java:77)
        at org.netbeans.modules.autoupdate.ui.actions.AutoupdateCheckScheduler$4.run(AutoupdateCheckScheduler.java:148)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

Opening the URL via firefox I get following message:

XML-Verarbeitungsfehler: Ungeschlossenes Token
Adresse: http://plugins.netbeans.org/nbpluginportal/files/nbms/pluginportal-update-center.xml
Zeile Nr. 590, Spalte 1:<manifest   OpenIDE-Module="rbremner.tocase"  OpenIDE-Module-Display-Category="Editing" 
OpenIDE-Module-Implementation-Version="070316"  OpenIDE-Module-Java-Dependencies="Java > 1.4"  OpenIDE-Module-Long-Des

I think the XML delivered by the URL
http://plugins.netbeans.org/nbpluginportal/files/nbms/pluginportal-update-center.xml is not correct
Comment 1 David Botterill 2007-12-04 23:44:13 UTC
Fixed.
Comment 2 tkellerer 2007-12-07 13:39:20 UTC
This does not seem to be fixed. 

The plugin dialog still does not show any entries for the plugin portal. 

I have manually downloaded archive indicated by the default Plugin Portal URL that is included in NB 6.0:
http://plugins.netbeans.org/nbpluginportal/updates/6.0/catalog.xml.gz

The archive contains a file named catalog.xml which is basically empty:

<?xml version="1.0"?>
<!DOCTYPE module_updates PUBLIC "-//NetBeans//DTD Autoupdate Catalog 2.4//EN"
"http://www.netbeans.org/dtds/autoupdate-catalog-2_4.dtd">
<module_updates>
</module_updates>

The URL suggested on one of the plugin portal pages:
http://plugins.netbeans.org/nbpluginportal/files/nbms/pluginportal-update-center.xml

returns a file with length 0 


Comment 3 tkellerer 2007-12-07 13:41:39 UTC
Created attachment 53991 [details]
Logfile when update center points to catalog.xml.gz
Comment 4 tkellerer 2007-12-07 13:42:14 UTC
Created attachment 53992 [details]
Logfile when update center points to pluginportal-update-center.xml
Comment 5 David Botterill 2008-04-12 19:48:24 UTC
Is this still an issue?
Comment 6 _ bernihuber 2008-04-13 07:54:25 UTC
The content delivered by
http://plugins.netbeans.org/nbpluginportal/files/nbms/pluginportal-update-center.xml is not correct
is now correct, and valid.

The plugins listed are shown in the plugin list.

Hence I change resolution to fixed.