RobotStudio event

Unknown error

I have been working on a station in RS 5.14.03 all week with no problems - and had almost finished my work.  I closed down RS, then when I opened it again later and tried to open my file I got an unknown error.  The info on this error was :
 

RobotStudio .NET exception: Object reference not set to an instance of an object.
============================================
Base exception: NullReferenceException
Object reference not set to an instance of an object.
   at ABB.Robotics.RobotStudio.Stations.RsPathProcedure.get_ModuleName()
   at ABB.Robotics.RobotStudio.Stations.RsTask.GetDeclarationUrl(IDeclaration declaration)
   at ABB.Robotics.RobotStudio.Stations.RsTask.AddToDeclarationsCache(IDeclaration declaration)
   at ABB.Robotics.RobotStudio.Stations.RsTask.AfterLoad(PimDocument doc)
   at RobotStudio.API.Persistence.PimDocument.LoadXml(Stream xmlStream, String expectedDocType, Int64 pimStreamSize, Nullable`1 requiredGuid)
   at RobotStudio.API.Persistence.PimDocument.InternalLoad(String fileName, String docType, Boolean readOnly, Nullable`1 requiredGuid)
   at RobotStudio.API.Persistence.PimDocument.Load(String fileName, String docType, Boolean readOnly, Boolean allowExisting, Nullable`1 requiredGuid, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
   at ABB.Robotics.RobotStudio.Stations.Station.Load(String fileName, Boolean asReadOnly, ProgressNotification progressDelegate, FileNotFoundNotification fileNotFoundDelegate, Boolean loadGeometry)
   at ABBInternal.FileCommands.FileCommandServices.OpenStation(String fileName, Boolean loadGeometry)
   at ABBInternal.FileCommands.RecentStationsCommandHandler.LoadRecentStation(String fileName)
   at RobotStudio.Backstage.BackstageRecent.btn_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)
   at ABB.Robotics.RobotStudio.Environment.CommandBarButton.RaiseExecuteCommand(ExecuteCommandReason reason)

Does this mean anything to anyone? 

I was able to open the station up in RS 5.15 but it told me some of my move instructions were corrupt - these had been removed from the associated paths but the targets still exist.  Any ideas? 

Comments

  • Hi Tom,

    Unfortunately, something has happened to the move instructions that caused the error to appear. RobotStudio 5.15 was able to identify and remove the related move instructions. You should be able to open the station in 5.14.03 again, after re-saving it with 5.15. The removed move instructions need to be manually re-created though. If you want to re-save the station from 5.15 with a new name, you need to ensure that the criteria for forwards compatibility as specified in the release notes are met to enable the station to be opened in 5.14.03, see section "2.12 Station compatibility between 5.14 and 5.15"
    http://search.abb.com/library/Download.aspx?DocumentID=RN_RS_515&LanguageCode=en&DocumentPartId=&Action=Launch

    Can you pinpoint what operations you did prior to saving the station?




    Henrik Berlin
    ABB
  • Hi Henrik
     

    Thanks for your help.  I will try saving in 5.15 and then re opening in 5.14 - I have been having a few problems with 5.15 anyway! 

     

    I can't remember exactly what I had been doing before closing the station - apart from coverting move instructions into welds in the arc welding power pac.  I think I had made a mistake and closed the station without saving the changes - but I had been working on different paths to the ones which it later told me were corrupt. 
  • I would be interested in hearing more about the problems you experience with 5.15. Please let us know.

    Henrik Berlin
    ABB