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 246088 - Stack overflow since July 24 on boost sources
Summary: Stack overflow since July 24 on boost sources
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: PC Solaris
: P2 normal (vote)
Assignee: petrk
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2014-07-29 06:57 UTC by Alexander Simon
Modified: 2014-08-06 11:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2014-07-29 06:57:16 UTC
Stack overflow appeared in the build:
NetBeans Platform Dev (Build cnd-trunk-build-481-on-20140724)

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.cnd.modelimpl.trace.TraceXRef$1
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:118)
	at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:99)
	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)
	at org.netbeans.modules.cnd.modelimpl.csm.TemplateParameterTypeImpl.getParameter(TemplateParameterTypeImpl.java:87)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Type.<init>(Instantiation.java:1466)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Type.<init>(Instantiation.java:1449)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation.createType(Instantiation.java:1359)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$NestedType.<init>(Instantiation.java:2012)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$NestedType.<init>(Instantiation.java:2001)
Comment 1 Alexander Simon 2014-07-29 07:03:47 UTC
Beginning of stack:
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Type.<init>(Instantiation.java:1502)
	at org.netbeans.modules.cnd.modelimpl.csm.Instantiation$Type.<init>(Instantiation.java:1449)
[catch] at org.netbeans.modules.cnd.modelimpl.csm.Instantiation.createType(Instantiation.java:1359)

Most probably it is regression after fixing bug #243083 - unresolved method after dereferencing template based interator
Comment 2 petrk 2014-07-30 19:59:59 UTC
Fixed in http://hg.netbeans.org/cnd-main/rev/eef6810c8383