[jboss-osgi-issues] [JBoss JIRA] (JBOSGI-673) Invalid bundle deployment does not fail in domain

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Fri Jul 5 02:28:20 EDT 2013


     [ https://issues.jboss.org/browse/JBOSGI-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler resolved JBOSGI-673.
-----------------------------------

    Resolution: Won't Fix


Won't Fix
                
> Invalid bundle deployment does not fail in domain
> -------------------------------------------------
>
>                 Key: JBOSGI-673
>                 URL: https://issues.jboss.org/browse/JBOSGI-673
>             Project: JBoss OSGi
>          Issue Type: Bug
>            Reporter: Thomas Diesler
>            Priority: Minor
>
> Running org.jboss.as.test.integration.domain.suites.OSGiBundleLifecyleTestCase
> Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 35.653 sec <<< FAILURE!
> on the server I see
> {code}
> 15:20:28,619 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit.bad-bundle.STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit.bad-bundle.STRUCTURE: Failed to process phase STRUCTURE of deployment "bad-bundle"
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_29]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_29]
> 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_29]
> Caused by: java.lang.NumberFormatException: For input string: "bogus"
> 	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) [rt.jar:1.6.0_29]
> 	at java.lang.Integer.parseInt(Integer.java:449) [rt.jar:1.6.0_29]
> 	at java.lang.Integer.parseInt(Integer.java:499) [rt.jar:1.6.0_29]
> 	at org.osgi.framework.Version.<init>(Version.java:125)
> 	at org.osgi.framework.Version.parseVersion(Version.java:218)
> 	at org.jboss.osgi.spi.BundleInfo.validateBundleManifest(BundleInfo.java:204)
> 	at org.jboss.osgi.spi.BundleInfo.isValidBundleManifest(BundleInfo.java:153)
> 	at org.jboss.as.osgi.deployment.OSGiManifestStructureProcessor.deploy(OSGiManifestStructureProcessor.java:63)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-osgi-issues mailing list