junit.framework.AssertionFailedError: No writes during startup. Writing any files to disk during start is inefficient and usualy unnecessary. Consider using declarative registration in your layer.xml file, or delaying the initialization of the whole subsystem till it is really used. In case it is necessary to perform the write, you can modify the 'allowed-file-write.txt' file in ide.kit module. More details at http://wiki.netbeans.org/FitnessViaWhiteAndBlackList checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate java.lang.Exception: checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate at org.netbeans.test.ide.CountingSecurityManager.checkWrite(CountingSecurityManager.java:416) at java.io.File.mkdir(File.java:1155) at org.openide.filesystems.LocalFileSystem.createRecursiveFolder(LocalFileSystem.java:262) at org.openide.filesystems.LocalFileSystem.createFolder(LocalFileSystem.java:224) at org.openide.filesystems.LocalFileSystem$Impl.createFolder(LocalFileSystem.java:575) at org.openide.filesystems.AbstractFileObject.createFolder(AbstractFileObject.java:415) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:865) at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:1100) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:865) at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:1100) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:865) at org.openide.filesystems.FileUtil.createData(FileUtil.java:920) at org.netbeans.core.startup.preferences.PropertiesStorage.toPropertiesFile(PropertiesStorage.java:319) at org.netbeans.core.startup.preferences.PropertiesStorage.outputStream(PropertiesStorage.java:259) at org.netbeans.core.startup.preferences.PropertiesStorage.save(PropertiesStorage.java:236) at org.netbeans.core.startup.preferences.NbPreferences.flushSpi(NbPreferences.java:207) at org.netbeans.core.startup.preferences.NbPreferences$1$1.run(NbPreferences.java:77) at org.netbeans.core.startup.preferences.PropertiesStorage$3.run(PropertiesStorage.java:329) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566) at org.netbeans.core.startup.preferences.PropertiesStorage.runAtomic(PropertiesStorage.java:327) at org.netbeans.core.startup.preferences.NbPreferences$1.run(NbPreferences.java:72) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991) checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate\pluginimporter.properties java.lang.Exception: checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate\pluginimporter.properties at org.netbeans.test.ide.CountingSecurityManager.checkWrite(CountingSecurityManager.java:416) at java.io.File.createNewFile(File.java:882) at org.openide.filesystems.LocalFileSystem.createData(LocalFileSystem.java:274) at org.openide.filesystems.LocalFileSystem$Impl.createData(LocalFileSystem.java:587) at org.openide.filesystems.AbstractFileObject.createData(AbstractFileObject.java:474) at org.openide.filesystems.FileUtil.createData(FileUtil.java:941) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1175) at org.openide.filesystems.FileUtil.createData(FileUtil.java:941) at org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:1175) at org.openide.filesystems.FileUtil.createData(FileUtil.java:941) at org.netbeans.core.startup.preferences.PropertiesStorage.toPropertiesFile(PropertiesStorage.java:319) at org.netbeans.core.startup.preferences.PropertiesStorage.outputStream(PropertiesStorage.java:259) at org.netbeans.core.startup.preferences.PropertiesStorage.save(PropertiesStorage.java:236) at org.netbeans.core.startup.preferences.NbPreferences.flushSpi(NbPreferences.java:207) at org.netbeans.core.startup.preferences.NbPreferences$1$1.run(NbPreferences.java:77) at org.netbeans.core.startup.preferences.PropertiesStorage$3.run(PropertiesStorage.java:329) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:127) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:566) at org.netbeans.core.startup.preferences.PropertiesStorage.runAtomic(PropertiesStorage.java:327) at org.netbeans.core.startup.preferences.NbPreferences$1.run(NbPreferences.java:72) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991) checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate\pluginimporter.properties checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate\pluginimporter.properties checkWrite: D:\hg\main\nbbuild\build\testdist\qa-functional\work\org-netbeans-modules-java-kit\userdir0\config\Preferences\org\netbeans\modules\autoupdate\pluginimporter.properties expected:<0> but was:<8> at junit.framework.Assert.fail(Assert.java:50) at junit.framework.Assert.failNotEquals(Assert.java:287) at junit.framework.Assert.assertEquals(Assert.java:67) at junit.framework.Assert.assertEquals(Assert.java:199) at org.netbeans.test.ide.CountingSecurityManager.assertCounts(CountingSecurityManager.java:157) at org.netbeans.test.ide.IDEValidation.testWriteAccess(IDEValidation.java:209) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:168) at org.netbeans.jellytools.JellyTestCase.runTest(JellyTestCase.java:179) at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:99) at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:405) at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:331) at java.lang.Thread.run(Thread.java:662)