ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (IVYDE-269) NPE when starting the IvyPlugin
Date Sun, 03 Apr 2011 11:57:05 GMT

     [ https://issues.apache.org/jira/browse/IVYDE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Lalevée resolved IVYDE-269.
-----------------------------------

    Resolution: Fixed
      Assignee: Nicolas Lalevée

I could not reproduced the bug and I made the plugin start up safer regarding thread safety
issues.

> NPE when starting the IvyPlugin
> -------------------------------
>
>                 Key: IVYDE-269
>                 URL: https://issues.apache.org/jira/browse/IVYDE-269
>             Project: IvyDE
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>         Environment: * Windows XP SP3
> * Eclipse3.5.2
> * Flash Builder 4
> * Apache IvyIDE v2.1.0.201003041006-dev
>            Reporter: Jacques LESCOT
>            Assignee: Nicolas Lalevée
>
> Just after starting Eclipse, I got the following NPE :
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message