Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328772 - org.eclipse.ecf.core.status.SerializableStatus.OK_STATUS causes exception in org.eclipse.ecf.core.status.SerializableStatus.checkForSerializable(Throwable) due to null
Summary: org.eclipse.ecf.core.status.SerializableStatus.OK_STATUS causes exception in ...
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.core (show other bugs)
Version: 3.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-26 15:42 EDT by Markus Kuppe CLA
Modified: 2010-10-26 15:45 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2010-10-26 15:42:01 EDT
org.eclipse.ecf.core.status.SerializableStatus.OK_STATUS initializes with null which subsequently causes an exception when setting the exception (org.eclipse.ecf.core.status.SerializableStatus.setException(Throwable)). IMO org.eclipse.ecf.core.status.SerializableStatus.setException(Throwable) should exclude null from  org.eclipse.ecf.core.status.SerializableStatus.checkForSerializable(Throwable).
Comment 1 Scott Lewis CLA 2010-10-26 15:44:28 EDT
(In reply to comment #0)
> org.eclipse.ecf.core.status.SerializableStatus.OK_STATUS initializes with null
> which subsequently causes an exception when setting the exception
> (org.eclipse.ecf.core.status.SerializableStatus.setException(Throwable)). IMO
> org.eclipse.ecf.core.status.SerializableStatus.setException(Throwable) should
> exclude null from 
> org.eclipse.ecf.core.status.SerializableStatus.checkForSerializable(Throwable).

+1...please go ahead and fix.
Comment 2 Markus Kuppe CLA 2010-10-26 15:45:46 EDT
Fix released to master