Community
Participate
Working Groups
Created attachment 179115 [details] NPE stack trace I have attempted to simplify this problem as much as possible, was a little difficult to isolate. I am testing with 0.5RC2 1. Create a 1.0 JPA project 2. Open the JPA diagram editor 3. Create a Java Entity in the JPA diagram (Entity1) 4. Create another Java Entity in the JPA diagram (Entity2) 5. Create a 1-1 uni-directional relationship from Entity1 to Entity2 6. Save 7. Go to the Project Explorer and delete the org.persistence package You'll notice that Entity2 remains in the JPA Diagram. There are 2 errors in the error log: 1.Resource '/Foo/src/org/persistence/Entity2.java' does not exist. - no stack trace 2.Stack trace attached
I can reproduce only the error messega that "resource does not exist" and I apply a patch only for that issue. Everything works fine by me.
Created attachment 180147 [details] patch that checks if resource exists
Created attachment 180148 [details] fix tests to be compatible with the patch
The patch is submitted ...