ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Bruch <br...@st.informatik.tu-darmstadt.de>
Subject Re: Advice for managing large-scale OSGI repository for data analysis
Date Tue, 30 Aug 2011 04:34:19 GMT
Hi Nicolas,

> Then any feedback on some successful (or unsuccessful, but let's be optimistic :) ) use
of OSGi features of Ivy will be more than welcomed.


I just tried to load the contents of several update-sites. I see quite many times this exception
(for instance when reading the contents of http://ahmadsoft.org/update). Any ideas? I build
ivy from trunk (org.apache.ivy_2.2.1.alpha_20110829215737.jar).


java.lang.NullPointerException
	at org.apache.ivy.osgi.util.Version.<init>(Version.java:38)
	at org.apache.ivy.osgi.updatesite.xml.FeatureParser$ImportHandler.handleAttributes(FeatureParser.java:258)
	at org.apache.ivy.osgi.util.DelegetingHandler$2.call(DelegetingHandler.java:212)
	at org.apache.ivy.osgi.util.DelegetingHandler.skipOnError(DelegetingHandler.java:145)
	at org.apache.ivy.osgi.util.DelegetingHandler.startElement(DelegetingHandler.java:210)
	at org.apache.ivy.osgi.util.DelegetingHandler$3.call(DelegetingHandler.java:226)
	at org.apache.ivy.osgi.util.DelegetingHandler.skipOnError(DelegetingHandler.java:145)
	at org.apache.ivy.osgi.util.DelegetingHandler.startElement(DelegetingHandler.java:224)
	at org.apache.ivy.osgi.util.DelegetingHandler$1.call(DelegetingHandler.java:198)
	at org.apache.ivy.osgi.util.DelegetingHandler.skipOnError(DelegetingHandler.java:145)
	at org.apache.ivy.osgi.util.DelegetingHandler.startElement(DelegetingHandler.java:196)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:133)
	at org.apache.ivy.util.XMLHelper.parse(XMLHelper.java:109)
	at org.apache.ivy.osgi.updatesite.xml.FeatureParser.parse(FeatureParser.java:41)
	at org.apache.ivy.osgi.updatesite.UpdateSiteLoader.loadFromSite(UpdateSiteLoader.java:279)
	at org.apache.ivy.osgi.updatesite.UpdateSiteLoader.load(UpdateSiteLoader.java:86)
	at org.recommenders.crawler.p2.UpdateSiteContentsCrawler.loadRepositoryDescriptor(UpdateSiteContentsCrawler.java:70)
	at org.recommenders.crawler.p2.UpdateSiteContentsCrawler.visitUpdateSite(UpdateSiteContentsCrawler.java:50)
	at org.recommenders.crawler.p2.UpdateSiteContentsCrawler.main(UpdateSiteContentsCrawler.java:44)


-- 
Eclipse Code Recommenders:
 w www.eclipse.org/recommenders
 tw www.twitter.com/marcelbruch
 g+ www.gplus.to/marcelbruch


Mime
View raw message