Bug 568345 - [Analysis] IndexOutOfBoundsException in KernelCpuUsageAnalysis
Summary: [Analysis] IndexOutOfBoundsException in KernelCpuUsageAnalysis
Status: NEW
Alias: None
Product: Tracecompass
Classification: Tools
Component: LTTng (show other bugs)
Version: 6.1.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-28 11:58 EDT by Patrick Tasse CLA
Modified: 2020-10-28 11:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Tasse CLA 2020-10-28 11:58:19 EDT
Attribute was created after the full state was queried.

java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
	at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
	at java.base/java.util.Objects.checkIndex(Objects.java:372)
	at java.base/java.util.ArrayList.get(ArrayList.java:459)
	at org.eclipse.tracecompass.analysis.os.linux.core.cpuusage.KernelCpuUsageAnalysis.getCpuUsageInRange(KernelCpuUsageAnalysis.java:230)
	at org.eclipse.tracecompass.internal.analysis.os.linux.core.cpuusage.CpuUsageDataProvider.getTree(CpuUsageDataProvider.java:227)
	at org.eclipse.tracecompass.internal.tmf.core.model.tree.AbstractTreeDataProvider.fetchTree(AbstractTreeDataProvider.java:301)