[ 
https://issues.apache.org/jira/browse/FELIX-2565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Savage resolved FELIX-2565.
---------------------------------

         Assignee: David Savage
    Fix Version/s: sigil-1.0.0
       Resolution: Fixed

Now logs a warning vs throwing an exception.

> Sigil OBR handler throws a runtime exception if two resources point to the 
> same physical resource
> -------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2565
>                 URL: https://issues.apache.org/jira/browse/FELIX-2565
>             Project: Felix
>          Issue Type: Bug
>          Components: Sigil
>            Reporter: David Savage
>            Assignee: David Savage
>             Fix For: sigil-1.0.0
>
>
>  [ivy:info] Failed to parse 
> /Users/dave/development/felix-trunk/sigil/build/felix.obr
>  [ivy:info] java.lang.RuntimeException: Duplicate uri 
> http://repo1.maven.org/maven2/org/apache/felix/org.apache.felix.webconsole/3.1.0/org.apache.felix.webconsole-3.1.0.jar
>  [ivy:info]     at 
> org.apache.felix.sigil.common.obr.impl.OBRHandler.startResource(OBRHandler.java:160)
>  [ivy:info]     at 
> org.apache.felix.sigil.common.obr.impl.OBRHandler.startElement(OBRHandler.java:88)
>  [ivy:info]     at 
> org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>  [ivy:info]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
>  Source)
>  [ivy:info]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
>  Source)
>  [ivy:info]     at 
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
> Source)
>  [ivy:info]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>  [ivy:info]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> Source)
>  [ivy:info]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>  [ivy:info]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
> Source)
>  [ivy:info]     at 
> org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>  [ivy:info]     at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
>  [ivy:info]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
>  [ivy:info]     at 
> org.apache.felix.sigil.common.obr.impl.AbstractOBRBundleRepository.readBundles(AbstractOBRBundleRepository.java:76)
>  [ivy:info]     at 
> org.apache.felix.sigil.common.obr.impl.NonCachingOBRBundleRepository.accept(NonCachingOBRBundleRepository.java:54)
>  [ivy:info]     at 
> org.apache.felix.sigil.common.repository.AbstractBundleRepository.findAllProviders(AbstractBundleRepository.java:189)
>  [ivy:info]     at 
> org.apache.felix.sigil.common.core.repository.BundleResolver.findProviders(BundleResolver.java:548)
>  [ivy:info]     at 
> org.apache.felix.sigil.common.core.repository.BundleResolver.findProvidersAtPriority(BundleResolver.java:534)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to