Bug 498066 - [LTTng] NPE in Kernel I/O analysis
Summary: [LTTng] NPE in Kernel I/O analysis
Status: RESOLVED FIXED
Alias: None
Product: Tracecompass
Classification: Tools
Component: LTTng (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: 2.0.1   Edit
Assignee: Project Inbox CLA
QA Contact: Project Inbox CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-18 10:25 EDT by Bernd Hufmann CLA
Modified: 2016-08-02 15:50 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 Bernd Hufmann CLA 2016-07-18 10:25:54 EDT
I get a NullPointerException in the I/O analysis of a LTTng 2.7 trace. 

Exception in thread "Input Output Analysis Event Handler" java.lang.NullPointerException
	at org.eclipse.tracecompass.internal.analysis.os.linux.core.inputoutput.handlers.SysExitHandler.handleEvent(SysExitHandler.java:67)
	at org.eclipse.tracecompass.internal.analysis.os.linux.core.inputoutput.InputOutputStateProvider.eventHandle(InputOutputStateProvider.java:125)
	at org.eclipse.tracecompass.tmf.core.statesystem.AbstractTmfStateProvider$EventProcessor.run(AbstractTmfStateProvider.java:213)
	at java.lang.Thread.run(Thread.java:745)
Comment 1 Bernd Hufmann CLA 2016-07-18 10:47:56 EDT
Looking at the trace I noticed that syscall_exit_mmap2 doesn't have the field ret. This causes a NullPointerException in SyscallExitHandler.
Comment 2 Eclipse Genie CLA 2016-07-18 10:49:39 EDT
New Gerrit change created: https://git.eclipse.org/r/77477
Comment 4 Eclipse Genie CLA 2016-07-22 10:58:00 EDT
New Gerrit change created: https://git.eclipse.org/r/77783
Comment 5 Eclipse Genie CLA 2016-08-01 10:45:19 EDT
New Gerrit change created: https://git.eclipse.org/r/78269