[
https://hibernate.onjira.com/browse/HHH-7114?page=com.atlassian.jira.plug...
]
Ramunas Belkauskas commented on HHH-7114:
-----------------------------------------
Well i see [on line
125|https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core...]
null check, so there probably is a possibility of session being null (it depends on
SessionBuilder implementation I guess..).
Either there must not be a null check, or you have to fix the case for session being
null.
NPE in method ThreadLocalSessionContext.needsWrapping
-----------------------------------------------------
Key: HHH-7114
URL:
https://hibernate.onjira.com/browse/HHH-7114
Project: Hibernate ORM
Issue Type: Bug
Components: core
Affects Versions: 4.1.0
Reporter: Ramunas Belkauskas
Priority: Minor
Original Estimate: 10m
Remaining Estimate: 10m
When the private method ThreadLocalSessionContext.needsWrapping is passed null
"session" parameter, it throws NullPointerException when calling
"Proxy.getInvocationHandler( session )".
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira