Object reference not set to an instance of object?
Experienced the error "Object reference not set to an instance of object" when trying to load a station I had saved earlier in the day. Can no longer open file. Any ideas?
Pop up window reads: "An unhandled excepetion has occured, program is now in an undefined state..."
Log file:
====== RobotStudio Log File ======
Command Line : "C:\Program Files (x86)\ABB Industrial IT\Robotics IT\RobotStudio 5.14\Bin\RobotStudio.exe"
App Version : 5.14.4771.3070
API Version : 5.14.4771.3070
OS Version : Microsoft Windows NT 6.1.7601 Service Pack 1
CLR Version : 4.0.30319.296
CPU Count : 4
Physical Memory: 8148 MB
====== Error Log Begin ======
14:24:11.258 (1): Thread STARTS (MainThread)
14:24:12.007 (1): FeatureLevel: Full
14:35:30.750 (1): Executing Command FileOpenStation
14:35:30.797 (10): Thread STARTS (CLgRobServerCommandQueueThread)
14:35:31.670 (1): Renderer: Direct3D
14:35:31.889 (1): Executing Command FileOpenStation
*** Error Message ***
14:36:24.494 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1261 MB, peak 1261 MB
Private bytes: current 1258 MB
Available : virtual 2293 MB, physical 4397 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.494 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1261 MB, peak 1261 MB
Private bytes: current 1258 MB
Available : virtual 2293 MB, physical 4396 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.494 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1261 MB, peak 1261 MB
Private bytes: current 1259 MB
Available : virtual 2293 MB, physical 4396 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.494 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1261 MB, peak 1261 MB
Private bytes: current 1259 MB
Available : virtual 2293 MB, physical 4396 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.494 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1261 MB, peak 1261 MB
Private bytes: current 1259 MB
Available : virtual 2293 MB, physical 4396 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.510 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1262 MB, peak 1262 MB
Private bytes: current 1260 MB
Available : virtual 2293 MB, physical 4395 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.510 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1262 MB, peak 1262 MB
Private bytes: current 1260 MB
Available : virtual 2293 MB, physical 4395 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:24.526 (1): PimDocument.ReadObjectData(): CmList contains null elem - (RoutineArgumentList) - Wash_Dry.RoutineArguments
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1262 MB, peak 1262 MB
Private bytes: current 1260 MB
Available : virtual 2293 MB, physical 4395 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
14:36:24.822 (1): Executed Command FileOpenStation
*** Error Message ***
14:36:24.838 (1): 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.OpenStationCommandHandler.OpenStationCommandHandler_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)
at ABB.Robotics.RobotStudio.Environment.CommandBarButton.RaiseExecuteCommand(ExecuteCommandReason reason)
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1279 MB, peak 1279 MB
Private bytes: current 1275 MB
Available : virtual 2269 MB, physical 4384 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
14:36:24.838 (1): Executed Command FileOpenStation
*** Error Message ***
14:36:25.103 (1): 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.RsInstruction.get_InstructionArguments()
at RobotStudio.API.Internal.PathInformationHelper.GetArgumentReferenced(RsTask task, RsInstructionDescription instrDecl, RsInstruction instr, String datatype)
at RobotStudio.API.Internal.PathInformationHelper.GetWObjArgument(RsTask task, RsMoveInstruction moveInstr)
at RobotStudio.API.Internal.PathInformationHelper.GetGeometricDeclarations(RsTask task, String pathModule, RsMoveInstruction moveInstr, RsDataDeclaration& viaPoint, RsDataDeclaration& cirPoint, RsRobTarget& toPoint, RsWorkObject& wobj, RsJointTarget& toJointPos)
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1288 MB, peak 1289 MB
Private bytes: current 1285 MB
Available : virtual 2252 MB, physical 4371 MB
Memory load : 46%
====== Error Log End ======
====== Error Log Begin ======
*** Error Message ***
14:36:25.118 (1): 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 RobotStudio.Services.Graphics.GfxShapeUpdater.CreatePathShape(IGfxObject obj, Int32 oldShape)
at RobotStudio.Services.Graphics.GfxShapeUpdater.UpdateShapes(IEnumerable`1 freeCaches, IEnumerable`1 deleteShapes, IEnumerable`1 updateShapes)
at RobotStudio.Services.Graphics.GfxService.UpdateShapes(IEnumerable`1 freeCaches, IEnumerable`1 deleteShapes, IEnumerable`1 updateShapes)
at RobotStudio.API.Internal.GfxUpdater.UpdateShapes()
at RobotStudio.API.Internal.GfxUpdater.UpdateAll(Boolean forceRefresh)
at RobotStudio.API.Internal.GfxUpdater.Application_Idle(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at ABBInternal.StudioAppFramework.StudioAppFrameworkHost.Run()
at RobotStudio.Program.Main(String[] args)
*** Active States ***
*** Active Threads ***
1: MainThread
10: CLgRobServerCommandQueueThread
*** Memory Information ***
Working set : current 1289 MB, peak 1289 MB
Private bytes: current 1285 MB
Available : virtual 2252 MB, physical 4371 MB
Memory load : 46%
====== Error Log End ======
Comments
-
Hi,
I see the same message when set the station in a memorized condition in the simulation manager.
Do you know how to fix this problem?
Thanks for the help.0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings