Build error: Object reference not set to an instance of an object.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

hi,

while compiling any source code i get following error

prj.M0120 Build error: Object reference not set to an instance of an object.

event i tried previously compiled source code and example of cy8ckit044 it gives same error.

regards,

santosh pawar

0 Likes
1 Solution
Anonymous
Not applicable

Hi,Thanks for reply

After removing data from appdata folder and reinstalling it works fine.

Regards,Santosh pawar

View solution in original post

0 Likes
3 Replies
Yeshwanth_KT
Employee
Employee
50 replies posted 25 replies posted 10 likes received

Hello Santosh,

I built the code you have attached and i didn't get any errors. Can you please send the screenshot/log of the error you got.

Thanks,

Yeshwanth

0 Likes
Anonymous
Not applicable

Hi,Thanks for reply

After removing data from appdata folder and reinstalling it works fine.

Regards,Santosh pawar

0 Likes
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello Santhosh,

Please go to Tools > Find new devices and check if you have any updates. Once updated try to build again and let me know if it works.

Regards,

Dheeraj

0 Likes