Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328772

Summary: org.eclipse.ecf.core.status.SerializableStatus.OK_STATUS causes exception in org.eclipse.ecf.core.status.SerializableStatus.checkForSerializable(Throwable) due to null
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.coreAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: slewis
Version: 3.3.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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