Raju created DIRSTUDIO-1227:
-------------------------------

             Summary: mvn clean install command throwing NPE 
                 Key: DIRSTUDIO-1227
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1227
             Project: Directory Studio
          Issue Type: Outage
          Components: studio-rcp
    Affects Versions: 2.0.0-M14
         Environment: Windows 10
java 1.8
Maven 3.6
            Reporter: Raju
             Fix For: 2.0.0-M15
         Attachments: image-2019-06-07-15-08-01-089.png

Hi Team,

I am getting an error on an initial setup with the command "{color:#24292e}mvn 
clean install{color}".  here is the error message. 

 

Steps to reproduce the issue is:

Step 1 : Get the studio code form the repository. {color:#777777}git{color} 
{color:#777777}clone{color} 
{color:#777777}https{color}{color:#777777}:{color}{color:#666666}//{color}{color:#777777}gitbox{color}{color:#777777}.{color}{color:#777777}apache{color}{color:#777777}.{color}{color:#777777}org{color}{color:#666666}/{color}{color:#777777}repos{color}{color:#666666}/{color}{color:#777777}asf{color}{color:#666666}/{color}{color:#777777}directory{color}{color:#666666}-{color}{color:#777777}studio{color}{color:#777777}.{color}{color:#777777}git{color}
  

Step 2 : {{mvn -f pom-first.xml clean install}} . it was succesfull 

Step 3 : {{mvn clean install, }} after down loading the few dependences I am 
getting null pointer exception like blow

 

 

[ERROR] Internal error: java.lang.NullPointerException -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: 
java.lang.NullPointerException
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:120)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke 
(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke 
(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced 
(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch 
(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode 
(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main 
(Launcher.java:347)
Caused by: java.lang.NullPointerException



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to