Page 1 of 1

Could not open the editor: An unexpected exception was throw

Posted: 10 Nov 2010 11:58
by luisferldeo

I get this error. Has already happened to someone? Do you have any idea how to fix it? Thank you

Could not open the editor: An unexpected exception was thrown

at org.openlca.core.productsystem.editor.ProductSystemInfoPage.createFormContent(
at org.eclipse.ui.forms.editor.FormPage$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.ui.forms.editor.FormPage.createPartControl(
at org.eclipse.ui.forms.editor.FormEditor.pageChange(
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(
at org.eclipse.ui.forms.editor.FormEditor.setActivePage(
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(
at org.eclipse.ui.internal.EditorReference.createPartHelper(
at org.eclipse.ui.internal.EditorReference.createPart(
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(
at org.eclipse.ui.internal.EditorReference.getEditor(
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(
at org.eclipse.ui.internal.WorkbenchPage.access$11(
at org.eclipse.ui.internal.WorkbenchPage$
at org.eclipse.swt.custom.BusyIndicator.showWhile(
at org.eclipse.ui.internal.WorkbenchPage.openEditor(
at org.eclipse.ui.internal.WorkbenchPage.openEditor(
at org.eclipse.ui.internal.WorkbenchPage.openEditor(
at org.openlca.core.application.NavigationView$1.mouseDoubleClick(
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.openlca.core.application.plugin.Application.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
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(
at org.eclipse.equinox.launcher.Main.basicRun(

Re: Could not open the editor: An unexpected exception was t

Posted: 15 Nov 2010 21:50
by aciroth
Hi Luis,
This is a bug in the current test version - if a process is deleted or not imported that is referred to in another process, and if that other process is used in a product system, the product system builder just assumes that the links from this process exist, and when the product system graph is to be opened, a null pointer occurs when this non-existent process is opened.
We are currently fixing this!
Best wishes,

Re: Could not open the editor: An unexpected exception was t

Posted: 18 Nov 2010 12:05
by luisferldeo
Thanks Andreas!

That was helpful, I've been cleaning all the files and connections my precesses called upon. After a week of struggling, miraculously it worked!

I am thinking one of those connections was created (or missing) because during the building of my project I used a lot of copy-paste from previous-levels already-existing processes, this because I am unable to create flows or processes into an specific folder. So when I told the product system to "Add connected processes" & "Connect with system processes" some of those must have short-circuited ;) .

I've stopped using copies of other processes as the base for new processes, nevertheless I still I can't find a way to create flows or processes dircetly into the desired folder. So my only resort is to use the wizard, create the flow/process in the main category and then copy-paste it into the right folder. Is there a way to indicate the program to create the items on a spectific folder?

Thanks again for your help and "mit freundlichen Grüßen"!