Bug 198265 - null argument for zulu.format() throws NPE
Summary: null argument for zulu.format() throws NPE
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: ALF (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: George Stanchev CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-30 09:37 EDT by Ramkumar Venkatraman CLA
Modified: 2010-11-23 14:33 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramkumar Venkatraman CLA 2007-07-30 09:37:34 EDT
Class: org.eclipse.alf.security.sso.common.ws.model.security.utility.element.impl.CreatedImpl
Method: OMElement toOM(OMElement parent)

createdEl.setText(zulu.format(created));

In case of null value for 'created', a NullPointerException is thrown, which causes the code execution to terminate.

A similar case can be found in the following class: org.eclipse.alf.security.sso.common.ws.model.security.utility.element.impl.ExpiresImpl
Method: OMElement toOM(OMElement parent)
expiresEl.setText(zulu.format(expires));
Comment 1 George Stanchev CLA 2007-10-18 15:19:20 EDT
fixed