The following exception is thrown with hibernate-core 5.2.14:
The code in question looks like this:
/* L285 */ marks the line causing the NullPointerException.
Be aware that these two while loops would loop forever in absence of this exception since the variables c1 and c2 are never reassigned and there are no break statements either.
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
Java version: 1.8.0_162, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/jre
Default locale: en_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "mac"