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.0.1 (Build 201107282000) VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06 OS: Windows 7 User Comments: az4: I selected "Open Recent File" from the File menu. GUEST: Opening Netbeans and it was attempting to open the previously active projects. GUEST: Just opened a Maven project. GUEST: Just openning IDE timgstewart: Netbeans was "Scanning Projects" Stacktrace: java.lang.StackOverflowError at java.util.Hashtable.get(Hashtable.java:334) at org.codehaus.plexus.interpolation.reflection.ClassMap.findMethod(ClassMap.java:96) at org.codehaus.plexus.interpolation.reflection.ReflectionValueExtractor.evaluate(ReflectionValueExtractor.java:94) at org.codehaus.plexus.interpolation.ObjectBasedValueSource.getValue(ObjectBasedValueSource.java:64) at org.codehaus.plexus.interpolation.PrefixedValueSourceWrapper.getValue(PrefixedValueSourceWrapper.java:134) at org.codehaus.plexus.interpolation.AbstractDelegatingValueSource.getValue(AbstractDelegatingValueSource.java:44)
Created attachment 111926 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=180993
Any clue how to reproduce this, e.g. a sample project? Guessing that a project is referring to itself via <parent> or something similar.
A simple attempt to reproduce fails: ... <parent> <groupId>test</groupId> <artifactId>test203588</artifactId> <version>1.0-SNAPSHOT</version> </parent> <artifactId>test203588</artifactId> <packaging>pom</packaging> ... => 1 problem was encountered while building the effective model for test:test203588:1.0-SNAPSHOT [FATAL] The parents form a cycle: test:test203588:1.0-SNAPSHOT -> test:test203588:1.0-SNAPSHOT @ for project test:test203588:1.0-SNAPSHOT at .../test203588/pom.xml as expected, but no stack overflow.
This may be related to debugging. If I quit NetBeans IDE, just after debugging, the problem happens (but not always). I am not sure about it, this is non deterministic. Sometimes, when I hover on the "Open Recent File" option on the File menu, IDE is stuck. I work with Maven projects all the time (this is another note). Unfortunately I couldn't find how this occurs. But if it happens again, I will note down what I did previously. My best solution so far is deleting "C:\Users\[username]\.netbeans\7.0" folder and reconfigure NetBeans from the beginning.
as far as I can tell, the issue has probably no relation to what you did before the bug occurs, but with what projects and opened and what projects they reference as dependencies or otherwise. Maybe having a maven plugin project open that is referenced by itself or something along these lines..
Yes, I was working on a maven project. aaa-web-app In it's pom.xml, there are 2 jar dependencies, bbb-lib ccc-lib In bbb-lib's pom.xml, there is a dependency for ccc-lib. Also, in ccc-lib's pom.xml, there is a dependency for bbb-lib. There is a cross dependency for those 2 libraries.
(In reply to comment #7) > In bbb-lib's pom.xml, there is a dependency for ccc-lib. > Also, in ccc-lib's pom.xml, there is a dependency for bbb-lib. AFAIK this is simply illegal in Maven - you cannot have cyclic dependencies. Anyway the fix of bug #205658 would probably deal with this case. *** This bug has been marked as a duplicate of bug 205658 ***