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.
I have lot's of legacy code with this type of construct and it works perfectly up to Netbeans 7.2. I started getting erros on JSP wit scriptlet on Netbeans 73. This specific error happens on Build 201304242301. Here's a sample code that creates the error: <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> <script type="text/javascript"> <% for(int i = 0; i< 10; i++) { %> <% } %> </script> </head> <body> <h1>Hello World!</h1> </body> </html>
Works fine in 7.3patch1, but reproducible in trunk Product Version: NetBeans IDE Dev (Build 201304242301) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Also works fine in 7.3.1Dev @andreban: Do you get this error in 7.3 or Dev (as you wrote in Description)? If in 7.3, please try to install all updates (Help->Check for Updates) Product Version: NetBeans IDE 7.3.1 (Build 201304232201) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
@vriha I'm getting this error on Build 201304242301 (Nightly build i downloaded today). (In reply to comment #2) > Also works fine in 7.3.1Dev > > @andreban: Do you get this error in 7.3 or Dev (as you wrote in Description)? > If in 7.3, please try to install all updates (Help->Check for Updates) > > > > > Product Version: NetBeans IDE 7.3.1 (Build 201304232201) > Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 > Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 > System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Thanks for confirmation
I'm not able to reproduce in trunk now. It can be already fixed. Is it reproducible with current development build? If yes, please reopen.
Works fine now, thanks Product Version: NetBeans IDE Dev (Build 201305132300) Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11 System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; en_US (nb)