Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

NullPointerException calling javax.xml.bind.DatatypeConverter.parseBoolean with "TRUE", "FALSE", or "Hello" #902

Closed
glassfishrobot opened this issue May 16, 2012 · 9 comments

Comments

@glassfishrobot
Copy link
Contributor

A NullPointerException is thrown calling javax.xml.bind.DatatypeConverter.parseBoolean with "TRUE", "FALSE", or "Hello".

I would expect the result to be false or an IllegalArgumentException as the Javadoc states.

Environment

« Hide

java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

Windows 7 64-bit

Affected Versions

[2.2.5]

@glassfishrobot
Copy link
Contributor Author

Reported by garydgregory

@glassfishrobot
Copy link
Contributor Author

Issue-Links:
duplicates
JAXB-901

@glassfishrobot
Copy link
Contributor Author

Was assigned to snajper

@glassfishrobot
Copy link
Contributor Author

snajper said:
Actually, you were right in filing this separately.

@glassfishrobot
Copy link
Contributor Author

garydgregory said:
Ah, thank you for the comment Martin, I knew it made sense to me for a reason

@glassfishrobot
Copy link
Contributor Author

Marked as fixed on Wednesday, May 16th 2012, 9:15:14 am

@glassfishrobot
Copy link
Contributor Author

snajper said:
This is unfortunate, and will be fixed in next version.

@glassfishrobot
Copy link
Contributor Author

garydgregory said:
Curious: Do you have a schedule for the next release?

@glassfishrobot
Copy link
Contributor Author

This issue was imported from java.net JIRA JAXB-902

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant