Description
When a project is deleted, there is not cleanup process for Xray issues and internal Active objects. The active objects are not deleted from database.
When another project with the same key is created and consequently Test issues with the same old keys are created, the test runs table does not show results due to an exception because old Test Runs are being loaded that are associated with Test Executions that no longer exist.
Exception
java.lang.NullPointerException
at com.xpandit.raven.beans.TransportBeanFactoryImpl.getFilteredTestIssue(Unknown Source)
at com.xpandit.raven.beans.TransportBeanFactoryImpl.createTestEntryBeans(Unknown Source)
at com.xpandit.raven.rest.a.g.a(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) <+1> (DelegatingMethodAccessorImpl.java:43)