You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "pgp skr (JIRA)" <ji...@codehaus.org> on 2011/11/10 14:26:51 UTC
[jira] Created: (MNG-5198) Error in starting maven -
nullpointerexception
Error in starting maven - nullpointerexception
----------------------------------------------
Key: MNG-5198
URL: https://jira.codehaus.org/browse/MNG-5198
Project: Maven 2 & 3
Issue Type: Bug
Components: Errors
Affects Versions: 2.2.1
Environment: windows XP
Reporter: pgp skr
Attachments: maven_error.bmp
When I run mvn --version I am getting the following error.
java.lang.NullPointerException: key can't be null
at java.lang.System.checkKey(System.java:773)
at java.lang.System.getProperty(System.java:649)
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)
The following are the settings done for Maven
set JAVA_HOME=D:/java/jdk1.6.0_02
set M2_HOME=D:/ReadNew/apache-maven-2.2.1
set M2=%M2_HOME%/bin
After referring to the link (http://maven.40175.n5.nabble.com/Created-MNG-4865-mvn-fails-because-of-null-property-td3211656.html) I added the following entry in m2.conf
set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
But still the error persists.
Could someone help me in resolving the same.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5198) Error in starting maven - nullpointerexception
Posted by "Jason van Zyl (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason van Zyl closed MNG-5198.
------------------------------
Resolution: Cannot Reproduce
> Error in starting maven - nullpointerexception
> ----------------------------------------------
>
> Key: MNG-5198
> URL: https://jira.codehaus.org/browse/MNG-5198
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Errors
> Affects Versions: 2.2.1
> Environment: windows XP
> Reporter: pgp skr
> Attachments: maven_error.bmp
>
>
> When I run mvn --version I am getting the following error.
> java.lang.NullPointerException: key can't be null
> at java.lang.System.checkKey(System.java:773)
> at java.lang.System.getProperty(System.java:649)
> 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)
> The following are the settings done for Maven
> set JAVA_HOME=D:/java/jdk1.6.0_02
> set M2_HOME=D:/ReadNew/apache-maven-2.2.1
> set M2=%M2_HOME%/bin
> After referring to the link (http://maven.40175.n5.nabble.com/Created-MNG-4865-mvn-fails-because-of-null-property-td3211656.html) I added the following entry in m2.conf
> set MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m
> But still the error persists.
> Could someone help me in resolving the same.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira