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

Eric Lawson commented on DIRSTUDIO-1134:
----------------------------------------

Is it visible in the entry editor and the boolean is a single-valued attribute. 
 In the entry editor a message appears ">>> Error, the configured value editor 
can not handle this value!<<<"

Here is the logfile errors:



!ENTRY org.eclipse.ui 4 0 2016-12-28 08:36:07.400
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
        at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
        at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
        at 
org.eclipse.jface.viewers.TextCellEditor.doSetValue(TextCellEditor.java:231)
        at 
org.apache.directory.studio.valueeditors.AbstractInPlaceStringValueEditor.doSetValue(AbstractInPlaceStringValueEditor.java:230)
        at org.eclipse.jface.viewers.CellEditor.setValue(CellEditor.java:861)
        at 
org.eclipse.jface.viewers.EditingSupport.initializeCellEditorValue(EditingSupport.java:100)
        at 
org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:199)
        at 
org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:452)
        at 
org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:676)
        at 
org.eclipse.jface.viewers.ColumnViewer.editElement(ColumnViewer.java:422)
        at 
org.eclipse.jface.viewers.TreeViewer.editElement(TreeViewer.java:1118)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.activateEditor(AbstractOpenEditorAction.java:140)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.run(AbstractOpenEditorAction.java:111)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenBestEditorAction.run(OpenBestEditorAction.java:212)
        at 
org.apache.directory.studio.ldapbrowser.common.actions.proxy.BrowserActionProxy.run(BrowserActionProxy.java:260)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenDefaultEditorAction.run(OpenDefaultEditorAction.java:125)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.EntryEditorWidgetUniversalListener$1.widgetDefaultSelected(EntryEditorWidgetUniversalListener.java:94)
        at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:119)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
        at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
        at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
        at 
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.apache.directory.studio.Application.start(Application.java:51)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1515)

!ENTRY org.apache.directory.studio.common.core 4 4 2016-12-28 08:36:10.689
!MESSAGE Error while executing LDIF
 - [LDAP: error code 21 - NDS error: no additional information available (-306)]
!SUBENTRY 1 org.apache.directory.studio.common.core 4 4 2016-12-28 08:36:10.689
!MESSAGE javax.naming.directory.InvalidAttributeValueException: [LDAP: error 
code 21 - NDS error: no additional information available (-306)]; remaining 
name 'cn=b93748,ou=EMPLOYEES,ou=NA,ou=INTERNAL,o=SAC'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3148)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888)
        at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1475)
        at 
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:277)
        at 
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:192)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$2.run(JNDIConnectionWrapper.java:455)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1304)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.checkConnectionAndRunAndMonitor(JNDIConnectionWrapper.java:1237)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.modifyEntry(JNDIConnectionWrapper.java:510)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdifRecord(ImportLdifRunnable.java:515)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdif(ImportLdifRunnable.java:272)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.executeLdif(ExecuteLdifRunnable.java:157)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:123)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:59)
        at 
org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:116)
        at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

!STACK 0
javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - 
NDS error: no additional information available (-306)]; remaining name 
'cn=b93748,ou=EMPLOYEES,ou=NA,ou=INTERNAL,o=SAC'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3148)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3081)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2888)
        at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1475)
        at 
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:277)
        at 
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:192)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$2.run(JNDIConnectionWrapper.java:455)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1304)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.checkConnectionAndRunAndMonitor(JNDIConnectionWrapper.java:1237)
        at 
org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.modifyEntry(JNDIConnectionWrapper.java:510)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdifRecord(ImportLdifRunnable.java:515)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifRunnable.importLdif(ImportLdifRunnable.java:272)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.executeLdif(ExecuteLdifRunnable.java:157)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.ExecuteLdifRunnable.run(ExecuteLdifRunnable.java:123)
        at 
org.apache.directory.studio.ldapbrowser.core.jobs.UpdateEntryRunnable.run(UpdateEntryRunnable.java:59)
        at 
org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:116)
        at 
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

!ENTRY org.eclipse.ui 4 4 2016-12-28 08:36:37.959
!MESSAGE Conflicting handlers for 
org.eclipse.ui.edit.text.contentAssist.proposals: 
{org.apache.directory.studio.ldapbrowser.common.widgets.DialogContentAssistant$2@5f0b2fe1}
 vs 
{org.apache.directory.studio.ldapbrowser.common.widgets.DialogContentAssistant$2@4b9b57d9}

!ENTRY org.eclipse.ui 4 4 2016-12-28 08:36:37.959
!MESSAGE Conflicting handlers for 
org.eclipse.ui.edit.text.contentAssist.proposals: 
{org.apache.directory.studio.ldapbrowser.common.widgets.DialogContentAssistant$2@5f0b2fe1}
 vs {org.eclipse.ui.fieldassist.ContentAssistCommandAdapter$1@75dc1d5a}

!ENTRY org.eclipse.ui 4 0 2016-12-28 08:36:46.309
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable 
(org.eclipse.core.runtime.AssertionFailedException: assertion failed: )
        at org.eclipse.swt.SWT.error(SWT.java:4491)
        at org.eclipse.swt.SWT.error(SWT.java:4406)
        at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4024)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
        at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
        at 
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
        at 
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:694)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:606)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
        at org.apache.directory.studio.Application.start(Application.java:51)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
Caused by: org.eclipse.core.runtime.AssertionFailedException: assertion failed: 
        at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
        at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
        at 
org.eclipse.jface.viewers.TextCellEditor.doSetValue(TextCellEditor.java:231)
        at 
org.apache.directory.studio.valueeditors.AbstractInPlaceStringValueEditor.doSetValue(AbstractInPlaceStringValueEditor.java:230)
        at org.eclipse.jface.viewers.CellEditor.setValue(CellEditor.java:861)
        at 
org.eclipse.jface.viewers.EditingSupport.initializeCellEditorValue(EditingSupport.java:100)
        at 
org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:199)
        at 
org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:452)
        at 
org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:676)
        at 
org.eclipse.jface.viewers.ColumnViewer.editElement(ColumnViewer.java:422)
        at 
org.eclipse.jface.viewers.TreeViewer.editElement(TreeViewer.java:1118)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.activateEditor(AbstractOpenEditorAction.java:140)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.AbstractOpenEditorAction.run(AbstractOpenEditorAction.java:111)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenBestEditorAction.run(OpenBestEditorAction.java:212)
        at 
org.apache.directory.studio.ldapbrowser.common.actions.proxy.BrowserActionProxy.run(BrowserActionProxy.java:260)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.OpenDefaultEditorAction.run(OpenDefaultEditorAction.java:125)
        at 
org.apache.directory.studio.ldapbrowser.common.widgets.entryeditor.EntryEditorWidgetUniversalListener.entryUpdated(EntryEditorWidgetUniversalListener.java:264)
        at 
org.apache.directory.studio.ldapbrowser.ui.editors.entry.EntryEditorUniversalListener.entryUpdated(EntryEditorUniversalListener.java:186)
        at 
org.apache.directory.studio.ldapbrowser.core.events.EventRegistry$4$1.run(EventRegistry.java:237)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at 
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        ... 23 more


> Boolean Attribute Addition with no value causes Directory Studio crash on Mac
> -----------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-1134
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-1134
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-apacheds
>    Affects Versions: 2.0.0-M12
>         Environment: MacOS Sierra 10.12.2
>            Reporter: Eric Lawson
>            Priority: Minor
>
> When adding a boolean attribute to an object with no attribute value 
> Directory Studio crashes.  I can't reproduce this issue on Windows only on 
> the Mac version 2.0.0-M12



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to