[ 
http://jira.codehaus.org/browse/MENFORCER-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99961
 ] 

Brett Porter commented on MENFORCER-9:
--------------------------------------

Maven version: 2.0.7
Java version: 1.6.0-dp
OS name: "mac os x" version: "10.4.9" arch: "i386"


> Exception in java rule when using Apple JDK 6 Developer Preview
> ---------------------------------------------------------------
>
>                 Key: MENFORCER-9
>                 URL: http://jira.codehaus.org/browse/MENFORCER-9
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Bug
>          Components: Standard Rules
>    Affects Versions: 1.0-alpha-2
>         Environment: java version "1.6.0-dp"
> Java(TM) SE Runtime Environment (build 1.6.0-dp-b88-34)
> Java HotSpot(TM) Client VM (build 1.6.0-b88-17-release, mixed mode, sharing)
>            Reporter: Brett Porter
>            Assignee: Brian Fox
>            Priority: Blocker
>
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For input string: ""
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NumberFormatException: For input string: ""
>         at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
>         at java.lang.Integer.parseInt(Integer.java:468)
>         at java.lang.Integer.parseInt(Integer.java:497)
>         at 
> org.apache.maven.plugin.enforcer.RequireJavaVersion.normalizeJDKVersion(RequireJavaVersion.java:87)
>         at 
> org.apache.maven.plugin.enforcer.RequireJavaVersion.execute(RequireJavaVersion.java:53)
>         at 
> org.apache.maven.plugin.enforcer.EnforceMojo.execute(EnforceMojo.java:143)
>         at 
> org.apache.maven.plugin.enforcer.EnforceOnceMojo.execute(EnforceOnceMojo.java:39)
>         at 
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
>         at 
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:589)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at 
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to