[ https://issues.apache.org/jira/browse/DIRSTUDIO-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866271#comment-16866271 ]
Stefan Seelmann commented on DIRSTUDIO-1227: -------------------------------------------- There is currently no real stable branch. Don't use "remove-jndi-provider-and-jndi-layer", it was merged to master and now deleted. Please use the "master" branch. As master uses snapshot dependencies for LDAP API and server the build may fail again any time. Additionally, as described in https://github.com/apache/directory-studio#build-issues, the Studio build (which is based on Eclipse Tycho) doesn't update snapshot dependencies itself, so you have to delete them $HOME/.m2/repository/p2/osgi/bundle, to be on the save side even delete the whole $HOME/.m2/repository/ which requires download of all dependencies again. (Under Windows $HOME/.m2 should be C:\Users\yourusername\.m2 but depends on your installation). > 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 > Priority: Critical > Fix For: 2.0.0-M15 > > Attachments: MajoFailureError.log, Mavaen_apachestuidio_build > _MojoFailureException.log, MojoError.log, MojoError.log, MojoError.log, > image-2019-06-07-15-08-01-089.png, image-2019-06-11-22-28-35-791.png, > maven_studio_error.log, maven_studio_error.log > > > 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: dev-unsubscr...@directory.apache.org For additional commands, e-mail: dev-h...@directory.apache.org