Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2565

Sigil OBR handler throws a runtime exception if two resources point to the same physical resource

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • sigil-1.0.0
    • Sigil
    • None

    Description

      [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)

      Attachments

        Activity

          People

            davemssavage David Savage
            davemssavage David Savage
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: