directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Kelly <sean.c.ke...@me.com>
Subject Re: 'Save Configuration' has encountered a problem
Date Thu, 13 Apr 2017 19:03:10 GMT
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:

-----


> Stefan Seelmann <mailto:mail@stefan-seelmann.de>
> 2017-04-13 at 1.05 p
> Hi Sean,
>
> which version of Apache Directory Studio are you using? From stack trace
> (ServerConfigurationEditorUtils.java:340) I assume it is a very old one
> from 2015? If so can you try wit latest 2.0.0-M12?
>
> Kind Regards,
> Stefan
>
> Sean Kelly <mailto:kelly@apache.org>
> 2017-04-13 at 11.30 a
> Hi folks:
>
> I'm trying to add a new partition to an existing Apache DS 2.0.0-M20, 
> following the instructions [1]. However, when I click "Save", the 
> Studio reports "'Save Configuration' has encountered a problem" and 
> the Details button reveals:
>
> -----
> 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:114)

>
>     at 
> org.apache.directory.server.config.ConfigWriter.getConvertedLdifEntries(ConfigWriter.java:191)

>
>     at 
> org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditorUtils.saveConfiguration(ServerConfigurationEditorUtils.java:340)

>
>     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:83) 
>
>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: java.lang.NullPointerException
>     at 
> org.apache.directory.server.config.ConfigWriter.getDn(ConfigWriter.java:539) 
>
>     at 
> org.apache.directory.server.config.ConfigWriter.addBean(ConfigWriter.java:323) 
>
>     at 
> org.apache.directory.server.config.ConfigWriter.addBean(ConfigWriter.java:407) 
>
>     at 
> org.apache.directory.server.config.ConfigWriter.addBean(ConfigWriter.java:290) 
>
>     at 
> org.apache.directory.server.config.ConfigWriter.convertConfigurationBeanToLdifEntries(ConfigWriter.java:107)

>
>     ... 5 more
>
> Unable to convert the configuration bean to LDIF entries
> -----
>
> Any ideas what's going on?
>
> Thanks,
> Sean.
>
> [1] 
> http://directory.apache.org/apacheds/basic-ug/1.4.3-adding-partition.html
>

-- 
Sean Kelly
http://seankelly.biz/
http://about.me/sean.c.kelly
<https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message