[Solved] org.apache.openjpa.persistence.PersistenceException: null

I’ll document all my solutions to this problem. This is the 1st resolution. The clue was here. I upgraded Open JPA from 2.2.0 to 2.2.2 & the exception went away, so it appears that it was a bug. This happened again. I was missing cglib.2.2.3.zip and/or cglib-nodep-2.2.3.jar. solved org.apache.openjpa.persistence.PersistenceException: null