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.

Bug 98821

Summary: java.util.NoSuchElementException in repository
Product: cnd Reporter: Maria Tishkova <mromashova>
Component: -- Other --Assignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED WORKSFORME    
Severity: blocker    
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Maria Tishkova 2007-03-23 16:56:40 UTC
>Log Session: Friday, March 23, 2007 6:22:24 PM GMT
>System Info: 
  Product Version         = NetBeans IDE 5.5.1 Beta (Build 200702211400)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor; Home  = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03;
Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_09\jre
  System Locale; Encoding = ru_RU (nb); Cp1251
  Home Dir.; Current Dir. = C:\Documents and Settings\masha; C:\netbeans-5.5.1beta
>Log Session: Friday, March 23, 2007 6:22:24 PM GMT
>System Info: 
  Product Version         = NetBeans IDE 5.5.1 Beta (Build 200702211400)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor; Home  = 1.5.0_09; Java HotSpot(TM) Client VM 1.5.0_09-b03;
Sun Microsystems Inc.; C:\Program Files\Java\jdk1.5.0_09\jre
  System Locale; Encoding = ru_RU (nb); Cp1251
  Home Dir.; Current Dir. = C:\Documents and Settings\masha; C:\netbeans-5.5.1beta

1174675954171: chunkinfo is null for key OffsDeclKey: __exception[struct
11233-11372] {D:\cygwin\usr\include\math.h; /usr/include}
1174675954203try again: null
java.util.NoSuchElementException
	at
org.netbeans.modules.cnd.repository.sfs.SingleFileStorage.get(SingleFileStorage.java:89)
	at
org.netbeans.modules.cnd.repository.impl.FilePerUnitDiskRepositoryImpl.get(FilePerUnitDiskRepositoryImpl.java:77)
	at
org.netbeans.modules.cnd.repository.impl.SoftRefRepository.get(SoftRefRepository.java:128)
	at
org.netbeans.modules.cnd.repository.impl.SoftRefHybridRepository.get(SoftRefHybridRepository.java:60)
	at
org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:57)
	at
org.netbeans.modules.cnd.modelimpl.uid.KeyBasedUID.getObject(KeyBasedUID.java:46)
	at
org.netbeans.modules.cnd.modelimpl.uid.KeyBasedUID.getObject(KeyBasedUID.java:37)
	at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDToIdentifiable(UIDCsmConverter.java:119)
	at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToList(UIDCsmConverter.java:111)
	at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToDeclarations(UIDCsmConverter.java:93)
	at
org.netbeans.modules.cnd.modelimpl.csm.NamespaceDefinitionImpl.getDeclarations(NamespaceDefinitionImpl.java:82)
	at
org.netbeans.modules.cnd.modelimpl.csm.NamespaceDefinitionImpl.dispose(NamespaceDefinitionImpl.java:139)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.disposeAll(FileImpl.java:319)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(FileImpl.java:281)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.reparse(FileImpl.java:255)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:207)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:61)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
java.lang.AssertionError
	at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToList(UIDCsmConverter.java:112)
	at
org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDsToDeclarations(UIDCsmConverter.java:93)
	at
org.netbeans.modules.cnd.modelimpl.csm.NamespaceDefinitionImpl.getDeclarations(NamespaceDefinitionImpl.java:82)
	at
org.netbeans.modules.cnd.modelimpl.csm.NamespaceDefinitionImpl.dispose(NamespaceDefinitionImpl.java:139)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.disposeAll(FileImpl.java:319)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(FileImpl.java:281)
	at org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.reparse(FileImpl.java:255)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.ensureParsed(FileImpl.java:207)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:61)
	at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Vladimir Kvashin 2007-04-06 16:39:49 UTC
Does not repeat any more (a lot of changes have been done in repository since
this issue was filed).