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 251305 - StackOverflowError at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoCsmObject
Summary: StackOverflowError at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter....
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:
: 249092 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-19 20:09 UTC by petrk
Modified: 2015-03-25 03:22 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185057


Attachments
stacktrace (101.39 KB, text/plain)
2015-03-19 20:10 UTC, petrk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description petrk 2015-03-19 20:09:57 UTC
This issue was reported manually by petrk.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 20150318-2bc613afeb20)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Linux

User Comments:
petrk: template <typename T>
struct AAA {
    auto fun(AAA<T> var) -> decltype(var.fun());
};




Stacktrace: 
java.lang.StackOverflowError
   at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoCsmObject(UIDCsmConverter.java:111)
   at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.convertToObject(LazyCsmCollection.java:76)
   at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection.access$400(LazyCsmCollection.java:65)
   at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.getNextNonNull(LazyCsmCollection.java:300)
   at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.<init>(LazyCsmCollection.java:282)
   at org.netbeans.modules.cnd.modelimpl.uid.LazyCsmCollection$MySafeIterator.<init>(LazyCsmCollection.java:276)
Comment 1 petrk 2015-03-19 20:10:00 UTC
Created attachment 152730 [details]
stacktrace
Comment 2 petrk 2015-03-19 20:58:10 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/4b46d897994d
Comment 3 petrk 2015-03-22 14:27:26 UTC
*** Bug 249092 has been marked as a duplicate of this bug. ***
Comment 4 Quality Engineering 2015-03-25 03:22:18 UTC
Integrated into 'main-silver', will be available in build *201503250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/4b46d897994d
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Fixed #251305 - StackOverflowError at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoCsmObject