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 AttributeProxyImpl.java

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


Which part sets attribute field?
Previous Topic:Redeploy problem.
Next Topic:java.lang.IllegalStateException: Could not load the JPQL parser class.
Goto Forum:
  


Current Time: Fri Oct 18 09:51:30 GMT 2019

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

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

Back to the top