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.
VisualWeb seems to initialize itself too early. Also it writes down a file. Please eliminate the creation of the file, potentially remove the restored() code completely. checkWrite: /home/jarda/src/netbeans/fixes/ide.kit/build/test/qa-functional/work/userdir0/config/org-netbeans-modules-visualweb-complib at org.netbeans.test.ide.CountingSecurityManager.checkWrite(CountingSecurityManager.java:150) at java.io.File.mkdir(File.java:1119) at java.io.File.mkdirs(File.java:1148) at org.netbeans.modules.visualweb.complib.IdeUtil.getComplibStateDir(IdeUtil.java:496) at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.initUserScope(ComplibServiceProvider.java:485) at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.<init>(ComplibServiceProvider.java:479) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.openide.util.lookup.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.java:431) at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:415) at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:205) at org.netbeans.modules.visualweb.complib.ComplibServiceProvider.getInstance(ComplibServiceProvider.java:464) at org.netbeans.modules.visualweb.complib.ComplibModuleInstall.restored(ComplibModuleInstall.java:49)
And when you are at it, also please fix: checkWrite: /home/jarda/src/netbeans/fixes/ide.kit/build/test/qa-functional/work/userdir0/config/org-netbeans-modules-visualweb-ejb at org.netbeans.test.ide.CountingSecurityManager.checkWrite(CountingSecurityManager.java:150) at java.io.File.mkdir(File.java:1119) at java.io.File.mkdirs(File.java:1148) at org.netbeans.modules.visualweb.ejb.util.Util.getEjbStateDir(Util.java:191) at org.netbeans.modules.visualweb.ejb.EjbDataSourceManager.getUserDirDataSrcFileName(EjbDataSourceManager.java:170) at org.netbeans.modules.visualweb.ejb.EjbDataSourceManager.load(EjbDataSourceManager.java:99) at org.netbeans.modules.visualweb.ejb.EjbDataSourceModuleInstaller.restored(EjbDataSourceModuleInstaller.java:72) at org.netbeans.core.startup.NbInstaller.loadCode(NbInstaller.java:419) at org.netbeans.core.startup.NbInstaller.load(NbInstaller.java:340) at org.netbeans.ModuleManager.enable(ModuleManager.java:904) at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:428) at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:364) at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:276)
From the description its not clear to me if this is a test issue or some changes need to happen in the IDE. jtulach, can you confirm please ? thanks
It is a bug in the IDE.
Yes, it is there. However, I am not sure why was it was done that way. It seems it was taken as an 'easy solution' for synchronization of the init tasks.