Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1757

NPE when trying to create a new population

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 4.0M5
    • 4.0 alpha
    • None
    • None

        [RUNTIME-1757] NPE when trying to create a new population

            Caused by: java.lang.NullPointerException
            at org.ametys.core.datasource.DataSourceClientInteraction._dataSourceDefinition2Json(DataSourceClientInteraction.java:373)
            at org.ametys.core.datasource.DataSourceClientInteraction.getLDAPDataSource(DataSourceClientInteraction.java:164)
            at org.ametys.core.datasource.DataSourceClientInteraction.getDataSources(DataSourceClientInteraction.java:107)
            at org.ametys.runtime.plugins.admin.datasource.GetDataSourcesAction.act(GetDataSourcesAction.java:61)
            at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)
        

        Laurence Aumeunier added a comment - Caused by: java.lang.NullPointerException at org.ametys.core.datasource.DataSourceClientInteraction._dataSourceDefinition2Json(DataSourceClientInteraction.java:373) at org.ametys.core.datasource.DataSourceClientInteraction.getLDAPDataSource(DataSourceClientInteraction.java:164) at org.ametys.core.datasource.DataSourceClientInteraction.getDataSources(DataSourceClientInteraction.java:107) at org.ametys.runtime.plugins.admin.datasource.GetDataSourcesAction.act(GetDataSourcesAction.java:61) at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:125)

        Thibaut Rizzi (Inactive) added a comment - - edited

        The same NPE is also thrown when the user try to configure a datasource configuration parameter in the configuration form.
        Once a LDAP datasource is created, the NPE is not thrown anymore.

        Thibaut Rizzi (Inactive) added a comment - - edited The same NPE is also thrown when the user try to configure a datasource configuration parameter in the configuration form. Once a LDAP datasource is created, the NPE is not thrown anymore.

          quentin Quentin Glinel-Mortreuil (Inactive)
          laurence Laurence Aumeunier
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

            Created:
            Updated:
            Resolved: