bug #6099

Duration of save is increasing

Added by Katja Luther over 4 years ago. Updated about 4 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
8.00 h
Found in Version:


Hallo Andreas,

also das Speicherns dauert nach Neuanlegen einer Common names bei Hieracium immer noch unerträglich lange (von fast 1 min bis zu mehreren min, im letzteren Fall erscheint eine Fehlermeldung (s.u.) aber alles ist korrekt gespeichert) . Es scheint mir, dass es um so länger dauert, je mehr Unterarten eine Art hat, warum auch immer. z.B. Hieracium murorum subsp. medianiforme.

Beste Grüße,

login : ki
editor version : 4.2.0
server : /
schema version :
os : Windows 7 6.1 amd64
java : 1.8.0_91
org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at []; nested exception is org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 8192; actual size: 5476)
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.convertHttpInvokerAccessException(
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(
                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(
                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(
                at com.sun.proxy.$Proxy53.merge(Unknown Source)
                at eu.etaxonomy.taxeditor.editor.TaxonEditorInput.merge(
                at eu.etaxonomy.taxeditor.editor.MultiPageTaxonEditor.doSave(
                at org.eclipse.ui.internal.SaveableHelper$
                at org.eclipse.ui.internal.SaveableHelper$
                at org.eclipse.jface.operation.ModalContext.runInCurrentThread(
                at org.eclipse.jface.window.ApplicationWindow$
                at org.eclipse.swt.custom.BusyIndicator.showWhile(
                at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(
                at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(
                at org.eclipse.ui.internal.SaveableHelper.savePart(
                at org.eclipse.ui.internal.EditorManager.savePart(
                at org.eclipse.ui.internal.WorkbenchPage.savePart(
                at org.eclipse.ui.internal.WorkbenchPage.saveEditor(
                at org.eclipse.ui.internal.handlers.SaveHandler.execute(
                at org.eclipse.ui.internal.handlers.HandlerProxy.execute(
                at org.eclipse.core.commands.Command.executeWithChecks(
                at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(
                at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(
                at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(
                at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(
                at org.eclipse.ui.menus.CommandContributionItem.access$19(
                at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(
                at org.eclipse.swt.widgets.EventTable.sendEvent(
                at org.eclipse.swt.widgets.Widget.sendEvent(
                at org.eclipse.swt.widgets.Display.runDeferredEvents(
                at org.eclipse.swt.widgets.Display.readAndDispatch(
                at org.eclipse.ui.internal.Workbench.runEventLoop(
                at org.eclipse.ui.internal.Workbench.runUI(
                at org.eclipse.ui.internal.Workbench.access$4(
                at org.eclipse.ui.internal.Workbench$
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
                at eu.etaxonomy.taxeditor.Application.start(
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
                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(
                at org.eclipse.equinox.launcher.Main.basicRun(
Caused by: org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 8192; actual size: 5476)
                at org.apache.http.impl.execchain.ResponseEntityProxy.streamClosed(
                at org.apache.http.conn.EofSensorInputStream.checkClose(
                at org.apache.http.conn.EofSensorInputStream.close(
                at$PeekInputStream.close(Unknown Source)
                at$BlockDataInputStream.close(Unknown Source)
                at Source)
                at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.readRemoteInvocationResult(
                at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(
                at eu.etaxonomy.taxeditor.service.CdmServiceRequestExecutor.doExecuteRequest(
                at org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor.executeRequest(
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.executeRequest(
                at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(
                ... 52 more

Associated revisions

Revision 08a698af (diff)
Added by Katja Luther over 4 years ago

ref #6099: removing cascading to child nodes and adapting the service and persistence layer


#1 Updated by Katja Luther over 4 years ago

the time consuming call is CdmStore.getService(ITaxonNodeService.class).merge(taxonNode, true);

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

  • Estimated time set to 8.00 h

#3 Updated by Katja Luther over 4 years ago

to reduce the saving time we removed the cascading to the child taxa.
please test the editor, if everything works as expected and everything is saved correctly.

#4 Updated by Katja Luther over 4 years ago

  • Assignee changed from Katja Luther to Andreas Müller

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

  • Target version changed from Release 4.4 to Release 4.5

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

  • Target version changed from Release 4.5 to Release 4.6

#7 Updated by Andreas Müller about 4 years ago

  • Status changed from New to Resolved
  • Assignee changed from Andreas Müller to Norbert Kilian
  • Target version changed from Release 4.6 to Release 4.4

Hi Norbert,

could you please check if this is fixed or at least better now. Probably it was fixed in version 4.4. already.

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

  • Status changed from Resolved to Closed
  • Assignee changed from Norbert Kilian to Katja Luther

Hallo ,

ich habe gerade ein paar Test gemacht und da ging das Speichern für das im Ticket genannte Taxon ganz erheblich schneller (c. 20 sec) als bei Abfassen des Tickets. So ist das also völlig OK. Danke!

Beste Grüße,

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)