Publishing error - Unexpected error has occurred during the library compilation process: Object reference not set to an instance of an object

Hi all, i require some help with moving my robot from dev to prod. specifically, I am getting this error when i attempt to publish.

Unexpected error has occurred during the library compilation process:
Object reference not set to an instance of an object.

I am working on windows version and surprisingly, i tried creating 2 new reframework projects both unmodified, one in windows legacy version and one in windows version and the windows version keeps giving me the same object reference not set to an instance of an object error but the legacy version can be published.

Hi @justinkxc

  1. Please try to analyze the project and check what errors you are getting
  2. After analyze check the project panel…expand each folder and see if there is a red exclamation mark any where
  3. Can you please show a screenshot of exact error

Hi @Baskar_Gurumoorthy i found the issue i was using a non-updated version of studio and had to clean up some unused Python Refs. After cleanup and reinstallation everything works thanks :slight_smile:

Hi @justinkxc

anything further required. is that everything okay, please mark this as solution.

happy automation!!! cheers.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.