java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via sqoop-user by Brian Henriksen, 1 year ago
java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
via sqoop-user by Brian Henriksen, 1 year ago
java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
via sqoop-user by Brian Henriksen, 1 year ago
java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
via sqoop-user by Brian Henriksen, 1 year ago
java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
via sqoop-user by Jarek Jarcec Cecho, 1 year ago
+Configuration%2FCLDC-1.1', 'hxCA', 'MLNL', '1006', '10014', '1410', NULL, 'mdkP', '10014', '', '', 'click', '', '', '', '', NULL, 'CT810', '', '', '', 'LG', '', '', '400', '', '240', '', 'stylus', '', 'Windows Mobile OS', '6.1', 'Microsoft Mobile Explorer', '7.11', 'false', 'false', '') was aborted. Call getNextException to see the cause.
via sqoop-user by Matthieu Labour, 1 year ago
+Configuration%2FCLDC-1.1', 'hxCA', 'MLNL', '1006', '10014', '1410', NULL, 'mdkP', '10014', '', '', 'click', '', '', '', '', NULL, 'CT810', '', '', '', 'LG', '', '', '400', '', '240', '', 'stylus', '', 'Windows Mobile OS', '6.1', 'Microsoft Mobile Explorer', '7.11', 'false', 'false', '') was aborted. Call getNextException to see the cause.
java.io.IOException: java.sql.SQLException: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.math.BigDecimal
at org.apache.sqoop.mapreduce.AsyncSqlRecordWriter.write(AsyncSqlRecordWriter.java:220)
at org.apache.sqoop.manager.oracle.OraOopOutputFormatBase$OraOopDBRecordWriterBase.write(OraOopOutputFormatBase.java:564)
at org.apache.sqoop.manager.oracle.OraOopOutputFormatInsert$OraOopDBRecordWriterInsert.write(OraOopOutputFormatInsert.java:107)
at org.apache.sqoop.manager.oracle.OraOopOutputFormatBase$OraOopDBRecordWriterBase.write(OraOopOutputFormatBase.java:200)
at org.apache.hadoop.mapred.MapTask$NewDirectOutputCollector.write(MapTask.java:558)
at org.apache.hadoop.mapreduce.task.TaskInputOutputContextImpl.write(TaskInputOutputContextImpl.java:85)
at org.apache.sqoop.mapreduce.AvroExportMapper.map(AvroExportMapper.java:36)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.