An unexspected error Occurred while calculate Analysis

Post Reply
atjack
Posts: 17
Joined: 06 Jan 2015 15:39
Location: Berlin

An unexspected error Occurred while calculate Analysis

Post by atjack » 06 Jan 2015 15:53

Hi,
I'm running Openlca 1.4 on a Lubuntu 14.04.
I try to calculate the analysis of a product system but I always get an unexpected error. The log file shows this:

Code: Select all

ERROR - Calculation failed
null
java.lang.reflect.InvocationTargetException
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:1028)
	at org.openlca.app.editors.systems.CalculationWizard.performFinish(Unknown Source)
	at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
	at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
	at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.openlca.app.editors.systems.ProductSystemInfoPage$1.widgetSelected(Unknown Source)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.openlca.app.rcp.RcpApplication.start(Unknown Source)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.NullPointerException
	at org.openlca.core.math.DataStructures.createProductIndex(DataStructures.java:36)
	at org.openlca.core.math.DataStructures.createInventory(DataStructures.java:72)
	at org.openlca.core.math.SystemCalculator.doSetUp(SystemCalculator.java:54)
	at org.openlca.core.math.SystemCalculator.calculateContributions(SystemCalculator.java:40)
	at org.openlca.app.editors.systems.CalculationWizard$Calculation.solve(Unknown Source)
	at org.openlca.app.editors.systems.CalculationWizard$Calculation.run(Unknown Source)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


I don't get a clue out of this.

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: An unexspected error Occurred while calculate Analysis

Post by aciroth » 06 Jan 2015 21:35

Hello atjack, which system are you trying to calculate? Which database are you using? Can you please post a bit more information?
Thanks,
Andreas

atjack
Posts: 17
Joined: 06 Jan 2015 15:39
Location: Berlin

Re: An unexspected error Occurred while calculate Analysis

Post by atjack » 07 Jan 2015 18:27

I using the ProBas Database to calculate a product-system of clothing production (Which is kind of difficult, because inputs and outputs have often different names, even when in the online-database of ProBas there have a clear connection). I created a Product-system with a mix of CN and US cotton.

aciroth
Posts: 750
Joined: 09 May 2010 23:28

Re: An unexspected error Occurred while calculate Analysis

Post by aciroth » 08 Jan 2015 11:17

Thanks, I see. However, the ProBas database in the state that we distribute should calculate, we tested this quite extensively. If you want, you can send me your database and we can have a look. What are the names of your starting processes from ProBas?
Best
Andreas

Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests