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 256516 - StackOverflowError at org.netbeans.modules.cnd.repository.RepositoryImpl.get
Summary: StackOverflowError at org.netbeans.modules.cnd.repository.RepositoryImpl.get
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-11 14:49 UTC by Alexander Simon
Modified: 2016-07-16 02:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221097


Attachments
stacktrace (89.79 KB, text/plain)
2015-11-11 14:49 UTC, Alexander Simon
Details
stacktrace (113.53 KB, text/plain)
2015-11-11 15:04 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2015-11-11 14:49:39 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE 8.1 (Build 20151110-2700b4bfba11)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: SunOS

User Comments:
alexvsimon: edit c++ code




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.modules.cnd.repository.RepositoryImpl.get(RepositoryImpl.java:146)
   at org.netbeans.modules.cnd.repository.api.Repository.get(Repository.java:27)
   at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:123)
   at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:104)
   at org.netbeans.modules.cnd.modelimpl.uid.UIDUtilities$CachedUID.getObject(UIDUtilities.java:494)
   at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoCsmObject(UIDCsmConverter.java:111)
Comment 1 Alexander Simon 2015-11-11 14:49:40 UTC
Created attachment 157273 [details]
stacktrace
Comment 2 Alexander Simon 2015-11-11 14:54:48 UTC
Steps to reproduce:
- create c file
- insert content:

#define M struct A{struct A{int i;};};
M
void foo() {
    A::A a; 
    a.i++;
}

see error
Comment 3 Alexander Simon 2015-11-11 15:04:24 UTC
Created attachment 157275 [details]
stacktrace

open file with content:

define M struct A{struct A{int i;};};
M
void foo() {
    A::A a; 
    a.i++;
}
Comment 5 Quality Engineering 2016-07-16 02:09:08 UTC
Integrated into 'main-silver', will be available in build *201607160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fd2b783fd428
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #256516 - StackOverflowError at org.netbeans.modules.cnd.repository.RepositoryImpl.get