Bug 197971 - [Table][Regression] NPE when table has no input and doing commands in Systems View
Summary: [Table][Regression] NPE when table has no input and doing commands in Systems...
Status: CLOSED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kevin Doyle CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-07-26 10:37 EDT by Kevin Doyle CLA
Modified: 2011-05-25 09:40 EDT (History)
1 user (show)

See Also:


Attachments
Added a check if _currentItem is null (2.71 KB, patch)
2007-07-26 10:48 EDT, Kevin Doyle CLA
mober.at+eclipse: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Doyle CLA 2007-07-26 10:37:08 EDT
When we load up RSE the Remote System Details View is open, but has no input.  Since it is open it is listening to refresh events.

This line in SystemTableViewPart.removeFromHistory() is causing the error because _currentItem is null.

Object currentObject = _currentItem.getObject();

This regression is a result of bug #193394.

-----------Enter bugs above this line-----------
TM 2.0.1 Testing
installation : eclipse-SDK-3.3
RSE install  : Dev Driver
java.runtime : Sun 1.5.0_11-b03
os.name:     : Windows XP, Service Pack 2
------------------------------------------------
Comment 1 Kevin Doyle CLA 2007-07-26 10:48:20 EDT
Created attachment 74696 [details]
Added a check if _currentItem is null

Legal Message: I, Kevin Doyle, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer, IBM Canada Ltd. to make this
contribution under the EPL.
Comment 2 David McKnight CLA 2007-07-26 10:59:37 EDT
I've applied the patch for this to cvs.
Comment 3 Martin Oberhuber CLA 2007-07-27 04:37:04 EDT
When applying a patch pls dont forget setting the Target Milestone and the "contributed" kwd.
Comment 4 Kevin Doyle CLA 2007-09-13 13:12:47 EDT
Verified fixed with 2.0.1 RC1.