Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315988 - NPE on console after opening SystemTap perspective/views
Summary: NPE on console after opening SystemTap perspective/views
Status: RESOLVED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Systemtap (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.6   Edit
Assignee: anithra CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-07 09:39 EDT by Andrew Overholt CLA
Modified: 2010-06-08 13:43 EDT (History)
3 users (show)

See Also:


Attachments
Hides the message (745 bytes, application/octet-stream)
2010-06-08 10:57 EDT, anithra CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2010-06-07 09:39:42 EDT
After verifying some other SystemTap bugs, I noticed this in my terminal.  At a minimum I'd like to see this go to the consolelog instead of the console.

Exception in thread "TapsetParser" java.lang.NullPointerException
	at org.eclipse.linuxtools.systemtap.ui.ide.views.BrowserView$ViewUpdater.handleUpdateEvent(BrowserView.java:160)
	at org.eclipse.linuxtools.systemtap.ui.ide.structures.TapsetParser.fireUpdateEvent(TapsetParser.java:156)
	at org.eclipse.linuxtools.systemtap.ui.ide.structures.TapsetParser.run(TapsetParser.java:125)
	at java.lang.Thread.run(Thread.java:636)
Comment 1 Andrew Overholt CLA 2010-06-08 10:50:10 EDT
Roland/Charley, if you have a second, can you help Anithra out by seeing if you can reproduce this?  If you can't reproduce it, close it, as I may have been experiencing issues with my installation at the time.  Thanks.
Comment 2 anithra CLA 2010-06-08 10:57:57 EDT
Created attachment 171415 [details]
Hides the message

I think this exception might occur when systemtap is not installed on the machine, this will need to be reopened and investigated later.
Comment 3 anithra CLA 2010-06-08 10:58:21 EDT
The patch has been committed
Comment 4 Charley Wang CLA 2010-06-08 11:10:40 EDT
This doesn't reproduce for me either. I believe the error is caused by viewer being null -- I can get the update event to fire but the viewer variable is never null for me. Tried removing some tapsets from the tapsets folder as well.
Comment 5 Andrew Overholt CLA 2010-06-08 13:43:34 EDT
I've opened all the SystemTap views and perspectives that there are and I can't reproduce this with the latest build (#234, 201006081201).  Thanks.