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.
A lot of exceptions like this during tests on windows: java.lang.IllegalStateException: Failed to get container sorage by key ClassifierContainerKey /usr/includeLdev-tester1@tulos [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase$WeakContainer.getContainer(ProjectBase.java:3056) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.getClassifierSorage(ProjectBase.java:2959) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.findClassifiers(ProjectBase.java:419) [junit] at org.netbeans.modules.cnd.modelimpl.impl.services.ClassifierResolverImpl.findVisibleDeclaration(ClassifierResolverImpl.java:161) [junit] at org.netbeans.modules.cnd.modelimpl.impl.services.ClassifierResolverImpl.findClassifierUsedInFile(ClassifierResolverImpl.java:147) [junit] at org.netbeans.modules.cnd.api.model.services.CsmClassifierResolver$Default.findClassifierUsedInFile(CsmClassifierResolver.java:143) [junit] at org.netbeans.modules.cnd.modelimpl.csm.resolver.Resolver3.findClassifierUsedInFile(Resolver3.java:156) [junit] at org.netbeans.modules.cnd.modelimpl.csm.resolver.Resolver3.resolveSimpleName(Resolver3.java:679) [junit] at org.netbeans.modules.cnd.modelimpl.csm.resolver.Resolver3.resolve(Resolver3.java:646) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.findOwner(FunctionImplEx.java:106) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.findQualifiedName(FunctionImplEx.java:208) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionDefinitionImpl.findQualifiedName(FunctionDefinitionImpl.java:238) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.getQualifiedName(FunctionImplEx.java:202) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.getUniqueNameWithoutPrefix(FunctionImpl.java:409) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.getUniqueName(OffsetableDeclarationBase.java:85) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.DeclarationContainer.putDeclaration(DeclarationContainer.java:149) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.DeclarationContainerProject.putDeclaration(DeclarationContainerProject.java:189) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ProjectBase.registerDeclaration(ProjectBase.java:513) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionImpl.registerInProject(FunctionImpl.java:368) [junit] at org.netbeans.modules.cnd.modelimpl.csm.FunctionImplEx.registerInProject(FunctionImplEx.java:239) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.OffsetableDeclarationBase.postObjectCreateRegistration(OffsetableDeclarationBase.java:290) [junit] at org.netbeans.modules.cnd.modelimpl.csm.ConstructorDefinitionImpl.create(ConstructorDefinitionImpl.java:75) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:162) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:91) [junit] at org.netbeans.modules.cnd.modelimpl.parser.ParserProviderImpl$Antlr2CppParser.render(ParserProviderImpl.java:156) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._parse(FileImpl.java:833) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:513) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread._run(ParserThread.java:130) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:72) [junit] at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:91)
It seems root cause of exceptions is: Cannot delete repository folder D:\hudson\workspace\cnd-test-winxp\unit\userdir\var\cache\cnd\model\D%3A%2Fhudson%2Fworkspace%2Fcnd-test-winxp%2Funit%2Fwork%2Forg-n--1_rfs_endif_7348545391525627369N-1618523133\D%3A%2Fhudson%2Fworkspace%2Fcnd-test-winxp%2Funit%2Fwork%2Forg-n--fs_endif_7348545391525627369N20--2119740724 Probably: - two IDE session with same user dir - length of repository name is too long (example has 288 chars)
*** This bug has been marked as a duplicate of bug 201086 ***