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 7.4 Beta (Build 201307092200) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 8 User Comments: tipirneni: Started sample program and ran it. got this exception GUEST: during work GUEST: Send my program. package ???????.??.?????; import java.io.*; public class ?????????????? { public static String otvet=""; public static int k=0; public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in,"windows-1251")); System.out.println("??????? ???????"); String a=br.readLine(); System.out.println("??????? ????????"); String b=br.readLine(); System.out.println("??????? ?????????? ?????? ????? ???????. ????? ??? ??????????"); int znak=Integer.parseInt(br.readLine()); // String a="239123"; // String b="218933127393"; // int znak=2; if (a.equals("0")) System.out.println("0"); else if (b.equals("0")) System.out.println("?? ???? ?????? ??????"); else { int l_f=a.length(); // ???????? ?????, ???? ????? ??????? int l_s=b.length(); // + ?????????? ?? GUEST: I was testing the algorithm for regular expression matching pengamat_hebat: I try System.out.println(cipher); cipher is a string contain 5957 character (1 and 0) GUEST: Crash when loop system.out.print("x") for 20000 times. GUEST: System.out.println(bd) where bd is a large BigDecimal - 10000 digits Stacktrace: java.lang.StackOverflowError at java.util.regex.Pattern$Ques.match(Pattern.java:4077) at java.util.regex.Pattern$GroupHead.match(Pattern.java:4556) at java.util.regex.Pattern$Loop.match(Pattern.java:4683) at java.util.regex.Pattern$GroupTail.match(Pattern.java:4615) at java.util.regex.Pattern$BmpCharProperty.match(Pattern.java:3715) at java.util.regex.Pattern$Ques.match(Pattern.java:4079)
Created attachment 149795 [details] stacktrace
All exception reports from 7.4. Presumably fixed since then.