Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » NullPointerException from getAttribute()
NullPointerException from getAttribute() [message #1809420] Tue, 16 July 2019 04:18
Jin Kwon is currently offline Jin KwonFriend
Messages: 1
Registered: July 2019
Junior Member
An NPE keeps facing with me.

I found this method from

    public synchronized Attribute<X, T> getAttribute(){
        if (attribute == null){
            for (WeakReference<EntityManagerFactoryImpl> factoryRef: factories){
                EntityManagerFactoryImpl factory = factoryRef.get();
                if (factory != null){
                } else {
        return attribute;

Which part sets attribute field?
Previous Topic:java.lang.IllegalStateException: Could not load the JPQL parser class.
Next Topic:Composite foreign key with a fixed value generates wrong SQL
Goto Forum:

Current Time: Sun May 19 00:00:48 GMT 2024

Powered by FUDForum. Page generated in 0.02753 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top