Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1227

mvn clean install command throwing NPE

    XMLWordPrintableJSON

Details

    • Outage
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.0-M14
    • 2.0.0-M15
    • studio-rcp
    • None
    • Windows 10
      java 1.8
      Maven 3.6

    Description

      Hi Team,

      I am getting an error on an initial setup with the command "mvn clean install".  here is the error message. 

       

      Steps to reproduce the issue is:

      Step 1 : Get the studio code form the repository. git clone https://gitbox.apache.org/repos/asf/directory-studio.git  

      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

      Attachments

        1. 6B3573178BF44EEE820461620B659371[10805330].png
          14 kB
          Raju
        2. image-2019-06-07-15-08-01-089.png
          232 kB
          Raju
        3. image-2019-06-11-22-28-35-791.png
          36 kB
          Raju
        4. MajoFailureError.log
          15.79 MB
          Raju
        5. Master Branch Build Success Screen .png
          159 kB
          Raju
        6. Mavaen_apachestuidio_build _MojoFailureException.log
          543 kB
          Raju
        7. maven_studio_error.log
          329 kB
          Raju
        8. maven_studio_error.log
          193 kB
          Raju
        9. MojoError.log
          7.54 MB
          Raju
        10. MojoError.log
          372 kB
          Raju
        11. MojoError.log
          372 kB
          Raju
        12. screenshot-1.png
          234 kB
          Raju

        Activity

          People

            Unassigned Unassigned
            RajuG Raju
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: