formalsoftware / CSPDT

An IDE for CSP (Communicating Sequential Processes) based on eclipse IDE.
GNU General Public License v3.0
1 stars 0 forks source link

Outline Não funcionando #20

Open DanielVP15 opened 2 years ago

DanielVP15 commented 2 years ago

Testado com o codigo do jantar dos filosofos em https://cocotec.io/fdr/manual/examples/index.html

DanielVP15 commented 2 years ago

Outline1

DanielVP15 commented 2 years ago

java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultIn(CspMAstTreeNodeGenerator.java:186) at lmf.formula.csp.analysis.DepthFirstAdapter.inACspChannelDefinition(DepthFirstAdapter.java:759) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:770) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultCase(CspMAstTreeNodeGenerator.java:237) at lmf.formula.csp.analysis.AnalysisAdapter.caseTChannel(AnalysisAdapter.java:1184) at lmf.formula.csp.node.TChannel.apply(TChannel.java:30) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:773) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultIn(CspMAstTreeNodeGenerator.java:186) at lmf.formula.csp.analysis.DepthFirstAdapter.inACspLinkedChannelList(DepthFirstAdapter.java:1134) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1145) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:777) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultCase(CspMAstTreeNodeGenerator.java:237) at lmf.formula.csp.analysis.AnalysisAdapter.caseTComma(AnalysisAdapter.java:1054) at lmf.formula.csp.node.TComma.apply(TComma.java:30) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1152) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:777) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultIn(CspMAstTreeNodeGenerator.java:186) at lmf.formula.csp.analysis.DepthFirstAdapter.inACspLinkedChannelList(DepthFirstAdapter.java:1134) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1145) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1156) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:777) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultCase(CspMAstTreeNodeGenerator.java:237) at lmf.formula.csp.analysis.AnalysisAdapter.caseTComma(AnalysisAdapter.java:1054) at lmf.formula.csp.node.TComma.apply(TComma.java:30) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1152) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1156) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:777) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440) java.lang.NullPointerException: Cannot invoke "lmf.formula.csp.node.Token.getLine()" because "token" is null at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computeOffset(CspMAstTreeNodeGenerator.java:283) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.computePosition(CspMAstTreeNodeGenerator.java:264) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.defaultIn(CspMAstTreeNodeGenerator.java:186) at lmf.formula.csp.analysis.DepthFirstAdapter.inACspBaseChannelList(DepthFirstAdapter.java:1163) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspBaseChannelList(DepthFirstAdapter.java:1174) at lmf.formula.csp.node.ACspBaseChannelList.apply(ACspBaseChannelList.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1156) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspLinkedChannelList(DepthFirstAdapter.java:1156) at lmf.formula.csp.node.ACspLinkedChannelList.apply(ACspLinkedChannelList.java:44) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspChannelDefinition(DepthFirstAdapter.java:777) at lmf.formula.csp.node.ACspChannelDefinition.apply(ACspChannelDefinition.java:44) at com.fware.cspdt.cspm.editor.outline.CspMAstTreeNodeGenerator.caseACspDefinitionParagraph(CspMAstTreeNodeGenerator.java:103) at lmf.formula.csp.node.ACspDefinitionParagraph.apply(ACspDefinitionParagraph.java:34) at lmf.formula.csp.analysis.DepthFirstAdapter.caseACspSpecification(DepthFirstAdapter.java:57) at lmf.formula.csp.node.ACspSpecification.apply(ACspSpecification.java:35) at lmf.formula.csp.analysis.DepthFirstAdapter.caseStart(DepthFirstAdapter.java:34) at lmf.formula.csp.node.Start.apply(Start.java:36) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.update(CspMOutlineContentProvider.java:82) at com.fware.cspdt.cspm.editor.outline.CspMOutlineContentProvider.inputChanged(CspMOutlineContentProvider.java:60) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:278) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1632) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.update(CspMContentOutlinePage.java:73) at com.fware.cspdt.cspm.editor.outline.CspMContentOutlinePage.createControl(CspMContentOutlinePage.java:49) at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:141) at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:369) at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:696) at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:205) at org.eclipse.ui.part.PageBookView$1.partBroughtToTop(PageBookView.java:1011) at org.eclipse.ui.internal.WorkbenchPage$15.run(WorkbenchPage.java:5116) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.ui.internal.WorkbenchPage.firePartBroughtToTop(WorkbenchPage.java:5113) at org.eclipse.ui.internal.WorkbenchPage$E4PartListener.partBroughtToTop(WorkbenchPage.java:220) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl$6.run(PartServiceImpl.java:314) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.firePartBroughtToTop(PartServiceImpl.java:311) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.lambda$0(PartServiceImpl.java:107) 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:4779) at org.eclipse.e4.ui.workbench.swt.DisplayUISynchronize.syncExec(DisplayUISynchronize.java:34) 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:133) 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) at org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:63) at org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:424) at org.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:660) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:624) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:787) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:401) at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1261) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3166) at org.eclipse.ui.internal.WorkbenchPage.lambda$9(WorkbenchPage.java:3097) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:74) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3095) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3065) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3056) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:569) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:524) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:367) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:172) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:288) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:254) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:274) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:252) at org.eclipse.jdt.internal.ui.navigator.OpenAndExpand.run(OpenAndExpand.java:53) at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:215) at org.eclipse.ui.navigator.CommonNavigatorManager$1.open(CommonNavigatorManager.java:183) at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:800) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:797) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1116) at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:454) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:296) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:331) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) at org.eclipse.equinox.launcher.Main.run(Main.java:1467) at org.eclipse.equinox.launcher.Main.main(Main.java:1440)

DanielVP15 commented 2 years ago

Investigar class CspMOutlineTreeLabelProvider extends LabelProvider {

DanielVP15 commented 2 years ago

Investigar public class CspMAstTreeNodeGenerator extends ExtendedDepthFirstAdapter {

Não gerar nós desnecessários.