Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-829

NPE when trying to add a 'subtreeSpecification' value

    Details

      Description

      When we try to enter a new Subentry, as the SubtreeSpecification is empty, we get a NPA :
      !ENTRY org.eclipse.jface 4 2 2012-08-27 15:48:33.433
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
      !STACK 0
      java.lang.NullPointerException
      at org.apache.directory.shared.ldap.model.subtree.AntlrSubtreeSpecificationParser.init(AntlrSubtreeSpecificationParser.java:105)
      at org.apache.directory.shared.ldap.model.subtree.SubtreeSpecificationParser.<init>(SubtreeSpecificationParser.java:64)
      at org.apache.directory.studio.aciitemeditor.valueeditors.SubtreeSpecificationDialog.<init>(SubtreeSpecificationDialog.java:77)
      at org.apache.directory.studio.aciitemeditor.valueeditors.SubtreeValueEditor.openDialog(SubtreeValueEditor.java:79)
      at org.apache.directory.studio.valueeditors.AbstractDialogValueEditor.activate(AbstractDialogValueEditor.java:162)
      at org.eclipse.jface.viewers.CellEditor.activate(CellEditor.java:901)
      at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:204)
      at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:445)
      at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:680)
      at org.eclipse.jface.viewers.ColumnViewer.editElement(ColumnViewer.java:438)
      at org.eclipse.jface.viewers.TreeViewer.editElement(TreeViewer.java:1163)
      at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.activateEditor(AbstractOpenEditorAction.java:129)
      at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.run(AbstractOpenEditorAction.java:100)
      at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenBestEditorAction.run(OpenBestEditorAction.java:204)
      at org.apache.directory.studio.ldapbrowser.common.actions.proxy.BrowserActionProxy.run(BrowserActionProxy.java:259)
      at org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenDefaultEditorAction.run(OpenDefaultEditorAction.java:125)
      at org.apache.directory.studio.ldapbrowser.common.wizards.NewEntryAttributesWizardPage$1.pageChanged(NewEntryAttributesWizardPage.java:125)
      at org.eclipse.jface.wizard.WizardDialog$9.run(WizardDialog.java:1554)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
      at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
      at org.eclipse.jface.wizard.WizardDialog.firePageChanged(WizardDialog.java:1552)
      at org.eclipse.jface.wizard.WizardDialog.update(WizardDialog.java:1337)
      at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1265)
      at org.eclipse.jface.wizard.WizardDialog.access$4(WizardDialog.java:1239)
      at org.eclipse.jface.wizard.WizardDialog$8.run(WizardDialog.java:1228)
      at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
      at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1226)
      at org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:915)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pamarcelot Pierre-Arnaud Marcelot
                Reporter:
                elecharny Emmanuel Lecharny
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: