Project

General

Profile

bug #5965

Check if authentication works correctly after datasource change

Added by Andreas Müller about 3 years ago. Updated almost 2 years ago.

Status:
Worksforme
Priority:
Highest
Category:
taxeditor
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
0.50 h
Severity:
normal
Found in Version:

Description

Hallo,

bei Caryophyllales_spp gibt’s folgende Meldung (Rubiaceae_Mex) funktioniert.

Herzlichen Gruß

Walter

login : w.berendsohn
editor version : 4.2.0
server : api.cybertaxonomy.org / cybertaxonomy.org
schema version : 4.0.0.0.201604200000
os : Windows 7 6.1 amd64
java : 1.8.0_91
org.eclipse.swt.SWTException: Failed to execute runnable (org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://api.cybertaxonomy.org:80/caryophyllales_spp/remoting/term.service]; nested exception is org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 401, status message = [Full authentication is required to access this resource])
                at org.eclipse.swt.SWT.error(SWT.java:4282)
                at org.eclipse.swt.SWT.error(SWT.java:4197)
                at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
                at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
                at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:173)
                at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:388)
                at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
                at eu.etaxonomy.taxeditor.store.CdmStoreConnector.start(CdmStoreConnector.java:146)
                at eu.etaxonomy.taxeditor.store.CdmStore.connect(CdmStore.java:215)
                at eu.etaxonomy.taxeditor.store.CdmStore.connect(CdmStore.java:170)
                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.connect(RemotingLoginDialog.java:870)
                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.access$5(RemotingLoginDialog.java:856)
                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog$5.mouseUp(RemotingLoginDialog.java:352)
                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:219)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
                at eu.etaxonomy.taxeditor.ui.dialog.RemotingLoginDialog.open(RemotingLoginDialog.java:207)
                at eu.etaxonomy.taxeditor.handler.ShowRemotingLoginWindowHandler.execute(ShowRemotingLoginWindowHandler.java:38)
                at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
                at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
                at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
                at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
                at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
                at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
                at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
                at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
                at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                at eu.etaxonomy.taxeditor.Application.start(Application.java:24)
                at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://api.cybertaxonomy.org:80/caryophyllales_spp/remoting/term.service]; nested exception is org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 401, status message = [Full authentication is required to access this resource]
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(HttpInvokerClientInterceptor.java:216)
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:147)
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
                at com.sun.proxy.$Proxy7.listByTermType(Unknown Source)
                at eu.etaxonomy.taxeditor.store.TermStore.getTermsFromService(TermStore.java:113)
                at eu.etaxonomy.taxeditor.store.TermStore.getTerms(TermStore.java:64)
                at eu.etaxonomy.taxeditor.store.TermManager.getPreferredTerms(TermManager.java:56)
                at eu.etaxonomy.taxeditor.ui.combo.TermComboElement.<init>(TermComboElement.java:118)
                at eu.etaxonomy.taxeditor.ui.combo.TermComboElement.<init>(TermComboElement.java:80)
                at eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.createDefinedTermComboElement(CdmFormFactory.java:917)
                at eu.etaxonomy.taxeditor.ui.section.name.NameDetailElement.createControls(NameDetailElement.java:84)
                at eu.etaxonomy.taxeditor.ui.section.name.NameDetailElement.createControls(NameDetailElement.java:1)
                at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.updateContent(AbstractCdmDetailElement.java:102)
                at eu.etaxonomy.taxeditor.ui.section.name.NameDetailElement.updateContent(NameDetailElement.java:117)
                at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement.setEntity(AbstractCdmDetailElement.java:89)
                at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection.setEntity(AbstractCdmDetailSection.java:125)
                at eu.etaxonomy.taxeditor.ui.section.name.NonViralNameDetailElement.setEntity(NonViralNameDetailElement.java:114)
                at eu.etaxonomy.taxeditor.ui.section.name.NonViralNameDetailElement.setEntity(NonViralNameDetailElement.java:1)
                at eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection.setEntity(AbstractCdmDetailSection.java:125)
                at eu.etaxonomy.taxeditor.ui.section.name.NonViralNameDetailSection.setTaxonBase(NonViralNameDetailSection.java:142)
                at eu.etaxonomy.taxeditor.view.detail.CdmSectionPart.setFormInput(CdmSectionPart.java:83)
                at org.eclipse.ui.forms.ManagedForm.setInput(ManagedForm.java:238)
                at eu.etaxonomy.taxeditor.view.AbstractCdmDataViewer.refresh(AbstractCdmDataViewer.java:155)
                at eu.etaxonomy.taxeditor.view.AbstractCdmDataViewer.setInput(AbstractCdmDataViewer.java:135)
                at eu.etaxonomy.taxeditor.view.detail.DetailsViewer.setInput(DetailsViewer.java:162)
                at eu.etaxonomy.taxeditor.view.AbstractCdmViewPart.showViewer(AbstractCdmViewPart.java:116)
                at eu.etaxonomy.taxeditor.view.detail.DetailsViewPart.selectionChanged_internal(DetailsViewPart.java:91)
                at eu.etaxonomy.taxeditor.view.AbstractCdmEditorViewPart$DelaySelection.run(AbstractCdmEditorViewPart.java:52)
                at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
                at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
                ... 50 more
Caused by: org.apache.http.NoHttpResponseException: Did not receive successful HTTP response: status code = 401, status message = [Full authentication is required to access this resource]
                at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.validateResponse(HttpComponentsHttpInvokerRequestExecutor.java:357)
                at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpComponentsHttpInvokerRequestExecutor.java:230)
                at eu.etaxonomy.taxeditor.service.CdmServiceRequestExecutor.doExecuteRequest(CdmServiceRequestExecutor.java:58)
                at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(AbstractHttpInvokerRequestExecutor.java:138)
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:194)
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(HttpInvokerClientInterceptor.java:176)
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:144)
                ... 79 more

This mail came right after upgrade to CDM v4.2.0. So maybe it is also related to the previous upgrade.

History

#1 Updated by Andreas Müller almost 3 years ago

  • Description updated (diff)
  • Priority changed from New to Highest

#2 Updated by Andreas Müller almost 3 years ago

  • Status changed from New to In Progress
  • Assignee changed from Katja Luther to Andreas Müller
  • Target version changed from Unassigned CDM tickets to Release 4.4
  • Estimated time set to 0.50 h

#3 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.4 to Release 4.5

#4 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.5 to Release 4.6

#5 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.6 to Release 4.7

#6 Updated by Andreas Müller over 2 years ago

  • Private changed from Yes to No

#7 Updated by Andreas Müller over 2 years ago

  • Target version changed from Release 4.7 to Release 4.8

#8 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.8 to Release 4.9

#9 Updated by Andreas Müller about 2 years ago

  • Target version changed from Release 4.9 to Release 4.10

#10 Updated by Andreas Müller almost 2 years ago

  • Status changed from In Progress to Worksforme
  • Target version deleted (Release 4.10)

Can't reproduce this anymore. Maybe it fixed in the meanwhile or was related to the update.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)