Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-2386

NPE after deletion of a project with a breakpoint set

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      1. create a Fuse Integration Project (e.g. CBR/blueprint)
      2. set a breakpoint
      3. delete the project

      Description

      If I delete a Fuse Integration Project with a breakpoint set, the following error occurs in Error Log (see attached video):

      eclipse.buildId=10.4.0.AM3-v20170421-0111-B478
      java.version=1.8.0_111
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CI/resources/pluginCustomization.ini
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product -pluginCustomization /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CI/resources/pluginCustomization.ini -data /home/tsedmik/devel/git/jbds-installer/devstudio-is-10.3.0.CI/target/tmp -clean
      
      org.eclipse.debug.core
      Error
      Fri Apr 28 09:59:13 CEST 2017
      Problems occurred when invoking code from plug-in: "org.eclipse.debug.core".
      
      java.lang.NullPointerException
      	at org.fusesource.ide.launcher.debug.model.CamelDebugTarget.supportsBreakpoint(CamelDebugTarget.java:295)
      	at org.fusesource.ide.launcher.debug.model.CamelDebugTarget.breakpointRemoved(CamelDebugTarget.java:413)
      	at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.run(BreakpointManager.java:1045)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.notify(BreakpointManager.java:1069)
      	at org.eclipse.debug.internal.core.BreakpointManager.fireUpdate(BreakpointManager.java:977)
      	at org.eclipse.debug.internal.core.BreakpointManager.removeBreakpoints(BreakpointManager.java:511)
      	at org.eclipse.debug.internal.core.BreakpointManager$BreakpointManagerVisitor.update(BreakpointManager.java:766)
      	at org.eclipse.debug.internal.core.BreakpointManager.resourceChanged(BreakpointManager.java:699)
      	at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:299)
      	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      	at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:289)
      	at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:152)
      	at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:360)
      	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:147)
      	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
      

        Attachments

          Activity

            People

            Assignee:
            bfitzpat Brian Fitzpatrick
            Reporter:
            tsedmik Tomáš Sedmík
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: