0 votes
656 views
java.lang.NullPointerException
     at org.openlca.core.math.DataStructures.matrixData(DataStructures.java:124)
     at org.openlca.core.math.SystemCalculator.calculator(SystemCalculator.java:109)
     at org.openlca.core.math.SystemCalculator.calculateContributions(SystemCalculator.java:56)
     at org.openlca.core.math.SystemCalculator.calculate(SystemCalculator.java:97)
     at org.openlca.app.editors.reports.model.ReportCalculator.run(ReportCalculator.java:58)
     at org.openlca.app.App.lambda$1(App.java:246)
     at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
in openLCA by (120 points)

2 Answers

0 votes
by (125k points)
This means basically that something is not found that is supposed/expected to be there. In your case, in the calculation it seems. This could be due to an ill-specified formula. Can you try to run a validation of the database, and "report back" what you get?

Thank you and best wishes,

Andreas
by (14.0k points)
I think it is related to LCIA methods without impact categories. Unfortunately, the validation would not report that. Maybe something for the new validation framework in openLCA 2.0: https://github.com/msrocka/olca-validation
0 votes
by (14.0k points)
It seems that you run a calculation with an impact assessment method that does not have any impact category, right? In openLCA 1.10.x this gives exactly this error.
...