0 votes
29 views

While trying to fetch from the collaboration server into a newly created database, I was notified of an "error during fetch." I do not have a local copy of the database saved. Any ideas about what the cause of this error could be? Is there any way around this error? 

Thank you.

in LCA Collaboration Server by (180 points)
by (38.2k points)
There can be many reasons, from interrupted internet connection to insufficient local disc space to access issues with the repository. Typically there is more information provided?
by (180 points)
Below is the error as it appears in the error log file.

57075|JavaFX Application Thread|ERROR|org.openlca.app.navigation.actions.cloud.FetchAction|Error during fetch action
java.lang.reflect.InvocationTargetException
     at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:423)
     at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
     at org.openlca.app.navigation.actions.cloud.FetchAction$Runner.fetchData(Unknown Source)
     at org.openlca.app.navigation.actions.cloud.FetchAction$Runner.run(Unknown Source)
     at org.openlca.app.navigation.actions.cloud.FetchAction.run(Unknown Source)
     at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
     at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
     at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
     at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
     at org.openlca.app.rcp.RcpApplication.start(Unknown Source)
     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:382)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
     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:648)
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
     at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    Caused by: java.nio.BufferUnderflowException
     at java.nio.Buffer.nextGetIndex(Buffer.java:506)
     at java.nio.HeapByteBuffer.getInt(HeapByteBuffer.java:361)
     at org.openlca.cloud.api.data.ModelStreamReader.readNextInt(ModelStreamReader.java:61)
     at org.openlca.cloud.api.data.ModelStreamReader.readNextPart(ModelStreamReader.java:53)
     at org.openlca.cloud.api.data.ModelStreamReader.readNextPartAsDataset(ModelStreamReader.java:40)
     at org.openlca.cloud.api.FetchHandler.handleNext(FetchHandler.java:99)
     at org.openlca.cloud.api.FetchHandler.handleResponse(FetchHandler.java:59)
     at org.openlca.cloud.api.FetchInvocation.execute(FetchInvocation.java:72)
     at org.openlca.cloud.api.RepositoryClient.lambda$14(RepositoryClient.java:301)
     at org.openlca.cloud.api.RepositoryClient.executeLoggedIn(RepositoryClient.java:350)
     at org.openlca.cloud.api.RepositoryClient.fetch(RepositoryClient.java:291)
     at org.openlca.app.navigation.actions.cloud.FetchAction$Runner$1.run(Unknown Source)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
by (38.2k points)
Thank you - and the repository is ok? Because of the java.nio.BufferUnderflowException that causes this?
by (180 points)
I was thinking it may be an issue with the repository - Federal Commons repository - which underwent some updates recently. I've never had this issue before where my database is 'stuck' on the repository and I am unable to pull it into a local database.

Please log in or register to answer this question.

...