# Class java.lang.Boolean cannot be cast to class java.lang.Number

**URL:** <https://community.cdata.com/t/class-java-lang-boolean-cannot-be-cast-to-class-java-lang-number/189>\
**Category:** CData Drivers\
**Tags:** question\
**Created:** [May 15, 2023, 6:23pm UTC](https://community.cdata.com/t/class-java-lang-boolean-cannot-be-cast-to-class-java-lang-number/189 "2023-05-15T18:23:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abhilash](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Abhilash](https://community.cdata.com/u/Abhilash)\
**Post date:** [May 15, 2023, 6:23pm UTC](https://community.cdata.com/t/class-java-lang-boolean-cannot-be-cast-to-class-java-lang-number/189/1 "2023-05-15T18:23:26Z")

</div>

Issue encountered while extracting data using CDATA JDBC driver in Snaplogic. Specifically, we are receiving the following error message:

“Class java.lang.Boolean cannot be cast to class java.lang.Number (java.lang.Boolean and java.lang.Number are in module java.base of loader ‘bootstrap’)”

Thanks

---

<div class="post-metadata">

**Author:** ![Elizabeth\_G](https://avatars.discourse-cdn.com/v4/letter/e/6bbea6/32.png) [@Elizabeth\_G](https://community.cdata.com/u/Elizabeth_G)\
**Post date:** [May 16, 2023, 1:35pm UTC](https://community.cdata.com/t/class-java-lang-boolean-cannot-be-cast-to-class-java-lang-number/189/2 "2023-05-16T13:35:48Z")

</div>

Thank you for reaching out. As this issue appears to be more technical in nature, please reach out to our support team at [support@cdata.com](mailto:support@cdata.com) so that we can assist with investigating this further. When you reach out, please note that it would also be helpful to have a logfile, which would show more about the context and details of the error.

Please let us know if anything else is needed!
