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

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

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • JBossOSGI 2.3.1
    • None
    • 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
      

      Attachments

        Issue Links

          Activity

            People

              arcivanov_jira Arcadiy Ivanov (Inactive)
              arcivanov_jira Arcadiy Ivanov (Inactive)
              Archiver:
              samahaja@redhat.com Sagar Mahajan

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty