Community
Participate
Working Groups
Created attachment 234206 [details] stack trace Renaming a JPA project twice, the second time back to the original name, will temporarily corrupt the project's preferences, resulting in an invalid JPA platform. Steps to recreate: - create a simple JPA project "Foo" - rename the project to "Bar" - rename the project back to "Foo" - [attempt to] open the JPA project properties page (i.e. select the project in the Project Explorer and open the context menu and select "Properties", then select the "JPA" node in the Properties dialog) - the JPA properties page will not display - instead an error dialog opens: "The currently displayed page contains invalid values." - an exception stack traced is logged (see the attachment) The JPA project properties page will not display because the JPA platform, as stored in the preferences, has a value of 'null', even though the underlying preferences file (with the appropriate JPA platform) was correctly moved to the new project. Workaround: Restart the Eclipse workspace.
Fixing either of the "depends on" bugs will most likely fix this bug; but bug 414795 is really the root cause.
Fix of bug 414795 fixed this bug.