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 201111160600) VM: Java HotSpot(TM) Client VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08 OS: Windows 7 User Comments: romah: Fiile -> New Select "Persistence" - "Entity Classes from database." Also occurs when doing a "Web Service" -"RESTful Web Services from database". Window: "New Entity Classes from Database" Selected a MsSql database, while processing, it stops at 84% (while processing a view), then dies. No tables shown. Works fine for another MsSql database. This also appears to be in 6.5 Using "Microsoft SQL Server 2005 JDBC Driver 1.2", version 1.2.2828, dated 10/11/2007. Tried the JDBC jTDS 1.2.2 (08/22/2007), same result, no tables shown. tim_sa: Trying to generate entity classes from database Stacktrace: java.lang.StackOverflowError at java.util.regex.Pattern$Curly.match(Pattern.java:4136) at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3715) at java.util.regex.Pattern$Curly.match0(Pattern.java:4177) at java.util.regex.Pattern$Curly.match(Pattern.java:4132) at java.util.regex.Pattern$BranchConn.match(Pattern.java:4466) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615)
Created attachment 113357 [details] stacktrace
This needs to be fixed in the database driver / database. Catching an error is strongly discouraged, so the jdbc driver has to be fixed. Googling showed that there are known problems with regexp matching in the JDK, but the fact remains - its outside netbeans scope. I'll close this as wontfix (not much that can be done there).