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 231672

Summary: NullPointerException at org.netbeans.modules.hibernate.hqleditor.ui.HQLEditorTopComponent.createTableData
Product: javaee Reporter: kamalmca84
Component: HibernateAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 187875
Attachments: stacktrace

Description kamalmca84 2013-06-23 01:44:14 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: Dear Sir,

 I am just do a query to hql, but it show process result to 80% after it do not do any work until restart nebeans again.
Please provde solution.

Thanks & Regards,
Tikam
tikam.tailor@gmail.com

GUEST: consulta hql con distinct llamando dos campos

GUEST: hql query




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.hibernate.hqleditor.ui.HQLEditorTopComponent.createTableData(HQLEditorTopComponent.java:585)
   at org.netbeans.modules.hibernate.hqleditor.ui.HQLEditorTopComponent.setResult(HQLEditorTopComponent.java:524)
   at org.netbeans.modules.hibernate.hqleditor.HQLEditorController$1$1.run(HQLEditorController.java:143)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
   at java.awt.EventQueue.access$200(EventQueue.java:103)
Comment 1 kamalmca84 2013-06-23 01:44:15 UTC
Created attachment 136175 [details]
stacktrace
Comment 2 Exceptions Reporter 2013-07-18 22:36:43 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=187875
Comment 3 Sergey Petrov 2014-01-09 13:55:02 UTC
I see a problem here as can't figure out a solution suable for drivers registration with services, and for services which may not be on classpath yet.

In my opinion second option should work in nb also without providing all dependencies, just after open "usual" project user should be able to generate smth with adding of some dependencies required by pojo generator only and isn't required for compile/deploy etc.

On other side I can try to rollback fix and reopen "fixed" issue for now because this one issue collect much more exception reports already. On other side it's unclear if all reports are related to the same "services" issue
Comment 4 Martin Balin 2016-07-07 08:54:41 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss