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, Nullable1 requiredGuid)**_ _**at RobotStudio.API.Persistence.PimDocument.InternalLoad(String fileName, String docType, Boolean readOnly, Nullable1 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?