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.
Create a J2EE 1.4 EJB Jar with an MDB. Create a J2EE 1.4 Web App with a servlet. In the servlet editor pane, invoke Enterprise Resources | Send JMS Message from editor popup menu. The code to send the message is generated inside the editor fold for "HTTP Servlet Methods". Problems: 1) This code does not belong here, as it's not an HTTP Servlet Method. 2) The code generated includes a skeleton method where the user will insert the code to create and send the message, but this method is empty and has a return value and thus is _invalid_ but the error is hidden because the editor fold is closed. It should have been generated outside (probably just above) the HTTP Servlet Method block, _above_ the initial <editor-fold> comment. This problem probably exists in JavaEE5 too, but that path is probably blocked by issue 107647 for now.
Duplicate of issue that was already fixed. *** This issue has been marked as a duplicate of 129262 ***