You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "eric zhu (JIRA)" <ji...@codehaus.org> on 2010/10/14 10:58:32 UTC
[jira] Created: (MNG-4865) mvn fails because of null property
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
[jira] Reopened: (MNG-4865) mvn fails because of null property
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann reopened MNG-4865:
------------------------------------
> 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
[jira] Commented: (MNG-4865) mvn fails because of null property
Posted by "Alexey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239720#action_239720 ]
Alexey commented on MNG-4865:
-----------------------------
Hello Eric, can you post your M2_HOME and JAVA_HOME on Vista machine?
I try running Maven 2.2.1 on Windows Vista 32 and it's worked fine.
> 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
[jira] Closed: (MNG-4865) mvn fails because of null property
Posted by "eric zhu (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
eric zhu closed MNG-4865.
-------------------------
Resolution: Fixed
Fix Version/s: 2.2.1
I have found the root cause.
I added one line in m2.conf
set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
> 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
> Fix For: 2.2.1
>
>
> 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
[jira] Commented: (MNG-4865) mvn fails because of null property
Posted by "eric zhu (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MNG-4865) mvn fails because of null property
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4865.
----------------------------------
Resolution: Not A Bug
Fix Version/s: (was: 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