+1 vote
1.2k views

Hi,

I get an error when calculating the life cycle impacts and was wondering how to fix it?

I obtained the database information from Ecoinvent database version 3.5 by downloading directly from their website and validated the database in OpenLCA prior to use.

Several iterations of the following table occur:

7527278JavaFX Application ThreadWARNorg.openlca.app.viewers.table.modify.ModifySupportProperty Formula is not a column property
7527297JavaFX Application ThreadWARNorg.openlca.app.viewers.table.modify.ModifySupportProperty Uncertainty is not a column property
7527297JavaFX Application ThreadWARNorg.openlca.app.viewers.table.modify.ModifySupportProperty External source is not a column property
7527297JavaFX Application ThreadWARNorg.openlca.app.viewers.table.modify.ModifySupportProperty is not a column property
 

followed by the Javascript: 

15854038JavaFX Application ThreadERRORorg.openlca.app.editors.systems.CalculationWizardCalculation failed
java.lang.reflect.InvocationTargetException 
     at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:398) 
     at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:980) 
     at org.openlca.app.editors.systems.CalculationWizard.performFinish(CalculationWizard.java:139) 
     at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:778) 
     at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:417) 
     at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619) 
     at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:81) 
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) 
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) 
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) 
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) 
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) 
     at org.eclipse.jface.window.Window.runEventLoop(Window.java:818) 
     at org.eclipse.jface.window.Window.open(Window.java:794) 
     at org.openlca.app.editors.systems.CalculationWizard.open(CalculationWizard.java:89) 
     at org.openlca.app.editors.systems.ProductSystemInfoPage.lambda$7(ProductSystemInfoPage.java:117) 
     at org.openlca.app.util.Controls$1.widgetSelected(Controls.java:53) 
     at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249) 
     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86) 
     at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4428) 
     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079) 
     at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4238) 
     at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3817) 
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) 
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) 
     at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) 
     at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) 
     at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680) 
     at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) 
     at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594) 
     at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) 
     at org.openlca.app.rcp.RcpApplication.start(RcpApplication.java:16) 
     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:653) 
     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590) 
     at org.eclipse.equinox.launcher.Main.run(Main.java:1499) 
    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(CalculationWizard.java:244) 
     at org.openlca.app.editors.systems.CalculationWizard$Calculation.run(CalculationWizard.java:215) 
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

Many thanks for your help,

Robert White 

in openLCA by (170 points)

1 Answer

+1 vote
by (23.6k points)
selected by
 
Best answer
Hi Robert, the files from the ecoinvent website are not fully compatible with openLCA. If you want to use ecoinvent with openLCA, you should download ecoinvent from https://nexus.openLCA.org.

I hope this helps. Best, Jonas
by (170 points)
Hi, thanks for getting back to me.

Does that mean I have to pay for a license from you guys or can I use my current Ecoinvent license to login?

Kind regards,

Rob
by (23.6k points)
Hi Rob, you can purchase a "For license owners" licence from nexus. https://nexus.openlca.org/database/ecoinvent e.g. if you already have a Educational Single-User Licence from ecoinvent you can obtain afor license owner license for openLCA for 500EUR
...