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 217017 - IllegalStateException: Property 'src.dir' was not found in 'nbproject/project.properties' (NB metadata corrupted?) diagnostics: project.properties exists: false project directory: /Library/WebServer/D
Summary: IllegalStateException: Property 'src.dir' was not found in 'nbproject/project...
Status: RESOLVED DUPLICATE of bug 214000
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 09:43 UTC by Ondrej Brejla
Modified: 2012-08-17 10:45 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191624


Attachments
stacktrace (3.69 KB, text/plain)
2012-08-17 09:43 UTC, Ondrej Brejla
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Brejla 2012-08-17 09:43:21 UTC
This bug was originally marked as duplicate of bug 214000, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 (Build 201207171143)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.8-b03-424, Java(TM) SE Runtime Environment, 1.6.0_33-b03-424-11M3720
OS: Mac OS X

User Comments:
obrejla: Deleted project from command line. That project was opened in NB before.




Stacktrace: 
java.lang.IllegalStateException: Property 'src.dir' was not found in 'nbproject/project.properties' (NB metadata corrupted?)
diagnostics:
project.properties exists: false
project directory: /Library/WebServer/Documents/sandbox@78b0a584:6291bbb9
project directory children: []
nbproject exists: false
source roots: []
source roots - fired changes: 2
properties (helper): {}
properties (evaluator): {libs.jaxws21.src=, java.vm.version=20.8-b03-424, libs.swing-layout.maven-pom=, ant.core.lib=/Applications/NetBeans/NetBeans 7.2.app/Contents/Resources/NetBeans/java/ant/lib/ant.jar, java.vendor.url=http://www.apple.com/, libs.jpa20-persistence.src=, libs.ejb3-persistence.maven-pom=, libs.junit_4.javadoc=/Applications/NetBeans/NetBeans 7.2.app/Contents/Resources/NetBeans/java/docs/junit-4.10-javadoc.jar, libs.absolutelayout.classpath=/Applications/NetBeans/NetBeans 7.2.app/Contents/Resources/NetBeans/java/modules/ext/AbsoluteLayout.jar, libs.junit.classpath=/Applications/NetBeans/NetBeans 7.2.app/Contents/Resources/NetB
   at org.netbeans.modules.php.project.PhpProject.resolveSourcesDirectory(PhpProject.java:376)
   at org.netbeans.modules.php.project.PhpProject.getSourcesDirectory(PhpProject.java:300)
   at org.netbeans.modules.php.project.ProjectPropertiesSupport.getSourcesDirectory(ProjectPropertiesSupport.java:120)
   at org.netbeans.modules.php.project.PhpModuleImpl.getSourceDirectory(PhpModuleImpl.java:88)
   at org.netbeans.modules.php.nette.NettePhpFrameworkProvider.isInPhpModule(NettePhpFrameworkProvider.java:86)
   at org.netbeans.modules.php.project.PhpProject.getFrameworks(PhpProject.java:609)
Comment 1 Ondrej Brejla 2012-08-17 09:43:25 UTC
Created attachment 123242 [details]
stacktrace
Comment 2 Vladimir Riha 2012-08-17 10:45:52 UTC
I believe this is still a duplicate of issue 214000. Report is from 7.2 but the fix for 214000 will be in 7.2.1

*** This bug has been marked as a duplicate of bug 214000 ***