Impact evaluation failed (ed: SimaPro import)

For issues specific to openLCA release 1.7.x
Post Reply
oscararias
Posts: 7
Joined: 09 Feb 2018 20:51

Impact evaluation failed (ed: SimaPro import)

Post by oscararias » 04 Apr 2018 17:01

Dear all, I have a question, I have imported a database from a CSV file from Simapro to my OpenLCA software and when I am trying to assess the environmental impact an error message pop up with the following

java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:423)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1059)
at org.openlca.app.editors.systems.CalculationWizard.performFinish(Unknown Source)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
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.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.openlca.app.editors.systems.CalculationWizard.open(Unknown Source)
at org.openlca.app.editors.systems.ProductSystemInfoPage.lambda$6(Unknown Source)
at org.openlca.app.util.Controls$1.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
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.lang.NullPointerException
at org.openlca.core.math.SystemCalculator.calculator(SystemCalculator.java:57)
at org.openlca.core.math.SystemCalculator.calculateContributions(SystemCalculator.java:37)
at org.openlca.app.editors.systems.CalculationWizard$Calculation.solve(Unknown Source)
at org.openlca.app.editors.systems.CalculationWizard$Calculation.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Please if you could help me to know the reason that error message is shown

Best regards.

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: Impact evaluation failed (ed: SimaPro import)

Post by aciroth » 06 Apr 2018 15:59

Hello Oscar,
this import via csv is often difficult since SimaPro does not have unique id numbers, so that it needs some refactoring before a complete and consistent model is created. From what you sent it is hard to see where the issue is, but something essential is missing (thus the Nullpointer exception). If you want you can contact us directly, we have some experiences meanwhile in reading and converting SimaPro models.
Best wishes,
Andreas

oscararias
Posts: 7
Joined: 09 Feb 2018 20:51

Re: Impact evaluation failed (ed: SimaPro import)

Post by oscararias » 09 Apr 2018 16:19

Thanks a lot for the answer.

How can I contact you directly? is there a email or something to have a direct connection. I'll be very interested.

Regards

oscararias
Posts: 7
Joined: 09 Feb 2018 20:51

Re: Impact evaluation failed (ed: SimaPro import)

Post by oscararias » 19 Apr 2018 05:47

Dear Andreas, best regards.

I would really appreciate if you could provide me some information about how can I contact you to get some help in converting mi CSV files in a way they can be imported into openlca.

Thanks a lot in advance

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests