ngocdaothanh / mydit

MySQL to MongoDB data replicator
MIT License
26 stars 10 forks source link

Getting [WARN] Could not replicate to MongoDB, event: #16

Open dheeraj-thedev opened 3 years ago

dheeraj-thedev commented 3 years ago

I have just setup the replicator tool

As I am changing MySQL i am getting below log:-

C:\Users\Administrator\Downloads\mydit-1.6\mydit-1.6\script>java -cp "C:\Users\Administrator\Downloads\mydit-1.6\mydit-1.6\lib*;C:\Users\Administrator\Downloads\mydit-1.6\mydit-1.6\config" mydit.Main [INFO] Connected to localhost:3306 at bins.000001/20017 [TRACE] Event{header=EventHeaderV4{timestamp=0, eventType=ROTATE, serverId=11, headerLength=19, dataLength=23, nextPosition=0, flags=32}, data=RotateEventData{binlogFilename='bins.000001', binlogPosition=20017}} [INFO] Rotated filename: bins.000001, position: 20017 [TRACE] Event{header=EventHeaderV4{timestamp=1621571195000, eventType=FORMAT_DESCRIPTION, serverId=11, headerLength=19, dataLength=100, nextPosition=0, flags=0}, data=FormatDescriptionEventData{binlogVersion=4, serverVersion='5.7.34-log', headerLength=19}} [INFO] localhost:3306 server version: 5.7.34-log, binlog version: 4 [TRACE] Event{header=EventHeaderV4{timestamp=1621585779000, eventType=ANONYMOUS_GTID, serverId=11, headerLength=19, dataLength=46, nextPosition=20082, flags=0}, data=null} [TRACE] Event{header=EventHeaderV4{timestamp=1621585779000, eventType=QUERY, serverId=11, headerLength=19, dataLength=58, nextPosition=20159, flags=8}, data=QueryEventData{threadId=5, executionTime=0, errorCode=0, database='careerera', sql='BEGIN'}} [TRACE] Event{header=EventHeaderV4{timestamp=1621585779000, eventType=TABLE_MAP, serverId=11, headerLength=19, dataLength=313, nextPosition=20491, flags=0}, data=TableMapEventData{tableId=158, database='careerera', table='user', columnTypes=8, 15, 15, -2, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 15, -2, 15, 15, 15, 15, 15, 15, 15, 15, 15, -4, 3, -2, 15, 15, 17, -2, 3, 15, 3, 15, 15, -4, -2, 15, -2, -4, -2, 17, 10, -2, 17, 15, -2, 15, 10, 15, 15, 15, 15, 15, 15, -4, 15, 15, 15, 15, 15, -4, -4, 15, 15, -4, 15, -4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, -4, 15, -4, -4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, -2, 15, columnMetadata=0, 120, 255, 63233, 0, 512, 255, 250, 250, 200, 255, 200, 200, 500, 0, 40, 63233, 40, 20, 250, 250, 250, 250, 350, 250, 250, 2, 0, 63233, 100, 100, 0, 63233, 0, 200, 0, 50, 250, 2, 63233, 250, 63233, 2, 63233, 0, 0, 63233, 0, 100, 63233, 200, 0, 150, 200, 30, 120, 200, 350, 2, 350, 250, 250, 250, 250, 2, 2, 100, 200, 2, 200, 2, 100, 250, 250, 200, 500, 200, 200, 200, 255, 255, 255, 2, 20, 2, 2, 20, 250, 200, 200, 200, 250, 200, 250, 250, 250, 250, 0, 63233, 255, columnNullability={7, 8, 19, 20, 21, 22, 23, 24, 25, 31, 34, 44, 52, 55, 57, 58, 59, 60, 61, 62, 63, 72, 73, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96, 97, 99}}} [TRACE] careerera.user: Vector(ColInfo(user_id,bigint,Vector()), ColInfo(prefix,varchar,Vector()), ColInfo(user_registration_id,varchar,Vector()), ColInfo(user_privacy,enum,WrappedArray(0, 1, 2, 3)), ColInfo(registrationDate,date,Vector()), ColInfo(user_name,varchar,Vector()), ColInfo(user_email,varchar,Vector()), ColInfo(father_name,varchar,Vector()), ColInfo(mother_name,varchar,Vector()), ColInfo(user_altemail,varchar,Vector()), ColInfo(password,varchar,Vector()), ColInfo(password_value,varchar,Vector()), ColInfo(user_profile_photo,varchar,Vector()), ColInfo(user_activationlink,varchar,Vector()), ColInfo(user_permanentCountryId,int,Vector()), ColInfo(mobile,varchar,Vector()), ColInfo(sms_verified,enum,WrappedArray(No, Yes)), ColInfo(altmobile,varchar,Vector()), ColInfo(user_phone,varchar,Vector()), ColInfo(WhatsApp,varchar,Vector()), ColInfo(Facebook_link,varchar,Vector()), ColInfo(Skype,varchar,Vector()), ColInfo(twitter,varchar,Vector()), ColInfo(Instagram,varchar,Vector()), ColInfo(Other_1,varchar,Vector()), ColInfo(Other_2,varchar,Vector()), ColInfo(user_message,text,Vector()), ColInfo(user_phonecode,int,Vector()), ColInfo(user_referby,enum,WrappedArray(counselor, counsltant, trainer, student, other, ma)), ColInfo(referuser_code,varchar,Vector()), ColInfo(transfer_by,varchar,Vector()), ColInfo(transfer_date,timestamp,Vector()), ColInfo(work_start_by_agent,enum,WrappedArray(No, Yes)), ColInfo(user_type,int,Vector()), ColInfo(staff_type,varchar,Vector()), ColInfo(userpercent,int,Vector()), ColInfo(user_companyname,varchar,Vector()), ColInfo(user_url,varchar,Vector()), ColInfo(user_comment,text,Vector()), ColInfo(login_status,enum,WrappedArray(Offline, Online, Busy)), ColInfo(LinkedIn_profile,varchar,Vector()), ColInfo(account_status,enum,WrappedArray(Active, Inactive, Disabled)), ColInfo(notes,text,Vector()), ColInfo(DND_Activate,enum,WrappedArray(No, Yes)), ColInfo(user_last_login_time,timestamp,Vector()), ColInfo(last_notification_view_date,date,Vector()), ColInfo(veiw_hr_notification,enum,WrappedArray(Yes, No)), ColInfo(user_last_modified_date,timestamp,Vector()), ColInfo(IMEI,varchar,Vector()), ColInfo(login_device,enum,WrappedArray(web, AndroidApp)), ColInfo(next_call_reminder_date,varchar,Vector()), ColInfo(next_committed_dates,date,Vector()), ColInfo(next_committed_amount,varchar,Vector()), ColInfo(admission_interest,varchar,Vector()), ColInfo(user_profile_dob,varchar,Vector()), ColInfo(age,varchar,Vector()), ColInfo(resume_title,varchar,Vector()), ColInfo(about_me_title,varchar,Vector()), ColInfo(about_me_details,text,Vector()), ColInfo(video_link,varchar,Vector()), ColInfo(Quality1,varchar,Vector()), ColInfo(Quality2,varchar,Vector()), ColInfo(Quality3,varchar,Vector()), ColInfo(Quality4,varchar,Vector()), ColInfo(education,text,Vector()), ColInfo(languages_known,text,Vector()), ColInfo(total_exp_yrs,varchar,Vector()), ColInfo(current_employer,varchar,Vector()), ColInfo(previous_employers,text,Vector()), ColInfo(visa_status,varchar,Vector()), ColInfo(key_skills,text,Vector()), ColInfo(current_location,varchar,Vector()), ColInfo(Clinet_india_address,varchar,Vector()), ColInfo(City,varchar,Vector()), ColInfo(nationality,varchar,Vector()), ColInfo(work_authorization,varchar,Vector()), ColInfo(work_category,varchar,Vector()), ColInfo(work_roles,varchar,Vector()), ColInfo(work_industry,varchar,Vector()), ColInfo(saved_from_status,varchar,Vector()), ColInfo(source_from,varchar,Vector()), ColInfo(received_date,varchar,Vector()), ColInfo(address,text,Vector()), ColInfo(current_annual_salary,varchar,Vector()), ColInfo(followup_course,text,Vector()), ColInfo(resume,text,Vector()), ColInfo(unsubscribed,varchar,Vector()), ColInfo(crm_url,varchar,Vector()), ColInfo(smtpEmail,varchar,Vector()), ColInfo(smtpPassword,varchar,Vector()), ColInfo(EmailHOST,varchar,Vector()), ColInfo(Company_legal_name,varchar,Vector()), ColInfo(smtpPORT,varchar,Vector()), ColInfo(client_gst_no,varchar,Vector()), ColInfo(cin_no,varchar,Vector()), ColInfo(ip_address,varchar,Vector()), ColInfo(IP_Location,varchar,Vector()), ColInfo(registrationDateTime,datetime,Vector()), ColInfo(autofree,enum,WrappedArray(Yes, No)), ColInfo(registration_date,varchar,Vector())) [TRACE] Event{header=EventHeaderV4{timestamp=1621585779000, eventType=EXT_UPDATE_ROWS, serverId=11, headerLength=19, dataLength=1965, nextPosition=22475, flags=0}, data=UpdateRowsEventData{tableId=158, includedColumnsBeforeUpdate={0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99}, includedColumns={0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99}, rows=[ {before=[260, dasdssdsdssddddddd, CAR100000012, 2, 2020-07-14, Rakesh Yadav, Rakesh.w2c@gmail.com, null, null, , $2a$10$7PtcjEnWb/ZkgyXyxY1/Iei2dGgGQUbqIIll/dt.qJ8l8nQBWMbYO, 123456, Rakesh153.jpg, aea7112d8071dd43e155179f6d277138, 0, 9649633633, 1, , , Whatsapp, facebbbok, Skype, https://twitter.com/, Instagram, null, null, [B@567b7f5a, 91, 5, CAR100000004, CAR100000001, 2020-07-14 15:15:00.0, 1, 2, null, 0, , , [B@377f10d4, 1, Linkedin, 1, [B@6321a199, 1, 2021-05-06 12:31:43.0, 2020-09-02, 1, 2021-05-21 13:53:35.0, , 1, , 2021-01-21, $ 12, , 1984-03-31, 33, Senior PHP Developer, I'm In The Design Industry With 10 Years Of Experience, [B@572704ba, video link, Quality 1, Quality 2, Quality 3, Quality 4, [B@5a2b20ab, [B@151d728a, , , [B@7bde34d9, , [B@14b3fdcc, B-44 Noida, null, null, INDIA, , , , , , http://www.careerera.com/contact2.php, , [B@171eb989, , [B@696910c2, null, null, null, null, null, null, null, null, null, null, 1.22.79.55, null, Tue Jul 14 00:00:00 IST 2020, 2, null], after=[260, ra, CAR100000012, 2, 2020-07-14, Rakesh Yadav, Rakesh.w2c@gmail.com, null, null, , $2a$10$7PtcjEnWb/ZkgyXyxY1/Iei2dGgGQUbqIIll/dt.qJ8l8nQBWMbYO, 123456, Rakesh153.jpg, aea7112d8071dd43e155179f6d277138, 0, 9649633633, 1, , , Whatsapp, facebbbok, Skype, https://twitter.com/, Instagram, null, null, [B@4f0493f4, 91, 5, CAR100000004, CAR100000001, 2020-07-14 15:15:00.0, 1, 2, null, 0, , , [B@14ef1a2f, 1, Linkedin, 1, [B@6a6cec2b, 1, 2021-05-06 12:31:43.0, 2020-09-02, 1, 2021-05-21 13:59:39.0, , 1, , 2021-01-21, $ 12, , 1984-03-31, 33, Senior PHP Developer, I'm In The Design Industry With 10 Years Of Experience, [B@3766f50a, video link, Quality 1, Quality 2, Quality 3, Quality 4, [B@5c164b21, [B@30441cee, , , [B@3dc4a379, , [B@3d8adf6e, B-44 Noida, null, null, INDIA, , , , , , http://www.careerera.com/contact2.php, , [B@532bd4bd, , [B@4398015a, null, null, null, null, null, null, null, null, null, null, 1.22.79.55, null, Tue Jul 14 00:00:00 IST 2020, 2, null]} ]}} [TRACE] Event{header=EventHeaderV4{timestamp=1621585779000, eventType=XID, serverId=11, headerLength=19, dataLength=12, nextPosition=22506, flags=0}, data=XidEventData{xid=953}} [WARN] Could not replicate to MongoDB, event: Update(22475,TableInfo(TableMapEventData{tableId=158, database='careerera', table='user', columnTypes=8, 15, 15, -2, 10, 15, 15, 15, 15, 15, 15, 15, 15, 15, 3, 15, -2, 15, 15, 15, 15, 15, 15, 15, 15, 15, -4, 3, -2, 15, 15, 17, -2, 3, 15, 3, 15, 15, -4, -2, 15, -2, -4, -2, 17, 10, -2, 17, 15, -2, 15, 10, 15, 15, 15, 15, 15, 15, -4, 15, 15, 15, 15, 15, -4, -4, 15, 15, -4, 15, -4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, -4, 15, -4, -4, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 18, -2, 15, columnMetadata=0, 120, 255, 63233, 0, 512, 255, 250, 250, 200, 255, 200, 200, 500, 0, 40, 63233, 40, 20, 250, 250, 250, 250, 350, 250, 250, 2, 0, 63233, 100, 100, 0, 63233, 0, 200, 0, 50, 250, 2, 63233, 250, 63233, 2, 63233, 0, 0, 63233, 0, 100, 63233, 200, 0, 150, 200, 30, 120, 200, 350, 2, 350, 250, 250, 250, 250, 2, 2, 100, 200, 2, 200, 2, 100, 250, 250, 200, 500, 200, 200, 200, 255, 255, 255, 2, 20, 2, 2, 20, 250, 200, 200, 200, 250, 200, 250, 250, 250, 250, 0, 63233, 255, columnNullability={7, 8, 19, 20, 21, 22, 23, 24, 25, 31, 34, 44, 52, 55, 57, 58, 59, 60, 61, 62, 63, 72, 73, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 96, 97, 99}},Vector(ColInfo(user_id,bigint,Vector()), ColInfo(prefix,varchar,Vector()), ColInfo(user_registration_id,varchar,Vector()), ColInfo(user_privacy,enum,WrappedArray(0, 1, 2, 3)), ColInfo(registrationDate,date,Vector()), ColInfo(user_name,varchar,Vector()), ColInfo(user_email,varchar,Vector()), ColInfo(father_name,varchar,Vector()), ColInfo(mother_name,varchar,Vector()), ColInfo(user_altemail,varchar,Vector()), ColInfo(password,varchar,Vector()), ColInfo(password_value,varchar,Vector()), ColInfo(user_profile_photo,varchar,Vector()), ColInfo(user_activationlink,varchar,Vector()), ColInfo(user_permanentCountryId,int,Vector()), ColInfo(mobile,varchar,Vector()), ColInfo(sms_verified,enum,WrappedArray(No, Yes)), ColInfo(altmobile,varchar,Vector()), ColInfo(user_phone,varchar,Vector()), ColInfo(WhatsApp,varchar,Vector()), ColInfo(Facebook_link,varchar,Vector()), ColInfo(Skype,varchar,Vector()), ColInfo(twitter,varchar,Vector()), ColInfo(Instagram,varchar,Vector()), ColInfo(Other_1,varchar,Vector()), ColInfo(Other_2,varchar,Vector()), ColInfo(user_message,text,Vector()), ColInfo(user_phonecode,int,Vector()), ColInfo(user_referby,enum,WrappedArray(counselor, counsltant, trainer, student, other, ma)), ColInfo(referuser_code,varchar,Vector()), ColInfo(transfer_by,varchar,Vector()), ColInfo(transfer_date,timestamp,Vector()), ColInfo(work_start_by_agent,enum,WrappedArray(No, Yes)), ColInfo(user_type,int,Vector()), ColInfo(staff_type,varchar,Vector()), ColInfo(userpercent,int,Vector()), ColInfo(user_companyname,varchar,Vector()), ColInfo(user_url,varchar,Vector()), ColInfo(user_comment,text,Vector()), ColInfo(login_status,enum,WrappedArray(Offline, Online, Busy)), ColInfo(LinkedIn_profile,varchar,Vector()), ColInfo(account_status,enum,WrappedArray(Active, Inactive, Disabled)), ColInfo(notes,text,Vector()), ColInfo(DND_Activate,enum,WrappedArray(No, Yes)), ColInfo(user_last_login_time,timestamp,Vector()), ColInfo(last_notification_view_date,date,Vector()), ColInfo(veiw_hr_notification,enum,WrappedArray(Yes, No)), ColInfo(user_last_modified_date,timestamp,Vector()), ColInfo(IMEI,varchar,Vector()), ColInfo(login_device,enum,WrappedArray(web, AndroidApp)), ColInfo(next_call_reminder_date,varchar,Vector()), ColInfo(next_committed_dates,date,Vector()), ColInfo(next_committed_amount,varchar,Vector()), ColInfo(admission_interest,varchar,Vector()), ColInfo(user_profile_dob,varchar,Vector()), ColInfo(age,varchar,Vector()), ColInfo(resume_title,varchar,Vector()), ColInfo(about_me_title,varchar,Vector()), ColInfo(about_me_details,text,Vector()), ColInfo(video_link,varchar,Vector()), ColInfo(Quality1,varchar,Vector()), ColInfo(Quality2,varchar,Vector()), ColInfo(Quality3,varchar,Vector()), ColInfo(Quality4,varchar,Vector()), ColInfo(education,text,Vector()), ColInfo(languages_known,text,Vector()), ColInfo(total_exp_yrs,varchar,Vector()), ColInfo(current_employer,varchar,Vector()), ColInfo(previous_employers,text,Vector()), ColInfo(visa_status,varchar,Vector()), ColInfo(key_skills,text,Vector()), ColInfo(current_location,varchar,Vector()), ColInfo(Clinet_india_address,varchar,Vector()), ColInfo(City,varchar,Vector()), ColInfo(nationality,varchar,Vector()), ColInfo(work_authorization,varchar,Vector()), ColInfo(work_category,varchar,Vector()), ColInfo(work_roles,varchar,Vector()), ColInfo(work_industry,varchar,Vector()), ColInfo(saved_from_status,varchar,Vector()), ColInfo(source_from,varchar,Vector()), ColInfo(received_date,varchar,Vector()), ColInfo(address,text,Vector()), ColInfo(current_annual_salary,varchar,Vector()), ColInfo(followup_course,text,Vector()), ColInfo(resume,text,Vector()), ColInfo(unsubscribed,varchar,Vector()), ColInfo(crm_url,varchar,Vector()), ColInfo(smtpEmail,varchar,Vector()), ColInfo(smtpPassword,varchar,Vector()), ColInfo(EmailHOST,varchar,Vector()), ColInfo(Company_legal_name,varchar,Vector()), ColInfo(smtpPORT,varchar,Vector()), ColInfo(client_gst_no,varchar,Vector()), ColInfo(cin_no,varchar,Vector()), ColInfo(ip_address,varchar,Vector()), ColInfo(IP_Location,varchar,Vector()), ColInfo(registrationDateTime,datetime,Vector()), ColInfo(autofree,enum,WrappedArray(Yes, No)), ColInfo(registration_date,varchar,Vector()))),UpdateRowsEventData{tableId=158, includedColumnsBeforeUpdate={0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99}, includedColumns={0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99}, rows=[ {before=[260, dasdssdsdssddddddd, CAR100000012, 2, 2020-07-14, Rakesh Yadav, Rakesh.w2c@gmail.com, null, null, , $2a$10$7PtcjEnWb/ZkgyXyxY1/Iei2dGgGQUbqIIll/dt.qJ8l8nQBWMbYO, 123456, Rakesh153.jpg, aea7112d8071dd43e155179f6d277138, 0, 9649633633, 1, , , Whatsapp, facebbbok, Skype, https://twitter.com/, Instagram, null, null, [B@567b7f5a, 91, 5, CAR100000004, CAR100000001, 2020-07-14 15:15:00.0, 1, 2, null, 0, , , [B@377f10d4, 1, Linkedin, 1, [B@6321a199, 1, 2021-05-06 12:31:43.0, 2020-09-02, 1, 2021-05-21 13:53:35.0, , 1, , 2021-01-21, $ 12, , 1984-03-31, 33, Senior PHP Developer, I'm In The Design Industry With 10 Years Of Experience, [B@572704ba, video link, Quality 1, Quality 2, Quality 3, Quality 4, [B@5a2b20ab, [B@151d728a, , , [B@7bde34d9, , [B@14b3fdcc, B-44 Noida, null, null, INDIA, , , , , , http://www.careerera.com/contact2.php, , [B@171eb989, , [B@696910c2, null, null, null, null, null, null, null, null, null, null, 1.22.79.55, null, Tue Jul 14 00:00:00 IST 2020, 2, null], after=[260, ra, CAR100000012, 2, 2020-07-14, Rakesh Yadav, Rakesh.w2c@gmail.com, null, null, , $2a$10$7PtcjEnWb/ZkgyXyxY1/Iei2dGgGQUbqIIll/dt.qJ8l8nQBWMbYO, 123456, Rakesh153.jpg, aea7112d8071dd43e155179f6d277138, 0, 9649633633, 1, , , Whatsapp, facebbbok, Skype, https://twitter.com/, Instagram, null, null, [B@4f0493f4, 91, 5, CAR100000004, CAR100000001, 2020-07-14 15:15:00.0, 1, 2, null, 0, , , [B@14ef1a2f, 1, Linkedin, 1, [B@6a6cec2b, 1, 2021-05-06 12:31:43.0, 2020-09-02, 1, 2021-05-21 13:59:39.0, , 1, , 2021-01-21, $ 12, , 1984-03-31, 33, Senior PHP Developer, I'm In The Design Industry With 10 Years Of Experience, [B@3766f50a, video link, Quality 1, Quality 2, Quality 3, Quality 4, [B@5c164b21, [B@30441cee, , , [B@3dc4a379, , [B@3d8adf6e, B-44 Noida, null, null, INDIA, , , , , , http://www.careerera.com/contact2.php, , [B@532bd4bd, , [B@4398015a, null, null, null, null, null, null, null, null, null, null, 1.22.79.55, null, Tue Jul 14 00:00:00 IST 2020, 2, null]} ]}) java.lang.NullPointerException: null at java.base/java.lang.String.(String.java:537) ~[na:na] at mydit.MongoDBApplier.mydit$MongoDBApplier$$mySQLValueToMongoDBValue(MongoDBApplier.scala:123) ~[mydit_2.11-1.6.jar:1.6] at mydit.MongoDBApplier$$anonfun$mydit$MongoDBApplier$$mySQLRowToMongoDBObject$1.apply(MongoDBApplier.scala:100) ~[mydit_2.11-1.6.jar:1.6] at mydit.MongoDBApplier$$anonfun$mydit$MongoDBApplier$$mySQLRowToMongoDBObject$1.apply(MongoDBApplier.scala:97) ~[mydit_2.11-1.6.jar:1.6] at scala.collection.immutable.Range.foreach(Range.scala:166) ~[scala-library-2.11.6.jar:na] at mydit.MongoDBApplier.mydit$MongoDBApplier$$mySQLRowToMongoDBObject(MongoDBApplier.scala:97) ~[mydit_2.11-1.6.jar:1.6] at mydit.MongoDBApplier$$anonfun$update$1.apply(MongoDBApplier.scala:76) ~[mydit_2.11-1.6.jar:1.6] at mydit.MongoDBApplier$$anonfun$update$1.apply(MongoDBApplier.scala:75) ~[mydit_2.11-1.6.jar:1.6] at scala.collection.Iterator$class.foreach(Iterator.scala:750) ~[scala-library-2.11.6.jar:na] at scala.collection.AbstractIterator.foreach(Iterator.scala:1202) ~[scala-library-2.11.6.jar:na] at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) ~[scala-library-2.11.6.jar:na] at scala.collection.AbstractIterable.foreach(Iterable.scala:54) ~[scala-library-2.11.6.jar:na] at mydit.MongoDBApplier.update(MongoDBApplier.scala:75) ~[mydit_2.11-1.6.jar:1.6] at mydit.Rep.replicate(Rep.scala:84) ~[mydit_2.11-1.6.jar:1.6] at mydit.Rep.mydit$Rep$$processEvent(Rep.scala:50) ~[mydit_2.11-1.6.jar:1.6] at mydit.Rep$$anon$1.run(Rep.scala:33) ~[mydit_2.11-1.6.jar:1.6] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] [INFO] Failed replication event queue size: 1

ngocdaothanh commented 3 years ago

From your log, I think there's problem at line 123 of MongoDBApplier.scala: https://github.com/ngocdaothanh/mydit/blob/master/src/main/scala/mydit/MongoDBApplier.scala#L123

Probably value is null in this case.

Can you please try modifying the source code to handle this case, and rerun your test to see if the problem is fixed?