Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2966

NPE when deleting a SY project with corresponding editor opened

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: tools-2.2.0
    • Fix Version/s: tools-2.3.0
    • Component/s: tooling
    • Labels:
    • Environment:

      SwitchYard 2.2.0.CI-v20161019-1122-B50

    • Steps to Reproduce:
      1. Create a new SY project
      2. Add a component, e.g. Bean
      3. Save and wait for all jobs (refreshing, validating, building, etc.)
      4. By the shortcut 'Del' delete the project
    • Workaround:
      Workaround Exists
    • Workaround Description:
      1. Close editor
      2. Then delete the project

      Description

      NPE when deleting a SY project

      Caused by: java.lang.NullPointerException
      	at org.switchyard.tools.ui.editor.impl.MultiPageEditor$13.run(MultiPageEditor.java:910)
      	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bfitzpat Brian Fitzpatrick
                  Reporter:
                  apodhrad Andrej Podhradsky
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: