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 200501271900 1) Have a Web project with existing sources - its project folder is separated from sources (in different directory) 2) Move the project on disk 3) Open it in NB 4) ERROR: An error dialog appears with text 'Cannot find Web Pages folder, ... set web.docbase.dir property in project.properties file ...' Note: I'd expect 'Resolve reference problem' dialog instead. 5) Explore project's node 6) NPE is thrown -- see attachment.
Created attachment 20043 [details] NPE
BTW: Java project with existing sources works fine.
Left the 'Cannot find Web Pages' dialog there, but added an instruction for the user to set the web dir in the customizer. Resolve references problem dialog works. NPE removed by the fix of issue #53749.
Fixed. Checking in WebProjectWebServicesSupport.java; /cvs/web/project/src/org/netbeans/modules/web/project/WebProjectWebServicesSupport.java,v <-- WebProjectWebServicesSupport.java new revision: 1.20; previous revision: 1.19 done Checking in classpath/JspSourcePathImplementation.java; /cvs/web/project/src/org/netbeans/modules/web/project/classpath/JspSourcePathImplementation.java,v <-- JspSourcePathImplementation.java new revision: 1.2; previous revision: 1.1 done Checking in ui/WebViews.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/WebViews.java,v <-- WebViews.java new revision: 1.25; previous revision: 1.24 done Checking in ui/customizer/CustomizerProviderImpl.java; /cvs/web/project/src/org/netbeans/modules/web/project/ui/customizer/CustomizerProviderImpl.java,v <-- CustomizerProviderImpl.java new revision: 1.5; previous revision: 1.4 done
Still not ideal, but main problems are fixed. Verified in 200502231900.