0 votes
891 views

I do not know why, but when I'm going to calculate my Product System, It does not calculate the Impact Analysis.

I am not able to introduce in my Process one " impact assessment method" one error appear

in openLCA by (140 points)
by (140 points)
969107
JavaFX Application Thread
ERROR
org.openlca.app.editors.graphical.action.BuildSupplyChainAction
Failed to apply layout to graph
java.lang.IllegalArgumentException: Argument cannot be null
     at org.eclipse.swt.SWT.error(SWT.java:4514)
     at org.eclipse.swt.SWT.error(SWT.java:4448)
     at org.eclipse.swt.SWT.error(SWT.java:4419)
     at org.eclipse.swt.widgets.TreeItem.checkNull(TreeItem.java:207)
     at org.eclipse.swt.widgets.TreeItem.<init>(TreeItem.java:197)
     at org.eclipse.gef.editparts.AbstractTreeEditPart.addChildVisual(AbstractTreeEditPart.java:75)
     at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:211)
     at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:781)
     at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:726)
     at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:253)
     at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:212)
     at org.eclipse.gef.editparts.RootTreeEditPart.setContents(RootTreeEditPart.java:140)
     at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:617)
     at org.eclipse.gef.ui.parts.AbstractEditPartViewer.setContents(AbstractEditPartViewer.java:626)
     at org.openlca.app.editors.graphical.outline.OutlinePage.refresh(OutlinePage.java:92)
     at org.openlca.app.editors.graphical.action.BuildSupplyChainAction.run(BuildSupplyChainAction.java:76)
     at org.openlca.app.editors.graphical.action.BuildSupplyChainMenuAction$MenuCreator.lambda$0(BuildSupplyChainMenuAction.java:64)
     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)
by (125k points)
It seems you are not able to build the product system? "I am not able to introduce in my Process one impact assessment method" - I do not understand; how are you creating your product system? What do you mean with 'introducing an impact assessment method into your process'? Thank you. The picture is not visible btw.
by (140 points)
When I create MY PROCESS, which is related to the production of arid/aggregates, the tabs/sections appear: General information, Inputs / Outputs, Administrative Information, Parameters, Allocation, Social Apects and IMPACT ANALYSES. But when i´m gointo to enter sections IMPACT ANALYSES appear an unexpected error occured: Error while running progess Load tree.
by (140 points)
The error that appears to me is the following:
      
              THREAD                                 LEVEL                CATEGORY                                         MESSAGE

JavaFX Application Thread ---- ERROR ---- org.openlca.app.App ----   Error while running progress Load treE

1 Answer

0 votes
by (125k points)
Ah thank you, I think I understand now.

This is a bug in 1.8 and 1.9, if a process has no impact assessment results at all (no elementary flows or no flows characterised in the selected method), then an error is shown as nullpointer. This is somewhat annoying but does not affect calculation or other things. It will be fixed in the next latest release.

Best wishes,

Andreas
...