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 108685 - IndexOutOfBoundsException during nightly testing
Summary: IndexOutOfBoundsException during nightly testing
Status: VERIFIED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 20:11 UTC by Maria Tishkova
Modified: 2007-07-17 16:55 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 Maria Tishkova 2007-07-02 20:11:23 UTC
Exception occurred during SS nightly testing

>Log Session: Monday, July 2, 2007 12:08:47 PM PDT
>System Info: 
  Product Version         = Sun Studio (Build 200704122300)
  Operating System        = Linux version 2.6.5-7.244-default running on i386
  Java; VM; Vendor; Home  = 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-b03; Sun Microsystems Inc.;
/net/guitest3/quantum/ifdef/jvm/intel-Linux/j2sdk1.5.0_07/jre
  System Locale; Encoding = en_US (sunstudio); UTF-8
  Home Dir.; Current Dir. = /export/home/tester;
/net/yoho/export/home0/ide/mars/nightly/sunstudio12-20070702_0003/sunstudio12-20070702_0003-intel-Linux/sun/sunstudio12/bin
  Installation; User Dir. = 

org.netbeans.modules.cnd.api.model/1 [1.1  070702]
org.netbeans.modules.cnd/1 [1.1 1 070702]

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
[ideTestRunner]         at java.util.ArrayList.RangeCheck(ArrayList.java:546)
[ideTestRunner]         at java.util.ArrayList.get(ArrayList.java:321)
[ideTestRunner]         at
org.netbeans.modules.cnd.modelimpl.repository.IntToStringCache.getValueById(IntToStringCache.java:99)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.repository.KeyUtilities.getUnitName(KeyUtilities.java:176)
[ideTestRunner]         at
org.netbeans.modules.cnd.modelimpl.repository.ProjectNameBasedKey.getUnit(ProjectNameBasedKey.java:79)
[ideTestRunner]         at
org.netbeans.modules.cnd.repository.disk.FilePerUnitDiskRepositoryImpl.getFileStorage(FilePerUnitDiskRepositoryImpl.java:44)
[ideTestRunner]         at
org.netbeans.modules.cnd.repository.disk.FilePerUnitDiskRepositoryImpl.get(FilePerUnitDiskRepositoryImpl.java:116)
[ideTestRunner]         at
org.netbeans.modules.cnd.repository.disk.DiskRepositoryManager.get(DiskRepositoryManager.java:123)
[ideTestRunner]         at org.netbeans.modules.cnd.repository.impl.HybridRepository.get(HybridRepository.java:76)
[ideTestRunner]         at org.netbeans.modules.cnd.repository.impl.DelegateRepository.get(DelegateRepository.java:56)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.repository.RepositoryUtils.get(RepositoryUtils.java:61)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.uid.KeyBasedUID.getObject(KeyBasedUID.java:46)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.uid.KeyBasedUID.getObject(KeyBasedUID.java:37)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.uid.UIDCsmConverter.UIDtoFile(UIDCsmConverter.java:54)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl._getIncludeFile(IncludeImpl.java:112)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.csm.IncludeImpl.getIncludeFile(IncludeImpl.java:62)
[ideTestRunner]         at org.netbeans.modules.cnd.highlight.BadgeProvider.addInvalidFile(BadgeProvider.java:65)
[ideTestRunner]         at
org.netbeans.modules.cnd.highlight.HighlightProvider.fileParsingFinished(HighlightProvider.java:150)
[ideTestRunner]         at
org.netbeans.modules.cnd.modelimpl.csm.core.ProgressSupport.fireFileParsingFinished(ProgressSupport.java:74)
[ideTestRunner]         at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserQueue.onFileParsingFinished(ParserQueue.java:580)
[ideTestRunner]         at org.netbeans.modules.cnd.modelimpl.csm.core.ParserThread.run(ParserThread.java:74)
[ideTestRunner]         at
org.netbeans.modules.cnd.modelimpl.csm.core.ParserThreadManager$Wrapper.run(ParserThreadManager.java:60)
[ideTestRunner]         at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[ideTestRunner]         at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Jesse Grodnik 2007-07-17 07:11:08 UTC
QA escalated. P1 because of exception.
Comment 2 Vladimir Kvashin 2007-07-17 09:28:25 UTC
Jesse, as I understand, you ocassionally left it P3. 
Setting P1.
Comment 3 Vladimir Kvashin 2007-07-17 16:31:45 UTC
Does not repeat any more. I can not reproduce it manually (it occurred earlier, but has never occurred last week). I
investigated all today logs on spark and amd64 machines (there were 3 test runs on each one).
I think it's fixed earlier by Nikolay (nzero2002) commits.
Comment 4 Alexander Pepin 2007-07-17 16:55:10 UTC
Indeed the Exception has not occurred lately.