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 242479

Summary: StackOverflowError at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock
Product: third-party Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: _ rkubacki <rkubacki>
Status: RESOLVED FIXED    
Severity: normal CC: michaelmogessie, Quasaur, sdvic
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 197805
Attachments: stacktrace

Description Exceptions Reporter 2014-03-01 12:03:50 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Mac OS X

User Comments:
Quasaur: Opening a project.

Quasaur: I was changing options in the project properties dialog for com.actionbarsherlock

michaelmogessie: I was trying to open An Enterprise application project I have been working on. I can open the EJB module but I get this error when trying to open the war module. Also, after opening another enterprise application, I got this error when trying to open the EJB module but I was able to open the war module without any problems. The problem went away for the other application when I did a 'clean and build' but that is not helping with this one.

sdvic: Library problems  with Android app

GUEST: I don't know what append




Stacktrace: 
java.lang.StackOverflowError
   at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:883)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getCachedOnly(FileObjectFactory.java:685)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getCachedOnly(FileObjectFactory.java:671)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.issueIfExist(FileObjectFactory.java:290)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getFileObject(FileObjectFactory.java:226)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getValidFileObject(FileObjectFactory.java:788)
Comment 1 Exceptions Reporter 2014-03-01 12:03:52 UTC
Created attachment 145689 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-03-04 08:02:26 UTC
Probably a problem in NBAndroid plugin.

Method o.n.m.android.project.queries.ClassPathProviderImpl.fillLibraryProjects seems to be called in an infinite recursion.

Reassigning to Radim Kubacki. Please evaluate it. Thank you.
Comment 3 _ rkubacki 2014-03-04 16:15:28 UTC
Thanks, I'll take a look and need to make the code more robust.

BTW: why is it not possible to see messages.log files from exception reports?
Comment 5 Marian Mirilovic 2015-06-04 06:38:37 UTC
*** Bug 252753 has been marked as a duplicate of this bug. ***