0 votes
503 views

Hi there!

I get an error message from exporting a product system in OpenLCA. Please, view the image below for the error message.

What can I do to solve this issue?

Thanks in advance for your help.

Karo

An internal error occurred. Failed yo export data sets. See the log file (under Help) for further information. 

in openLCA by (250 points)
by (125k points)
(and what does the logfile say - duh ;))
by (250 points)
Hi, thanks for your response to solving this question.

Below is the error message from the logfile:

java.lang.reflect.InvocationTargetException
     at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:399)
     at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1035)
     at org.openlca.app.wizards.io.JsonExportWizard.performFinish(JsonExportWizard.java:58)
     at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:833)
     at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:472)
     at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:622)
     at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1056)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
     at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)
     at org.eclipse.jface.window.Window.open(Window.java:799)
     at org.eclipse.ui.internal.handlers.WizardHandler$Export.executeHandler(WizardHandler.java:103)
     at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:280)
     at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:283)
     at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:95)
     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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)
     at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:320)
     at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:254)
     at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:173)
     at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:156)
     at org.eclipse.core.commands.Command.executeWithChecks(Command.java:498)
     at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488)
     at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
     at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:392)
     at org.eclipse.ui.internal.handlers.LegacyHandlerService.executeCommand(LegacyHandlerService.java:369)
     at org.openlca.app.navigation.actions.ExportAction.run(ExportAction.java:61)
     at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)
     at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)
     at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:412)
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1056)
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
     at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
     at org.openlca.app.rcp.RcpApplication.start(RcpApplication.java:16)
     at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
     at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
     at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
     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:660)
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
     at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
    Caused by: java.lang.OutOfMemoryError: Java heap space
     at java.util.Arrays.copyOf(Arrays.java:3332)
     at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124)
     at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448)
     at java.lang.StringBuffer.append(StringBuffer.java:270)
     at java.io.StringWriter.write(StringWriter.java:112)
     at com.google.gson.stream.JsonWriter.string(JsonWriter.java:559)
     at com.google.gson.stream.JsonWriter.value(JsonWriter.java:419)
     at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:690)
     at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:704)
     at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:704)
     at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:696)
     at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:704)
     at com.google.gson.internal.bind.TypeAdapters$25.write(TypeAdapters.java:642)
     at com.google.gson.internal.Streams.write(Streams.java:68)
     at com.google.gson.Gson.toJson(Gson.java:661)
     at com.google.gson.Gson.toJson(Gson.java:627)
     at com.google.gson.Gson.toJson(Gson.java:612)
     at org.openlca.jsonld.ZipStore.put(ZipStore.java:95)
     at org.openlca.jsonld.ZipStore.put(ZipStore.java:88)
     at org.openlca.jsonld.output.JsonExport.write(JsonExport.java:74)
     at org.openlca.app.wizards.io.JsonExportWizard$Export.doExport(JsonExportWizard.java:109)
     at org.openlca.app.wizards.io.JsonExportWizard$Export.doExport(JsonExportWizard.java:103)
     at org.openlca.app.wizards.io.JsonExportWizard$Export.run(JsonExportWizard.java:85)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
by (250 points)
Hello, Dr. Andreas,

I hope you are doing well. Based on the logfile message I posted above, were you able to identify the error with exporting the product system and generate a possible solution to it?
by (125k points)
Hello, thank you - this "invocation target" shows only that something does not work within an operation - can you please validate the database (right-click on the database, then select validate) - thank you.
by (250 points)
Hi, thank you for your reply. I validated the database, but no errors were found.

Could ' Caused by: java.lang.OutOfMemoryError: Java heap space' be an indicator of where the error is coming from?

Thank you,
Karo

Please log in or register to answer this question.

...