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 98878 - NoSuchElementException at reparse Quote application
Summary: NoSuchElementException at reparse Quote application
Status: CLOSED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-24 14:36 UTC by Alexander Simon
Modified: 2007-12-04 08:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2007-03-24 14:36:43 UTC
Any changing in project results to exception.

1174743084078: chunkinfo is null for key OffsDeclKey: CpuArch[Enum 1015-1052]
{C:\Documents and Settings\Alex\Quote_4\cpu.h; C:\Documents and
Settings\Alex\Quote_4}
1174743084234try again: null
java.util.NoSuchElementException
        at
org.netbeans.modules.cnd.repository.sfs.SingleFileStorage._get(SingleFileStorage.java:109)
        at
org.netbeans.modules.cnd.repository.sfs.SingleFileStorage.get(SingleFileStorage.java:85)
        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.UIDtoDeclaration(UIDCsmConverter.java:80)
        at
org.netbeans.modules.cnd.modelimpl.csm.NamespaceImpl.addDeclaration(NamespaceImpl.java:279)
        at
org.netbeans.modules.cnd.modelimpl.csm.ClassEnumBase.register(ClassEnumBase.java:103)
        at org.netbeans.modules.cnd.modelimpl.csm.EnumImpl.<init>(EnumImpl.java:62)
        at
org.netbeans.modules.cnd.modelimpl.csm.ClassImpl$ClassAstRenderer.render(ClassImpl.java:117)
        at
org.netbeans.modules.cnd.modelimpl.csm.ClassImpl.<init>(ClassImpl.java:230)
        at
org.netbeans.modules.cnd.modelimpl.csm.ClassImpl.<init>(ClassImpl.java:220)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:66)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.AstRenderer.render(AstRenderer.java:47)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.render(FileImpl.java:241)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl._reparse(FileImpl.java:282)
        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 Alexander Simon 2007-03-28 07:49:32 UTC
NoSuchElementException does not reproduced now.
Comment 2 Vladimir Kvashin 2007-04-06 15:38:09 UTC
Does not repeat any more (quite a lot of changes in repository code have been
done since this issue was filed).