This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 241684

Summary: ClassNotFoundException: org.hibernate.cache.spi.RegionFactory
Product: javaee Reporter: Maksim Khramov <mkhramov>
Component: HibernateAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207485
Attachments: stacktrace

Description Maksim Khramov 2014-02-11 10:37:40 UTC
Build: NetBeans IDE Dev (Build 201402100001)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
mkhramov: Execute HQL Query




Stacktrace: 
java.lang.ClassNotFoundException: org.hibernate.cache.spi.RegionFactory
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Comment 1 Maksim Khramov 2014-02-11 10:37:42 UTC
Created attachment 145027 [details]
stacktrace
Comment 2 Sergey Petrov 2014-02-11 10:56:51 UTC
may be related to some special value in hibernate config related to caching may be (cache.spi.RegionFactory).
can't reproduce with simple default configuration.
Comment 3 Sergey Petrov 2014-07-07 18:42:14 UTC
If it's reproducible with some specific configuration, please provide sample hibernate cfg or/and sample project.