Fixed NPE that shows up when using the AP together with EclipseLink's AP (don't know why, though)