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.
Created attachment 133250 [details] glassfish log Open Server project from "hg clone https://bitbucket.org/dkonecny/affable-bean" and try to Run it (you will need a GlassFish server, eg. 3.1.2.2). When project is deployed and GlassFish is trying to start it an exception gets thrown: java.lang.VerifyError: (class: controller/ControllerServlet, method: <init> signature: ()V) Constructor must call super() or this() at java.lang.Class.getDeclaredConstructors0(Native Method) I can say I had run this project hundred times before and I have never seen this problem before. Googling it I found for example http://stackoverflow.com/questions/6560988/method-must-call-super-error-in-netbeans which shows similar type of problem happening in July 2011 in plain J2SE project type (or this one from 2010: http://stackoverflow.com/questions/3019394/java-lang-verifyerror-on-method-that-worked-a-minute-ago). If I switch off Compile on Save the problem goes away. Product Version: NetBeans IDE Dev (Build 20130402-a06553711686) Java: 1.7.0_17; Java HotSpot(TM) 64-Bit Server VM 23.7-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02 System: Linux version 3.2.0-38-generic running on amd64; UTF-8; en_NZ (nb) User directory: /home/dev/main/nbbuild/testuserdir Cache directory: /home/dev/main/nbbuild/testuserdir/var/cache
*** Bug 230497 has been marked as a duplicate of this bug. ***
See bug#230497 for a simpler testcase.
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/4ee470edd776 http://hg.netbeans.org/main/nb-javac/rev/ea447c83f0c0
Integrated into 'main-golden', will be available in build *201306012301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4ee470edd776 User: Dusan Balek <dbalek@netbeans.org> Log: Issues #221577, #230332, and #228138 fixed.