Directory Studio
  1. Directory Studio
  2. DIRSTUDIO-919

Invalid thread access when saving an new ApacheDS 2.0 configuration file

    Details

      Description

      Invalid thread access when saving an new ApacheDS 2.0 configuration file

      Unable to save configuration.

      • Invalid thread access
        org.eclipse.swt.SWTException: Invalid thread access
        at org.eclipse.swt.SWT.error(SWT.java:4361)
        at org.eclipse.swt.SWT.error(SWT.java:4276)
        at org.eclipse.swt.SWT.error(SWT.java:4247)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:775)
        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:570)
        at org.eclipse.swt.widgets.Dialog.checkParent(Dialog.java:165)
        at org.eclipse.swt.widgets.Dialog.<init>(Dialog.java:127)
        at org.eclipse.swt.widgets.FileDialog.<init>(FileDialog.java:95)
        at org.apache.directory.studio.apacheds.configuration.v2.editor.ServerConfigurationEditorUtils.saveAs(ServerConfigurationEditorUtils.java:154)
        at org.apache.directory.studio.apacheds.configuration.v2.editor.ServerConfigurationEditor.doSaveAs(ServerConfigurationEditor.java:213)
        at org.apache.directory.studio.apacheds.configuration.v2.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:146)
        at org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:83)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

        Activity

        Hide
        Stefan Seelmann added a comment -

        Let's try to fix that in the next version.

        Show
        Stefan Seelmann added a comment - Let's try to fix that in the next version.
        Hide
        Mitchell Ackerman added a comment -

        Issue exists in Version: 2.0.0.v20151221-M10

        org.eclipse.swt.SWTException: Invalid thread access
        at org.eclipse.swt.SWT.error(SWT.java:4441)
        at org.eclipse.swt.SWT.error(SWT.java:4356)
        at org.eclipse.swt.SWT.error(SWT.java:4327)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:476)
        at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:367)
        at org.eclipse.swt.widgets.Text.getText(Text.java:1351)
        at org.apache.directory.studio.apacheds.configuration.editor.PartitionDetailsPage.commit(PartitionDetailsPage.java:827)
        at org.apache.directory.studio.apacheds.configuration.editor.PartitionsMasterDetailsBlock.doSave(PartitionsMasterDetailsBlock.java:439)
        at org.apache.directory.studio.apacheds.configuration.editor.PartitionsPage.doSave(PartitionsPage.java:203)
        at org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor.doSavePages(ServerConfigurationEditor.java:270)
        at org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor.doSaveAs(ServerConfigurationEditor.java:230)
        at org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:140)
        at org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

        eclipse.buildId=unknown
        java.version=1.8.0_66
        java.vendor=Oracle Corporation
        BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
        Framework arguments: /studio-rcp/resources/icons/linux/studio.xpm
        Command-line arguments: -os win32 -ws win32 -arch x86_64 /studio-rcp/resources/icons/linux/studio.xpm

        Show
        Mitchell Ackerman added a comment - Issue exists in Version: 2.0.0.v20151221-M10 org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4441) at org.eclipse.swt.SWT.error(SWT.java:4356) at org.eclipse.swt.SWT.error(SWT.java:4327) at org.eclipse.swt.widgets.Widget.error(Widget.java:476) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:367) at org.eclipse.swt.widgets.Text.getText(Text.java:1351) at org.apache.directory.studio.apacheds.configuration.editor.PartitionDetailsPage.commit(PartitionDetailsPage.java:827) at org.apache.directory.studio.apacheds.configuration.editor.PartitionsMasterDetailsBlock.doSave(PartitionsMasterDetailsBlock.java:439) at org.apache.directory.studio.apacheds.configuration.editor.PartitionsPage.doSave(PartitionsPage.java:203) at org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor.doSavePages(ServerConfigurationEditor.java:270) at org.apache.directory.studio.apacheds.configuration.editor.ServerConfigurationEditor.doSaveAs(ServerConfigurationEditor.java:230) at org.apache.directory.studio.apacheds.configuration.jobs.SaveConfigurationRunnable.run(SaveConfigurationRunnable.java:140) at org.apache.directory.studio.common.core.jobs.StudioJob.run(StudioJob.java:85) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) eclipse.buildId=unknown java.version=1.8.0_66 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: /studio-rcp/resources/icons/linux/studio.xpm Command-line arguments: -os win32 -ws win32 -arch x86_64 /studio-rcp/resources/icons/linux/studio.xpm
        Hide
        Pierre-Arnaud Marcelot added a comment -

        Fixed at revision 1493124.

        http://svn.apache.org/r1493124

        Show
        Pierre-Arnaud Marcelot added a comment - Fixed at revision 1493124. http://svn.apache.org/r1493124

          People

          • Assignee:
            Pierre-Arnaud Marcelot
            Reporter:
            Pierre-Arnaud Marcelot
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development