[ https://issues.apache.org/jira/browse/GERONIMO-5392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881295#action_12881295 ]
Mark Struberg commented on GERONIMO-5392: ----------------------------------------- oh yes, forgot to add: this happens after I shutdown geronimo (after installing some libs) and try to restart it. > invalid OSGi bundle number causes geronimo to blow up > ----------------------------------------------------- > > Key: GERONIMO-5392 > URL: https://issues.apache.org/jira/browse/GERONIMO-5392 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: Aries > Affects Versions: 3.0-M1 > Reporter: Mark Struberg > > not sure which bundle I imported to cause this problem but version parsing > seems to have a problem in geronimo: > 2010-06-22 20:43:55,582 ERROR [GBeanInstanceState] Error while starting; > GBean is now in the FAILED state: > abstractName="org.apache.geronimo.framework/j2ee-system/3.0-M1/car?ServiceModule=org.apache.geronimo.framework/j2ee-system/3.0-M1/car,j2eeType=GBean,name=GeronimoOBR" > java.lang.NumberFormatException: For input string: "1-SNAPSHOT" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:458) > at java.lang.Integer.parseInt(Integer.java:499) > at org.osgi.framework.Version.<init>(Version.java:133) > at > org.apache.xbean.osgi.bundle.util.VersionRange.parse(VersionRange.java:79) > at > org.apache.xbean.osgi.bundle.util.BundleDescription.getVersionRange(BundleDescription.java:192) > at > org.apache.xbean.osgi.bundle.util.BundleDescription.access$000(BundleDescription.java:36) > at > org.apache.xbean.osgi.bundle.util.BundleDescription$RequireBundle.<init>(BundleDescription.java:299) > at > org.apache.xbean.osgi.bundle.util.BundleDescription.getRequireBundle(BundleDescription.java:113) > at > org.apache.geronimo.obr.ResourceBuilder.convertRequireBundleToRequirement(ResourceBuilder.java:108) > at > org.apache.geronimo.obr.ResourceBuilder.createResource(ResourceBuilder.java:56) > at > org.apache.geronimo.obr.GeronimoOBRGBean.generateOBRModel(GeronimoOBRGBean.java:140) > at > org.apache.geronimo.obr.GeronimoOBRGBean.generateOBR(GeronimoOBRGBean.java:96) > at > org.apache.geronimo.obr.GeronimoOBRGBean.generateOBR(GeronimoOBRGBean.java:92) > at > org.apache.geronimo.obr.GeronimoOBRGBean.doStart(GeronimoOBRGBean.java:172) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:959) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:544) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:386) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:461) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:216) > at > org.apache.geronimo.system.osgi.BootActivator.start(BootActivator.java:70) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:1760) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1682) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1128) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) > at java.lang.Thread.run(Thread.java:619) > ERROR: Error starting > mvn:org.apache.geronimo.framework/j2ee-system/3.0-M1/car > (org.osgi.framework.BundleException: Activator start error in bundle > org.apache.geronimo.framework.j2ee-system [55].) > org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start > exception > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:523) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.loadBootstrapConfiguration(ConfigurationUtil.java:216) > at > org.apache.geronimo.system.osgi.BootActivator.start(BootActivator.java:70) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:661) > at org.apache.felix.framework.Felix.activateBundle(Felix.java:1760) > at org.apache.felix.framework.Felix.startBundle(Felix.java:1682) > at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1128) > at > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) > at java.lang.Thread.run(Thread.java:619) > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: > Configuration org.apache.geronimo.framework/j2ee-system/3.0-M1/car failed to > start due to the following reasons: > The service > ServiceModule=org.apache.geronimo.framework/j2ee-system/3.0-M1/car,j2eeType=GBean,name=GeronimoOBR > did not start because For input string: "1-SNAPSHOT" > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:489) > ... 8 more > Main not found > [...@notenix bin]$ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.