[
https://issues.apache.org/jira/browse/DIRSTUDIO-1227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859423#comment-16859423
]
Emmanuel Lecharny commented on DIRSTUDIO-1227:
----------------------------------------------
Hi Raju, Stefan
I just committed some changes in the {{remove-jndi-provider-and-jndi-layer}}
branch to have it build with the latest revision of the LDAP API. It just build
fine on my laptop:
{noformat}
$ ./build.sh
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M;
support was removed in 8.0
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Directory Studio Setup Parent [pom]
[INFO] Apache Directory Studio Target Platform for Eclipse
[eclipse-target-definition]
[INFO] Apache Directory Studio Plugins Parent [pom]
[INFO] Apache Directory Studio Common Core [bundle]
[INFO] Apache Directory Studio LDIF Parser [bundle]
[INFO] Apache Directory Studio Common UI [bundle]
[INFO] Apache Directory Studio Connection Core [bundle]
[INFO] Apache Directory Studio Connection UI [bundle]
[INFO] Apache Directory Studio LDAP Browser Core [bundle]
[INFO] Apache Directory Studio LDAP Browser Common [bundle]
[INFO] Apache Directory Studio LDIF Editor [bundle]
[INFO] Apache Directory Studio LDAP Browser UI [bundle]
[INFO] Apache Directory Studio LDAP Servers [bundle]
[INFO] Apache Directory Studio ApacheDS Configuration [bundle]
[INFO] Apache Directory Studio Schema Editor [bundle]
[INFO] Apache Directory Studio Value Editors [bundle]
[INFO] Apache Directory Studio ACI Item Editor [bundle]
[INFO] Apache Directory Studio eDirectory [bundle]
[INFO] Apache Directory Studio ApacheDS LDAP Server Adapter [bundle]
[INFO] Apache Directory Studio OpenLDAP Common UI [bundle]
[INFO] Apache Directory Studio OpenLDAP Configuration Editor [bundle]
[INFO] Apache Directory Studio SyncRepl [bundle]
[INFO] Apache Directory Studio OpenLDAP ACL Configuration Editor [bundle]
[INFO] Apache Directory Studio RCP [bundle]
[INFO] Apache Directory Studio Combined Editor [bundle]
[INFO] Apache Directory Studio Template Editor [bundle]
[INFO] Apache Directory Studio SLF4J to Eclipse Log Binding [bundle]
[INFO] Apache Directory Studio Help Plugins Parent [pom]
[INFO] Apache Directory Studio Apache DS Help [bundle]
[INFO] Apache Directory Studio LDAP Browser Help [bundle]
[INFO] Apache Directory Studio LDIF Editor Help [bundle]
[INFO] Apache Directory Studio RCP Help [bundle]
[INFO] Apache Directory Studio Schema Editor Help [bundle]
[INFO] Apache Directory Studio Test Plugins [pom]
[INFO] Apache Directory Studio Core Integration Tests [bundle]
[INFO] Apache Directory Studio UI Integration Tests [bundle]
[INFO]
[INFO] --< org.apache.directory.studio:org.apache.directory.studio.setup-parent
>--
[INFO] Building Apache Directory Studio Setup Parent 2.0.0-SNAPSHOT [1/36]
[INFO] --------------------------------[ pom ]---------------------------------
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:16 min
[INFO] Finished at: 2019-06-09T11:11:01+02:00
[INFO] ------------------------------------------------------------------------
$
{noformat}
Stefan, the updated {{pom.xml}} refers to {{LDAP API 2.0.0.AM4-SNAPSHOT}}
because I've not yet pushed the {{LDAP API 2.0.0.AM3}} packages (will do that
shortly). The other updated dependencies are {{commons-lang 3.9}},
{{commons-pool2 2.6.2}} and {{MINA 2.1.3}}
> 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: Mavaen_apachestuidio_build _MojoFailureException.log,
> image-2019-06-07-15-08-01-089.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: [email protected]
For additional commands, e-mail: [email protected]