• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Duplicate
  • interfaces
  • Reporter: tgautier
  • December 14, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • December 17, 2007

Description

[INFO] [bootjar] 2007-12-14 15:30:53,752 INFO - Configuration loaded from the file at ‘/Users/tgautier/src/forge/projects/labs/webcasts/dist-cache/target/classes/tc-config.xml’. [INFO] [bootjar] Unable to initialize modules runtime; Failed to install bundle: java.lang.IllegalArgumentException: Bundle does not specify a valid Bundle-Version header. Got exception: For input string: “0-SNAPSHOT”

Comments

Hung Huynh 2007-12-14

I might be wrong here but it seems like you need to use .SNAPSHOT in meta file to please OSGi.

Taylor Gautier 2007-12-14

Yes, you are right - this is coming from tim-annotations version 1.0.0-SNAPSHOT. But supposedly the build process was supposed to magically manage the conversion from 1.0.0-SNAPSHOT to 1.0.0.SNAPSHOT just by depending on tim-parent, this seems to have broken.

Taylor Gautier 2007-12-17

The actual problem here is that the bootjar told me there was a problem loading a TIM, and the problem is due to the Bundle-Version header, but it does not tell me WHICH bundle caused the problem. This is rather problematic to actually resolve and requires some major effort on the developer part to track down the actual bundle causing the problem.

The fix is that the bootjar should have told me which bundle caused the problem.

Fiona OShea 2007-12-17

dup-552