directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre-Arnaud Marcelot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSTUDIO-829) NPE when trying to create a Subentry
Date Mon, 27 Aug 2012 13:56:08 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13442421#comment-13442421
] 

Pierre-Arnaud Marcelot commented on DIRSTUDIO-829:
--------------------------------------------------

For the record, this bug occurs when we create a new entry and try to add a 'subtreeSpecification'
attribute.
                
> NPE when trying to create a Subentry
> ------------------------------------
>
>                 Key: DIRSTUDIO-829
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-829
>             Project: Directory Studio
>          Issue Type: Bug
>    Affects Versions: 2.0.0-M3
>            Reporter: Emmanuel Lecharny
>             Fix For: 2.0.0-M4
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message