Uploaded image for project: 'IvyDE (Retired)'
  1. IvyDE (Retired)
  2. IVYDE-269

NPE when starting the IvyPlugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0.beta1
    • None
    • None
      • Windows XP SP3
      • Eclipse3.5.2
      • Flash Builder 4
      • Apache IvyIDE v2.1.0.201003041006-dev

    Description

      Just after starting Eclipse, I got the following NPE :

      java.lang.NullPointerException
      at org.apache.ivyde.eclipse.IvyPlugin.getPreferenceStoreHelper(IvyPlugin.java:315)
      at org.apache.ivyde.eclipse.workspaceresolver.WorkspaceResourceChangeListener.resourceChanged(WorkspaceResourceChangeListener.java:88)
      at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1809)
      at org.eclipse.debug.core.model.Breakpoint.setAttribute(Breakpoint.java:190)
      at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.decrementInstallCount(JavaBreakpoint.java:794)
      at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.deregisterRequest(JavaBreakpoint.java:262)
      at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.removeRequests(JavaBreakpoint.java:712)
      at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.removeFromTarget(JavaBreakpoint.java:655)
      at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.removeAllBreakpoints(JDIDebugTarget.java:1461)
      at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.cleanup(JDIDebugTarget.java:1419)
      at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.shutdown(JDIDebugTarget.java:1552)
      at org.eclipse.jdt.internal.debug.core.JDIDebugPlugin.stop(JDIDebugPlugin.java:297)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:843)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:836)
      at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:474)
      at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:546)
      at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1098)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:593)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:261)
      at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:216)
      at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:266)
      at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:685)
      at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:583)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:409)
      at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:200)
      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(Main.java:559)
      at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
      at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
      

      Attachments

        Activity

          People

            hibou Nicolas Lalevée
            jlescot Jacques LESCOT
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: