[
http://jira.codehaus.org/browse/MNG-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239739#action_239739
]
eric zhu commented on MNG-4865:
-------------------------------
Hi, Alexey
I reinstalled my OS today to XP. But the error just won't give up.
JAVA_HOME: C:\Java\jdk1.6.0_07
M2_HOME: C:\Workplace\apache-maven-2.2.1
> mvn fails because of null property
> ----------------------------------
>
> Key: MNG-4865
> URL: http://jira.codehaus.org/browse/MNG-4865
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Command Line
> Affects Versions: 2.2.1
> Environment: windows vista32
> Reporter: eric zhu
>
> I downloaded maven and ran 'maven -version' under
> 'C:\workplace\apache-maven-2.2.1\bin'
> Got the error:
> java.lang.NullPointerException: key can't be null
> at java.lang.System.checkKey(System.java:771)
> at java.lang.System.getProperty(System.java:647)
> at
> org.codehaus.classworlds.Configurator.configure(Configurator.java:240)
> at org.codehaus.classworlds.Launcher.configure(Launcher.java:156)
> at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:426)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> I ran the same on another XP PC with the same source, everything worked fine
--
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