Fabric3
  1. Fabric3
  2. FABRICTHREE-511

NumberFormatException on fabric3-hibernate-library

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6
    • Component/s: Tomcat Runtime
    • Labels:
      None
    • Environment:
      Fedora 12, Maven 2.2.1, Java 1.6.0_20
    • Number of attachments :
      0

      Description

      Steps to reproduce:

      Exception on fabric3 start:
      Caused by: org.fabric3.spi.introspection.validation.InvalidContributionException: Errors in the contribution manifest (sca-contribution.xml) (/localhost/test/WEB-INF/lib/fabric3-hibernate-library-1.6-SNAPSHOT.jar)

      ERROR: Invalid export version [22,5]. The original error was:
      java.lang.NumberFormatException: For input string: "3-Final"

      ERROR: Invalid export version [23,5]. The original error was:
      java.lang.NumberFormatException: For input string: "3-Final"

      2 errors were found

      at org.fabric3.contribution.ContributionServiceImpl.processManifest(ContributionServiceImpl.java:468)
      at org.fabric3.contribution.ContributionServiceImpl.installInOrder(ContributionServiceImpl.java:399)
      at org.fabric3.contribution.ContributionServiceImpl.contribute(ContributionServiceImpl.java:218)
      at org.fabric3.fabric.runtime.DefaultCoordinator.installContributions(DefaultCoordinator.java:165)
      ... 35 more

        Activity

        Hide
        Jim Marino added a comment -

        Thanks for finding this. It was a regression introduced over the last couple of days. I jut checked in a fix. Can you veriy this works and then I will close the issue out?

        Jim

        Show
        Jim Marino added a comment - Thanks for finding this. It was a regression introduced over the last couple of days. I jut checked in a fix. Can you veriy this works and then I will close the issue out? Jim
        Hide
        Michal Capo added a comment -

        Great it is working. Jim you are like superman. It took longer to me write this issue, then you to solve it.

        Show
        Michal Capo added a comment - Great it is working. Jim you are like superman. It took longer to me write this issue, then you to solve it.
        Hide
        Jim Marino added a comment -

        I'd like to take credit for being fast but I have to admit I ran into the same bug myself yesterday but didn't have time to check in the fix until the next day

        Show
        Jim Marino added a comment - I'd like to take credit for being fast but I have to admit I ran into the same bug myself yesterday but didn't have time to check in the fix until the next day

          People

          • Assignee:
            Jim Marino
            Reporter:
            Michal Capo
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: