0 votes
478 views

Hello, 

I wanted to see the impacts of  the system "Aluminium, Knetlegierung_LCI" from ProBas+ Data base. I did not make any change to it, I just tried to create a product system directly from the process. 
I got a java.lang.NullPointerException Error and then the product system does appear BUT if I calculate it no results appear. 

I tried to do the same to other existing processes and the same error happens. I validated the processes and all is fine. What could the mistake be? 

Error Panel (in case it helps) :

java.lang.NullPointerException

at org.eclipse.core.internal.runtime.InternalPlatform.getLocation(InternalPlatform.java:344)

at org.eclipse.core.runtime.Platform.getLocation(Platform.java:735)

at org.openlca.app.logging.HtmlLogFile.getAllFiles(HtmlLogFile.java:56)

at org.openlca.app.logging.LogFileEditor.addPages(LogFileEditor.java:38)

at org.eclipse.ui.forms.editor.FormEditor.createPages(FormEditor.java:143)

at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:333)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:154)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:96)

at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:361)

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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:58)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:999)

at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:964)

at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:140)

at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405)

at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:332)

at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:202)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:91)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60)

at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:42)

at org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:132)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:1000)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:660)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:766)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:737)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:731)

at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:715)

at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer.showTab(StackRenderer.java:1294)

at org.eclipse.e4.ui.workbench.renderers.swt.LazyStackRenderer.lambda$0(LazyStackRenderer.java:75)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler.lambda$0(UIEventHandler.java:38)

at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:236)

at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:133)

at org.eclipse.swt.widgets.Display.syncExec(Display.java:4735)

at org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:219)

at org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:38)

at org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:205)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:203)

at org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)

at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:151)

at org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:132)

at org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:75)

at org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:44)

at org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:55) atorg.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63)

atorg.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424)

atorg.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElementGen(ElementContainerImpl.java:170)

at org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:188)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:658)

at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:622)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:790)

at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1263)

at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3195)

at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3100)

at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:72)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3098)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3068)

at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3051)

at org.openlca.app.editors.Editors$OpenInUIJob.runInUIThread(Editors.java:152)

at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:95)

at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)

at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)

at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4005)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3633)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1158)

at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)

at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1047)

at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:658)

Thank you so much in advance! 

in openLCA by (240 points)
by (240 points)
(Continuation of the question) -Althought the error occurs when I create a product system from the process,  I am able to see results if I go to the "impact analysis" tab inside the process window

Please log in or register to answer this question.

...