0 votes
37 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 (120 points)
by (22.5k 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.

Please log in or register to answer this question.

...