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 256812

Summary: ClassNotFoundException: org.jboss.jandex.IndexView
Product: javaee Reporter: Michel Graciano <hmichel>
Component: PersistenceAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217121
Attachments: stacktrace

Description Michel Graciano 2015-11-26 13:30:41 UTC
Build: NetBeans IDE Dev (Build 20151106-3e02a7123b11)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Linux

User Comments:
GUEST: s

GUEST: Running JPQl Query and it hangs

GUEST: Right click on persistence.xml, execute JPQL query.

persistence.xml points to some datasource in jdni namespace of registered wildfly server

hmichel: Trying to use JPQL Query UI with WildFly 8.2.1, Hibernate as JPA Provider




Stacktrace: 
java.lang.ClassNotFoundException: org.jboss.jandex.IndexView
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at org.netbeans.modules.j2ee.persistence.util.CustomClassLoader.loadClass(CustomClassLoader.java:156)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   at org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:51)
   at org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull(HibernatePersistenceProvider.java:129)
Comment 1 Michel Graciano 2015-11-26 13:30:54 UTC
Created attachment 157507 [details]
stacktrace
Comment 2 Petr Hejl 2016-05-24 09:53:03 UTC

*** This bug has been marked as a duplicate of bug 250139 ***