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 6.8 (Build 200912041610) VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01-101, Java(TM) SE Runtime Environment, 1.6.0_17-b04-248-10M3025 OS: Mac OS X User Comments: GUEST: problem GUEST: Opening a xml file rbalada: I did two major actions before I spotted red dot in status bar. #1 in files tab of explorer window removed nbproject directory and then on parent node right-clicked "open project" - could be root cause of race condition #2 one of my php files was named xmlHandler.class and because IDE was not able to open it (missing source message) I changed it's extension to class.php using propeties window During the latter action for all the time the navigator window contained just "Please wait" (probably trying to parse the new php file?). At last the xmlHandler.class.php si not visible in files tab of explorer. I can see it in projects tab correctly as xmlHandler.class.php In any way both actions are corner cases ... Stacktrace: java.lang.IllegalStateException: Property 'src.dir' was not found in 'nbproject/project.properties' (NB metadata corrupted?) diagnostics: project.properties exists: false properties (helper): {} properties (evaluator): {java.vm.version=14.3-b01-101, platforms.default_fx_platform.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home, libs.ejb3-persistence.maven-pom=, ant.core.lib=/Applications/NetBeans/NetBeans 6.8.app/Contents/Resources/NetBeans/java3/ant/lib/ant.jar, nbplatform.default.harness.dir=/Applications/NetBeans/NetBeans 6.8.app/Contents/Resources/NetBeans/harness, libs.junit_4.javadoc=/Applications/NetBeans/NetBeans 6.8.app/Contents/Resources/NetBeans/java3/docs/junit-4.5-api.zip, libs.junit.classpath=/Applications/NetBeans/NetBeans 6.8.app/Contents/Resources/NetBeans/java3/modules/ext/junit-3.8.2.jar, sun.java2d.noddraw=true, org.openide.version=deprecated, libs.struts.classpath=/Applications/NetBeans/NetBeans 6.8.app/Contents/Resources/NetBeans/enterprise6/modules/ext/struts/antlr-2 at org.netbeans.modules.php.project.PhpProject.resolveSourcesDirectory(PhpProject.java:293) at org.netbeans.modules.php.project.PhpProject.access$400(PhpProject.java:130) at org.netbeans.modules.php.project.PhpProject$1.run(PhpProject.java:249) at org.netbeans.modules.php.project.PhpProject$1.run(PhpProject.java:245) at org.openide.util.Mutex.readAccess(Mutex.java:285) at org.netbeans.modules.php.project.PhpProject.getSourcesDirectory(PhpProject.java:245)
Created attachment 95057 [details] stacktrace
The only possibility I can think of how this can happen, is when new PHP project is created. However, project properties are put and the project is saved under write access. I will add some more diagnostics: - to list files and top-level subdirs of (1) project dir, (2) nbproject if it still exists.
Diagnostics improved. http://hg.netbeans.org/web-main/rev/87e626702b91 Closing as WORKSFORME, let's wait for reopening.