Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Grails-jQuery 1.3.2.2
-
Component/s: None
-
Labels:None
-
Environment:OS: Mac OS 10.5, JDK: 1.6, Grails 1.1
Description
Because of the version number being "1.0RC2b" packaging another plugin with a dependency on the jquery plugin fails with the following exception:
java.lang.NumberFormatException: For input string: "0RC2b"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:456)
at java.lang.Integer.valueOf(Integer.java:553)
at $Proxy0.compare(Unknown Source)
at java.util.Arrays.mergeSort(Arrays.java:1284)
at java.util.Arrays.sort(Arrays.java:1223)
at java.util.Collections.sort(Collections.java:159)
at _PluginDependencies_groovy$_run_closure6_closure47.doCall(_PluginDependencies_groovy:304)
at _PluginDependencies_groovy$_run_closure6_closure47.doCall(_PluginDependencies_groovy)
at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:269)
at _PluginDependencies_groovy$_run_closure6.doCall(_PluginDependencies_groovy:302)
at _GrailsPackage_groovy$_run_closure2.doCall(_GrailsPackage_groovy:128)
at _GrailsPluginDev_groovy$_run_closure1.doCall(_GrailsPluginDev_groovy:62)
at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)
at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:344)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:334)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.processTargets(Gant.groovy:495)
at gant.Gant.processTargets(Gant.groovy:480)
Error loading plugin manager: For input string: "0RC2b"
I'm not sure whether this is a Grails problem or whether the version number should be fixed. Unfortunately it makes packaging other plugins depending on jquery impossible.
I think the fastest solution might be another release with a working version number.
Rename to <jQuery version>.<plugin bug fix number>