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.

Bug 192896 - [70cat] StackOverflowError at java.util.regex.Pattern.atom
Summary: [70cat] StackOverflowError at java.util.regex.Pattern.atom
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-05 20:05 UTC by Chiana
Modified: 2010-12-09 06:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 174706


Attachments
stacktrace (100.73 KB, text/plain)
2010-12-05 20:05 UTC, Chiana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chiana 2010-12-05 20:05:38 UTC
This issue was reported manually by Chiana.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201012050001)
VM: Java HotSpot(TM) Client VM, 17.1-b03, Java(TM) SE Runtime Environment, 1.6.0_22-b04
OS: Windows Vista

User Comments:
Chiana: Just tried it again to be sure...

Chiana: Created a stub class since the original class was renamed, I noted problems with loading old data.

Background:
The original class recieteLine was moved to an other package. Data was saved serialized in an SQL table.
Because of problems reloading that old data (ClassNotFound exception thrown) I decided to create a stub-class with the old name;
package reciete;
public class recieteLine extends recieteLine{}

This is because in my experience NB shows a dialog if classnames are ambiguis when using fix-import but latley it has started throwing this (and similar) exceptions instead.
Oh, yes, exception was thrown when invoking "fix import".




Stacktrace: 
java.lang.StackOverflowError
   at java.util.regex.Pattern.atom(Pattern.java:1952)
   at java.util.regex.Pattern.sequence(Pattern.java:1834)
   at java.util.regex.Pattern.expr(Pattern.java:1752)
   at java.util.regex.Pattern.compile(Pattern.java:1460)
   at java.util.regex.Pattern.<init>(Pattern.java:1133)
   at java.util.regex.Pattern.compile(Pattern.java:823)
Comment 1 Chiana 2010-12-05 20:05:42 UTC
Created attachment 103611 [details]
stacktrace
Comment 2 Jan Lahoda 2010-12-07 17:37:11 UTC
http://hg.netbeans.org/jet-main/rev/9e77641129fc
Comment 3 Quality Engineering 2010-12-09 06:15:54 UTC
Integrated into 'main-golden', will be available in build *201012090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9e77641129fc
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #192896: preventing infinite recursion.