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.
Build: NetBeans IDE Dev (Build 20111021-e8072e72dc38) VM: Java HotSpot(TM) Client VM, 20.2-b06, Java(TM) SE Runtime Environment, 1.6.0_27-b07 OS: Windows 7 User Comments: sj-nb: in j2se, create hibernate config, create reveng, create mojo for discountcode, open hql editor and type "from DiscountCode". got exception. Stacktrace: java.lang.ClassCastException: class com.sun.tools.javac.api.JavacTool at java.lang.Class.asSubclass(Class.java:3018) at javax.tools.ToolProvider.getSystemToolClass(ToolProvider.java:165) at javax.tools.ToolProvider.getSystemTool(ToolProvider.java:145) at javax.tools.ToolProvider.getSystemJavaCompiler(ToolProvider.java:102) at org.netbeans.modules.hibernate.hqleditor.HQLEditorController.checkAndCompile(HQLEditorController.java:681) at org.netbeans.modules.hibernate.hqleditor.HQLEditorController.processMatchingClass(HQLEditorController.java:664)
Created attachment 112314 [details] stacktrace
*** This bug has been marked as a duplicate of bug 203540 ***