"Failed to load ".project
Problem:
there is an error occurs after running AF3 instance.
to reproduce:
- run AF3 instance
- in opened AF3 application go to “File”—>“Open AF3 example” —> and load any example from the list
- in Model Navigator: right click on the project —>then choose “delete”
as result:
the project is deleted, but in the eclipse console there is an error:
!ENTRY org.fortiss.tooling.kernel 4 0 2017-07-17 12:53:23.058
!MESSAGE Failed to load ".project
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException:
org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
‘null’ not found.
(file:/C:/Users/chuprina/runtime-af3_phoenix.product/AF3-Project-Directory/.project,
2, 21)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:406)
at
org.fortiss.tooling.kernel.utils.ResourceUtils.getReferencingResourceURIs(ResourceUtils.java:404)
at
org.fortiss.tooling.kernel.ui.internal.actions.DeleteAction$DeleteTopLevelElementJob.run(DeleteAction.java:115)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package
with uri ‘null’ not found.
(file:/C:/Users/chuprina/runtime-af3_phoenix.product/AF3-Project-Directory/.project,
2, 21)
……..
(from redmine: issue id 2997, created on 2017-07-17, closed on 2019-02-19)