Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
sigil-1.0.0
-
None
Description
I get the following error when deleting a Sigil project:
An internal error occurred during: "Resolving Sigil projects".
java.lang.NullPointerException
at org.apache.felix.sigil.eclipse.internal.model.project.SigilProject.getBundle(SigilProject.java:405)
at org.apache.felix.sigil.eclipse.job.ResolveProjectsJob.isDependent(ResolveProjectsJob.java:102)
at org.apache.felix.sigil.eclipse.job.ResolveProjectsJob.runInWorkspace(ResolveProjectsJob.java:82)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Right before that, with virtually the same timestamp, I get:
Problems occurred when invoking code from plug-in: "org.eclipse.equinox.preferences".
java.lang.IllegalStateException: Preference node "org.apache.felix.sigil.eclipse.core" has been removed.
at org.eclipse.core.internal.preferences.EclipsePreferences.checkRemoved(EclipsePreferences.java:157)
at org.eclipse.core.internal.preferences.EclipsePreferences.parent(EclipsePreferences.java:733)
at org.apache.felix.sigil.eclipse.internal.model.project.SigilProject$2.removed(SigilProject.java:357)
at org.eclipse.core.internal.preferences.EclipsePreferences$1.run(EclipsePreferences.java:687)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.preferences.EclipsePreferences.fireNodeEvent(EclipsePreferences.java:690)
at org.eclipse.core.internal.preferences.EclipsePreferences.removeNode(EclipsePreferences.java:913)
at org.eclipse.core.internal.preferences.EclipsePreferences.removeNode(EclipsePreferences.java:885)
at org.eclipse.core.internal.preferences.EclipsePreferences.removeNode(EclipsePreferences.java:890)
at org.eclipse.core.internal.resources.ProjectPreferences.removeNode(ProjectPreferences.java:243)
at org.eclipse.core.internal.resources.ProjectPreferences.deleted(ProjectPreferences.java:154)
at org.eclipse.core.internal.resources.ProjectPreferences.deleted(ProjectPreferences.java:169)
at org.eclipse.core.internal.resources.Resource.deleteResource(Resource.java:852)
at org.eclipse.core.internal.resources.Project.deleteResource(Project.java:343)
at org.eclipse.core.internal.resources.ResourceTree.deletedProject(ResourceTree.java:169)
at org.eclipse.core.internal.resources.ResourceTree.standardDeleteProject(ResourceTree.java:870)
at org.eclipse.core.internal.resources.Resource.unprotectedDelete(Resource.java:1942)
at org.eclipse.core.internal.resources.Resource.delete(Resource.java:786)
at org.eclipse.core.internal.resources.Project.delete(Project.java:331)
at org.eclipse.ltk.core.refactoring.resource.DeleteResourceChange.perform(DeleteResourceChange.java:130)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
at org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange.java:278)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformChangeOperation.java:258)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(PerformChangeOperation.java:306)
at org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.executeChange(UIPerformChangeOperation.java:92)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:218)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Attachments
Issue Links
- duplicates
-
FELIX-2574 NPE in background task when sigil project is deleted from workspace
- Resolved