Sure thing, Stefan:

    https://issues.apache.org/jira/browse/DIRSTUDIO-1143

Thanks for your help.
--Sean

Stefan Seelmann <mailto:m...@stefan-seelmann.de>
2017-04-24 at 12.52 p
Hi Sean,

Sorry for late reply.

No need to try with Java 1.9, I just thought you may get the error
because you already use Java 1.9. Just keep 1.8.

The error clearly happens in Studio, not on the server side. But I have
no idea why it happens. The line where the NullPointerException happens
(ConfigWriter.java:540) needs to be changed to check for null and to
prevent the error. I need to investigate more.

In the meantime, can you please file a Jira [1]?

Thanks,
Stefan

[1] http://issues.apache.org/jira/browse/DIRSTUDIO



Sean Kelly <mailto:ke...@apache.org>
2017-04-24 at 12.29 p
Hi Stefan:

Yes, I used the exact same values as in the tutorial with no luck.

The system administrators upgraded to Java jdk1.8.0_131. Still no luck there.

(Where do we get Java 1.9? The latest at java.sun.com is 1.8.0_131.)

Take care
--k


Stefan Seelmann <mailto:m...@stefan-seelmann.de>
2017-04-13 at 2.57 p
Tested with Studio 2.0.0-M12 against ApacheDS 2.0.0-M20 and 2.0.0-M23 to
add the "o=sevenSeas" partition as described in the tutorial just works
(the screenshot are not up-to-date btw).

Did you choose same values as in the tutorial?

Another idea, as we use reflection in that part of code where the
NullPointerException occurs: do you use Java 9? Or which Java version do
you use?

Kind Regards,
Stefan


Sean Kelly <mailto:ke...@apache.org>
2017-04-13 at 2.05 p
Thanks for responding, Stefan. (And apologies if this message appears twice. My mail client is acting oddly.)

I upgraded Apache Directory Studio to Version: 2.0.0.v20161101-M12. But I still get a stack trace when I try to save my configuration:

-----
Unable to save configuration.
 - Unable to convert the configuration bean to LDIF entries
org.apache.directory.server.config.ConfigurationException: Unable to convert the configuration bean to LDIF entries at org.apache.directory.server.config.ConfigWriter.convertConfigurationBeanToLdifEntries(ConfigWriter.java:115) at org.apache.directory.server.config.ConfigWriter.getConvertedLdifEntries(ConfigWriter.java:192) at org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:328) at org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:109) at org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.lang.NullPointerException
at org.apache.directory.server.config.ConfigWriter.getDn(ConfigWriter.java:540) at org.apache.directory.server.config.ConfigWriter.addBean(ConfigWriter.java:324) at org.apache.directory.server.config.ConfigWriter.addBean(ConfigWriter.java:408) at org.apache.directory.server.config.ConfigWriter.addBean(ConfigWriter.java:291) at org.apache.directory.server.config.ConfigWriter.convertConfigurationBeanToLdifEntries(ConfigWriter.java:108)
    ... 5 more

Unable to convert the configuration bean to LDIF entries
-----

Is there something I should look for in the server's log?

--k

Sean Kelly <mailto:sean.c.ke...@me.com>
2017-04-13 at 2.03 p
Thanks for responding, Stefan.

I upgraded Apache Directory Studio to Version: 2.0.0.v20161101-M12. But I still get a stack trace when I try to save my configuration:

-----



Reply via email to