0 votes
1.7k views

Hi,

I get an error when calculating the life cycle impacts ?

I obtained the database information from Ecoinvent database version 1.7 by downloading directly from OpenNexus

Several iterations of the following table occur:

299740JavaFX 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:135) 
     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:85) 
     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.DataStructures.matrixData(DataStructures.java:121) 
     at org.openlca.core.math.SystemCalculator.calculateContributions(SystemCalculator.java:35) 
     at org.openlca.app.editors.systems.CalculationWizard$Calculation.solve(CalculationWizard.java:239) 
     at org.openlca.app.editors.systems.CalculationWizard$Calculation.run(CalculationWizard.java:211) 
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
in openLCA by (140 points)
by (23.6k points)
edited by
I don't think we offer an ecoinvent 1.7 version so I suppose you mean openLCA 1.7? Can you explain a bit more what you are trying to do? Can you share your database with us. What operating system are you using?
by (140 points)
yess, sorry, what i wantto say is openLCA 1.7, I m trying to do one LCA of the extraccion process of aggregates but I get an error when calculating the life cycle impacts anthe the previuos erros appears. I dont know what happening
by (13.5k points)
This error often happens when there are no elementary flows in your model: is the reference process in the product system connected to other processes? Does this error also occur with product systems of standard ecoinvent processes?  Which LCIA method, openLCA version, and ecoinvent version do you use?
by (140 points)
I dont know what you want say with "there are no elementary flows in my model", i create several flows and one process with their references "Provider" then, I create the Product Systems with the model grahh but when I´m going to calculate the life cycle impacts , I get an error.

My openLCA version is 1.8 and I use the ELCD free database verion 1.7, i dont konw if i must use the same version in boht.
by (23.6k points)
Can you share your database with us (gd@greendelta.com).?
by (23.6k points)
The database you shared with us does not contain any custom process, product system nor an LCIA method. Therefore, it is impossible for me to reproduce what you have been trying and I cannot help you.
by (140 points)
I'll send it to you:  (gd@greendelta.com)

I do not know if I exported it well

1 Answer

0 votes
by (114k points)
"ecoinvent version 1.7" - this is the openLCA format version?

You did not share the entire section of the log file I think, try to validate the database and post any results, thank you. Calculation fails if there are parameter formulas that are not correct, or if you modified the database via sql and changed it, for example. Or, if you do not have sufficient memory.
by (140 points)
Sorry for taking so long but I have not had time, I do not know if I exported it well
...