You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2008/03/19 23:38:24 UTC

[jira] Commented: (DIRSTUDIO-299) java.lang.NoSuchMethod error when attempting to edit a value

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

Stefan Seelmann commented on DIRSTUDIO-299:
-------------------------------------------

I think I know what happens: You had installed version 1.0.1 of the studio plugins within your eclipse installation, then you updated to 1.1.0 RC2 via the update site. Is this correct?

We missed to bump up the version number of some plugins (at least valueeditors and aciitemeditor), however they were changed. When using the update site eclipse checks if it needs to download the plugins. As the version number is the same as for the former release the new plugins weren't downloaded, you still have the old plugins installed.

As a quick workaround you could download the two plugins manually and put them to your eclipse/plugins folder, so you overwrite the old plugins. The relevant plugins are 
- http://apache.linux-mirror.org/directory/studio/update/1.x/plugins/org.apache.directory.studio.valueeditors_1.0.0.jar
- http://apache.linux-mirror.org/directory/studio/update/1.x/plugins/org.apache.directory.studio.aciitemeditor_1.0.0.jar

Of course have to bump up the version numbers for the final 1.1.0


> java.lang.NoSuchMethod error when attempting to edit a value
> ------------------------------------------------------------
>
>                 Key: DIRSTUDIO-299
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-299
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.1.0
>         Environment: Using DirStudio 1.1.0 RC 2 (Version: 1.1.0.v20080303) as a plugin to Eclipse 3.3.2 (Build id: M20080221-1800) running on Mac OS X 10.4.11 and Java 1.5.0_07.  Server is Fedora Directory Server 1.0.4 over SSL.
>            Reporter: Allen Wittenauer
>            Assignee: Stefan Seelmann
>             Fix For: 1.1.0
>
>
> I am attempting to edit two dhcpService attributes (dhcpPrimaryDN and dhcpSecondaryDN).  I've done this edit countless times before.  But I seem to be unable to edit these fields in either a copy of a pre-existing one or a new entry cloned from another.  On the system console (via Console.app), Eclipse is continually throwing a stack trace (see below). Apologies if this is a dupe.  I was unable to locate a similar JIRA, but then again my JIRA-fu is weak.
> !ENTRY org.eclipse.ui 4 0 2008-03-16 08:58:08.332
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NoSuchMethodError: org.apache.directory.studio.ldapbrowser.common.widgets.search.EntryWidget.<init>(Lorg/apache/directory/studio/ldapbrowser/core/model/IBrowserConnection;Lorg/apache/directory/studio/ldapbrowser/core/model/DN;)V
> 	at org.apache.directory.studio.valueeditors.dn.DnDialog.createDialogArea(Unknown Source)
> 	at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:754)
> 	at org.eclipse.jface.window.Window.create(Window.java:426)
> 	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1083)
> 	at org.eclipse.jface.window.Window.open(Window.java:785)
> 	at org.apache.directory.studio.valueeditors.dn.DnValueEditor.openDialog(Unknown Source)
> 	at org.apache.directory.studio.valueeditors.AbstractDialogValueEditor.activate(AbstractDialogValueEditor.java:159)
> 	at org.eclipse.jface.viewers.CellEditor.activate(CellEditor.java:865)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:178)
> 	at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:377)
> 	at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:670)
> 	at org.eclipse.jface.viewers.ColumnViewer.handleMouseDown(ColumnViewer.java:654)
> 	at org.eclipse.jface.viewers.ColumnViewer.access$0(ColumnViewer.java:650)
> 	at org.eclipse.jface.viewers.ColumnViewer$1.mouseDown(ColumnViewer.java:108)
> 	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)
> 	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1495)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1519)
> 	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1504)
> 	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1295)
> 	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3350)
> 	at org.eclipse.swt.widgets.Control.sendTrackEvents(Control.java:2758)
> 	at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:1961)
> 	at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:367)
> 	at org.eclipse.swt.widgets.Display.controlProc(Display.java:827)
> 	at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method)
> 	at org.eclipse.swt.widgets.Tree.kEventMouseDown(Tree.java:2363)
> 	at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1262)
> 	at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2815)
> 	at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2934)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> 	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 	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.equinox.launcher.Main.invokeFramework(Main.java:508)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
> [NoScript] [NoScript] external load intercepted
> 2008-03-16 09:07:20.336 Linkinus Agent[529] Uncaught behavior ("AWAY"). Should this cause any problems, please let us know at support@linkinus.com
> !ENTRY org.eclipse.ui.workbench 4 0 2008-03-16 09:14:13.887
> !MESSAGE No activeWorkbenchWindow found while executing org.eclipse.ui.help.aboutAction
> !STACK 0
> org.eclipse.core.commands.ExecutionException: No activeWorkbenchWindow found while executing org.eclipse.ui.help.aboutAction
> 	at org.eclipse.ui.handlers.HandlerUtil.noVariableFound(HandlerUtil.java:38)
> 	at org.eclipse.ui.handlers.HandlerUtil.getVariableChecked(HandlerUtil.java:86)
> 	at org.eclipse.ui.handlers.HandlerUtil.getActiveWorkbenchWindowChecked(HandlerUtil.java:188)
> 	at org.eclipse.ui.internal.about.AboutHandler.execute(AboutHandler.java:34)
> 	at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:240)
> 	at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475)
> 	at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:429)
> 	at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165)
> 	at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
> 	at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:178)
> 	at org.eclipse.ui.internal.actions.CommandAction.run(CommandAction.java:192)
> 	at org.eclipse.ui.carbon.CarbonUIEnhancer.runAction(CarbonUIEnhancer.java:286)
> 	at org.eclipse.ui.carbon.CarbonUIEnhancer.access$1(CarbonUIEnhancer.java:280)
> 	at org.eclipse.ui.carbon.CarbonUIEnhancer$Target.commandProc(CarbonUIEnhancer.java:87)
> 	at org.eclipse.swt.internal.carbon.OS.MenuSelect(Native Method)
> 	at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2781)
> 	at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method)
> 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2934)
> 	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
> 	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> 	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
> 	at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
> 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
> 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
> 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
> 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
> 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> 	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.equinox.launcher.Main.invokeFramework(Main.java:508)
> 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
> 	at org.eclipse.equinox.launcher.Main.run(Main.java:1173)

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