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.
We are facing this exception (see attachment) reproducibly in our automated tests. The test case creates new CSS table in Visual Web Project and than deleted the same document repeatedly.
Created attachment 42405 [details] Exception for this issue
Passing to projects, nobody should call DataObject.find on null: org.netbeans.spi.project.ui.templates.support.Templates.setTargetFolder
fixed the NPE. However please note that the primary cause of the error is somewhere in your test setup. You are obviously doing something different than the regular UI is doing. Thus this might not be the only error you encounter. Next time please check the code yourself and make sure your setup is correct (equivalent to the way UI works) and file a bug only if you can reproduce in the IDE itself as well. Checking in Templates.java; /cvs/projects/projectuiapi/src/org/netbeans/spi/project/ui/templates/support/Templates.java,v <-- Templates.java new revision: 1.18; previous revision: 1.17 done IDE: