When there is DB insert call I get the following error in weblogic 12C.But the DB call I made before this DB operation was executed successfully.I'm using spring DI.
I suspect the problem is because of any connection time out or the session factory become null.(https://community.oracle.com/message/10349698#10349698)
<HTTP> <BEA-101020> <[ServletContext@481586399[app:XXXX module:/XXXX path:null spec-version:3.0 version:2.0.3]] Servlet failed with an Exception
java.lang.NullPointerException
at weblogic.servlet.internal.ServletResponseImpl.sendCon
at weblogic.servlet.internal.ServletResponseImpl.sendErr
at weblogic.servlet.internal.ServletResponseImpl.sendErr
at org.apache.struts2.dispatcher.Dispatcher.sendError(Di
at org.apache.struts2.dispatcher.Dispatcher.serviceActio
Truncated. see log file for complete stacktrace
I not even see any hibernate query log also in the log file.When the DB call is made I staright away receive the error message.Can any one help in this regard.