Uploaded image for project: 'JBoss OSGi'
  1. JBoss OSGi
  2. JBOSGI-777

Filter-out zero-length path from module-exported paths

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: JBossOSGI 2.3.1
    • Component/s: None
    • Labels:
      None

      Description

      22:15:15,816 ERROR [org.jboss.osgi.repository] (MSC service thread 1-8) JBOSGI020401: Cannot create resource for: javax.jws.api: org.jboss.osgi.resolver.ResourceBuilderException: JBOSGI010908: Cannot initialize resource from: [javax.jws.api:0.0.0]
      	at org.jboss.osgi.resolver.spi.AbstractResourceBuilder.loadFrom(AbstractResourceBuilder.java:316) [jbosgi-resolver-api-4.0.4.Final-SNAPSHOT.jar:4.0.4.Final-SNAPSHOT]
      	at org.jboss.osgi.repository.spi.AbstractRepository.getTargetResource(AbstractRepository.java:249) [jbosgi-repository-core-4.0.2.Final-SNAPSHOT.jar:4.0.2.Final-SNAPSHOT]
      	at org.jboss.osgi.repository.spi.ModuleIdentityRepository.getTargetResource(ModuleIdentityRepository.java:120) [jbosgi-repository-core-4.0.2.Final-SNAPSHOT.jar:4.0.2.Final-SNAPSHOT]
      	at org.jboss.osgi.repository.spi.ModuleIdentityRepository.findProviders(ModuleIdentityRepository.java:108) [jbosgi-repository-core-4.0.2.Final-SNAPSHOT.jar:4.0.2.Final-SNAPSHOT]
      	at org.jboss.as.osgi.service.ModuleIdentityRepositoryIntegration.findProviders(ModuleIdentityRepositoryIntegration.java:108) [jbosgi-wildfly-service-2.3.1.Final-SNAPSHOT.jar:2.3.1.Final-SNAPSHOT]
      	at org.jboss.as.osgi.service.BootstrapBundlesIntegration.installInitialModuleCapability(BootstrapBundlesIntegration.java:181) [jbosgi-wildfly-service-2.3.1.Final-SNAPSHOT.jar:2.3.1.Final-SNAPSHOT]
      	at org.jboss.as.osgi.service.BootstrapBundlesIntegration.start(BootstrapBundlesIntegration.java:135) [jbosgi-wildfly-service-2.3.1.Final-SNAPSHOT.jar:2.3.1.Final-SNAPSHOT]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881) [jboss-msc-1.2.2.Final.jar:1.2.2.Final]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
      Caused by: java.lang.IllegalArgumentException: No paths for clause: 
      	at org.jboss.osgi.metadata.internal.ManifestParser.parse(ManifestParser.java:102)
      	at org.jboss.osgi.metadata.internal.ManifestParser.parsePackages(ManifestParser.java:47)
      	at org.jboss.osgi.metadata.internal.PackageAttributeListValueCreator.useString(PackageAttributeListValueCreator.java:35)
      	at org.jboss.osgi.metadata.internal.PackageAttributeListValueCreator.useString(PackageAttributeListValueCreator.java:32)
      	at org.jboss.osgi.metadata.internal.AbstractValueCreator.createValue(AbstractValueCreator.java:45)
      	at org.jboss.osgi.metadata.internal.ListValueCreator.createValue(ListValueCreator.java:43)
      	at org.jboss.osgi.metadata.internal.ListValueCreator.createValue(ListValueCreator.java:31)
      	at org.jboss.osgi.metadata.spi.AbstractOSGiMetaData.get(AbstractOSGiMetaData.java:266) [jbosgi-metadata-4.0.0.Final.jar:4.0.0.Final]
      	at org.jboss.osgi.metadata.spi.AbstractOSGiMetaData.get(AbstractOSGiMetaData.java:257) [jbosgi-metadata-4.0.0.Final.jar:4.0.0.Final]
      	at org.jboss.osgi.metadata.spi.AbstractOSGiMetaData.getExportPackages(AbstractOSGiMetaData.java:198) [jbosgi-metadata-4.0.0.Final.jar:4.0.0.Final]
      	at org.jboss.osgi.resolver.spi.AbstractResourceBuilder.loadFrom(AbstractResourceBuilder.java:236) [jbosgi-resolver-api-4.0.4.Final-SNAPSHOT.jar:4.0.4.Final-SNAPSHOT]
      	... 11 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  arcivanov Arcadiy Ivanov
                  Reporter:
                  arcivanov Arcadiy Ivanov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: