Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 409608

Summary: Remove temp fix for - Intermittent failure on JPA project creation when starting Eclipse
Product: [WebTools] Dali JPA Tools Reporter: Neil Hauge <neil.hauge>
Component: JPAAssignee: Neil Hauge <neil.hauge>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: brian.vosburgh, nan.n.li
Version: 3.3   
Target Milestone: 3.3.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 408506, 419080    
Bug Blocks:    

Description Neil Hauge CLA 2013-05-31 12:07:57 EDT
+++ This bug was initially created as a clone of Bug #405320 +++

On occasion, when opening a workspace from a run config in dev where there are multiple projects, I am hitting an exception which can prevent one or more JPA projects from being built.  The exception and subsequent failure are intermittent and appear to affect projects randomly when encountered.

java.lang.NullPointerException
	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.fileResourceLocationIsValid(AbstractJpaProject.java:608)

Full stack is attached.

Cleaning the project is not successful, as the state appears to be persisted, and results in the following JPA tooling error message - "This project has the JPA facet, but no JPA project could be created. See the error log for more details."  Cleans do not cause another NPE to be generated in the log.

I haven't been able to get into this state in debug mode yet, but need to try more.
Comment 1 Neil Hauge CLA 2013-05-31 12:09:20 EDT
This is just a reminder bug to ensure that we remove our temporary fix when the platform bug is addressed.
Comment 2 Neil Hauge CLA 2013-08-23 12:27:08 EDT
Fixed in Keper SR1 and Luna M2.