Project

General

Profile

bug #7667

Updated by Andreas Müller over 5 years ago

Copied from #6321: 

 AM: Andreas: "when testing a couple of times I got an EagerLoadingException caused by an NoHttpResponseException. May the test server is swapping again but maybe this is also a general issue on the way how the search is implemented. Or the server is not able to that many request at the same time. Needs to be checked. Therefore I added AK in cc. 
 I did run search on >10.000 names and reloading triggered by save." 

 AM: For small queries it usually works.  

 AM: Also unexpected is that before these exceptions the TaxEditor becomes unresponsive. As I thought that the queries run in a non UI thread I wouldn't expect this. 

 AM: maybe first check if behavior on production is similar as production is much faster   

 ~~~ 
 !ENTRY org.eclipse.e4.ui.workbench 4 0 2018-08-10 20:58:01.277 
 !MESSAGE  
 !STACK 0 
 eu.etaxonomy.taxeditor.remoting.CdmEagerLoadingException: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://test.e-taxonomy.eu:80/cdmserver/rem_conf_am/remoting/common.service]; nested exception is org.apache.http.NoHttpResponseException: test.e-taxonomy.eu:80 failed to respond 
     at org.hibernate.collection.internal.AbstractPersistentCollection.remoteInitialize(AbstractPersistentCollection.java:1358) 
     at org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:627) 
     at org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:167) 
     at org.hibernate.collection.internal.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:184) 
     at org.hibernate.collection.internal.PersistentSet.size(PersistentSet.java:143) 
     at eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection.setSectionTitle(AbstractEntityCollectionSection.java:178) 
     at eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection.internalUpdateSection(AbstractEntityCollectionSection.java:204) 
     at eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionSection.setEntity(AbstractEntityCollectionSection.java:165) 
     at eu.etaxonomy.taxeditor.view.detail.CdmSectionPart.setFormInput(CdmSectionPart.java:155) 
     at org.eclipse.ui.forms.ManagedForm.setInput(ManagedForm.java:210) 
     at eu.etaxonomy.taxeditor.view.e4.AbstractCdmDataViewerE4.refresh(AbstractCdmDataViewerE4.java:161) 
     at eu.etaxonomy.taxeditor.view.e4.AbstractCdmDataViewerE4.setInput(AbstractCdmDataViewerE4.java:143) 
     at eu.etaxonomy.taxeditor.view.e4.AbstractCdmEditorPartE4.showViewer(AbstractCdmEditorPartE4.java:225) 
     at eu.etaxonomy.taxeditor.view.e4.supplementaldata.SupplementalDataPartE4.selectionChanged_internal(SupplementalDataPartE4.java:121) 
     at eu.etaxonomy.taxeditor.view.e4.AbstractCdmEditorPartE4$DelaySelection.run(AbstractCdmEditorPartE4.java:85) 
     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
     at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) 
     at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4211) 
     at org.eclipse.swt.widgets.Display.msgFilterProc(Display.java:3541) 
     at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) 
     at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2547) 
     at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:88) 
     at org.eclipse.swt.widgets.Composite.WM_SYSCOMMAND(Composite.java:1864) 
     at org.eclipse.swt.widgets.Control.windowProc(Control.java:4877) 
     at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359) 
     at org.eclipse.swt.widgets.Display.windowProc(Display.java:5110) 
     at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) 
     at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2547) 
     at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:88) 
     at org.eclipse.swt.widgets.Control.windowProc(Control.java:4897) 
     at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:359) 
     at org.eclipse.swt.widgets.Display.windowProc(Display.java:5123) 
     at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) 
     at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2552) 
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3822) 
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121) 
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) 
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022) 
     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150) 
     at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693) 
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) 
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610) 
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) 
     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:134) 
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) 
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:498) 
     at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673) 
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610) 
     at org.eclipse.equinox.launcher.Main.run(Main.java:1519) 
 Caused by: org.springframework.remoting.RemoteAccessException: Could not access HTTP invoker remote service at [http://test.e-taxonomy.eu:80/cdmserver/rem_conf_am/remoting/common.service]; nested exception is org.apache.http.NoHttpResponseException: test.e-taxonomy.eu:80 failed to respond 
     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.$Proxy49.initializeCollection(Unknown Source) 
     at eu.etaxonomy.taxeditor.service.CachedCommonServiceImpl.initializeCollection(CachedCommonServiceImpl.java:61) 
     at org.hibernate.collection.internal.AbstractPersistentCollection.remoteInitialize(AbstractPersistentCollection.java:1340) 
     ... 55 more 
 Caused by: org.apache.http.NoHttpResponseException: test.e-taxonomy.eu:80 failed to respond 
     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:143) 
     at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57) 
     at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261) 
     at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165) 
     at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167) 
     at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272) 
     at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124) 
     at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) 
     at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) 
     at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) 
     at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 
     at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) 
     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) 
     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) 
     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) 
     at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.executeHttpPost(HttpComponentsHttpInvokerRequestExecutor.java:338) 
     at org.springframework.remoting.httpinvoker.HttpComponentsHttpInvokerRequestExecutor.doExecuteRequest(HttpComponentsHttpInvokerRequestExecutor.java:229) 
     at eu.etaxonomy.taxeditor.service.CdmServiceRequestExecutor.doExecuteRequest(CdmServiceRequestExecutor.java:61) 
     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) 
     ... 60 more 
 ~~~

Back