directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torgeir Veimo (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSTUDIO-258) ArrayIndexOutOfBoundsException when changing Base DN
Date Thu, 10 Jan 2008 03:48:34 GMT
ArrayIndexOutOfBoundsException when changing Base DN
----------------------------------------------------

                 Key: DIRSTUDIO-258
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-258
             Project: Directory Studio
          Issue Type: Bug
    Affects Versions: 1.0.1
         Environment: OS X 10.5, Java 5, Apache DS
            Reporter: Torgeir Veimo


I get an ArrayIndexOutOfBoundsException when I try to change the Base DN of an existing connection.
Happens if the connection is up or not.

!SESSION 2007-12-05 16:30:49.595 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_13
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86, WS=carbon, NL=en_GB
Framework arguments:  -keyring /Users/torgeir/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws carbon -keyring /Users/torgeir/.eclipse_keyring -consoleLog
-showlocation

This is a continuation of log file /Users/torgeir/.ApacheDirectoryStudio/.metadata/.bak_0.log
Created Time: 2007-12-06 14:34:45.487

!ENTRY org.apache.directory.studio.connection.core 4 4 2007-12-06 14:34:45.487
!MESSAGE Error while opening connection
!STACK 0
javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name
'ou=schema'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3010)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
        at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1808)
        at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1731)
        at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:368)
...skipping...
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.apache.directory.studio.Application.run(Unknown Source)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
        at org.eclipse.core.launcher.Main.run(Main.java:977)
        at org.eclipse.core.launcher.Main.main(Main.java:952)
Macintosh:~ torgeir$ tail -f .ApacheDirectoryStudio/.metadata/.log 
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)









!ENTRY org.eclipse.ui 4 4 2008-01-10 13:41:20.547
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2008-01-10 13:41:20.547
!MESSAGE 3
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 3
	at org.apache.directory.shared.ldap.name.RdnParser.isValidAttributeValue(RdnParser.java:589)
	at org.apache.directory.shared.ldap.name.RdnParser.isValid(RdnParser.java:1014)
	at org.apache.directory.shared.ldap.name.LdapDnParser.validateInternal(LdapDnParser.java:190)
	at org.apache.directory.shared.ldap.name.LdapDnParser.validateInternal(LdapDnParser.java:234)
	at org.apache.directory.shared.ldap.name.LdapDN.isValid(LdapDN.java:1647)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage.validate(Unknown
Source)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage.connectionPageModified(Unknown
Source)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage.access$000(Unknown
Source)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage$3.modifyText(Unknown
Source)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.apache.directory.studio.connection.ui.actions.PropertiesAction.run(Unknown Source)
	at org.apache.directory.studio.connection.ui.actions.StudioActionProxy.run(Unknown Source)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.apache.directory.studio.Application.run(Unknown Source)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2008-01-10 13:41:22.530
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2008-01-10 13:41:22.531
!MESSAGE 11
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 11
	at org.apache.directory.shared.ldap.name.RdnParser.isValidAttributeValue(RdnParser.java:589)
	at org.apache.directory.shared.ldap.name.RdnParser.isValid(RdnParser.java:1014)
	at org.apache.directory.shared.ldap.name.LdapDnParser.validateInternal(LdapDnParser.java:211)
	at org.apache.directory.shared.ldap.name.LdapDnParser.validateInternal(LdapDnParser.java:234)
	at org.apache.directory.shared.ldap.name.LdapDN.isValid(LdapDN.java:1647)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage.validate(Unknown
Source)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage.connectionPageModified(Unknown
Source)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage.access$000(Unknown
Source)
	at org.apache.directory.studio.ldapbrowser.common.widgets.connection.BrowserParameterPage$3.modifyText(Unknown
Source)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:196)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.apache.directory.studio.connection.ui.actions.PropertiesAction.run(Unknown Source)
	at org.apache.directory.studio.connection.ui.actions.StudioActionProxy.run(Unknown Source)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.apache.directory.studio.Application.run(Unknown Source)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.jface 4 0 2008-01-10 13:41:25.376
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
	at org.apache.directory.studio.connection.ui.widgets.AuthenticationParameterPage.isReconnectionRequired(Unknown
Source)
	at org.apache.directory.studio.connection.ui.widgets.AuthenticationParameterPage.areParametersModifed(Unknown
Source)
	at org.apache.directory.studio.connection.ui.properties.ConnectionPropertyPage.performOk(Unknown
Source)
	at org.eclipse.jface.preference.PreferenceDialog$11.run(PreferenceDialog.java:889)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
	at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:869)
	at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:377)
	at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:230)
	at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:660)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
	at org.eclipse.jface.window.Window.open(Window.java:796)
	at org.apache.directory.studio.connection.ui.actions.PropertiesAction.run(Unknown Source)
	at org.apache.directory.studio.connection.ui.actions.StudioActionProxy.run(Unknown Source)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.apache.directory.studio.Application.run(Unknown Source)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)


The connetion did not have the "save password" option on. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message