Trimble Business Center

 View Only

 TBC crashes when toggling on the background map

Jump to  Best Answer
Wayne Welshans's profile image
Wayne Welshans posted 06-10-2024 07:47

I have one project file that crashes TBC when I try to toggle on the background map.  The same project crashes TBC on different computers and in different versions of TBC (2024.00, 2023.10, and 5.91).  No other TBC projects cause this crash.  The popup has the following text:

Exception Count:       1
Exception Source:      Trimble.Sdk.Alignment
Exception Type:        System.NotImplementedException
Exception Message:     The method or operation is not implemented.
Exception Target Site: GetLimits

---- Stack Trace ----
    Trimble.Vce.Alignment.Raptor.RaptorSurface.GetLimits(Point3D& pointMin, Point3D& pointMax)
    Trimble.Sdk.Alignment.DLL : N 00040
    Trimble.Vce.UI.BaseCommands.Utility.ex(ICollectionOfEntities a, Limits3D& b)
    Trimble.Vce.UI.BaseCommands.DLL : N 00862
    Trimble.Vce.UI.BaseCommands.Utility.ex(ICollectionOfEntities a, Limits3D& b)
    Trimble.Vce.UI.BaseCommands.DLL : N 01937
    Trimble.Vce.UI.BaseCommands.Utility.GetProjectLocation(ICollectionOfEntities collection)
    Trimble.Vce.UI.BaseCommands.DLL : N 00232
    Trimble.Vce.Services.TrimbleMaps.TrimbleMapsService.ValidateProjectLocationWithCSD(Project project)
    Trimble.Vce.Services.WeoGeo.DLL : N 00972
    Trimble.Vce.UI.BaseCommands.ExternalServices.ToggleBackgroundMapCmd.ValidateTrimbleMap(Project proj, String caption)
    Trimble.Vce.UI.BaseCommands.DLL : N 00046
    Trimble.Vce.UI.BaseCommands.ExternalServices.ToggleBackgroundMapCmd.jso(Project a)
    Trimble.Vce.UI.BaseCommands.DLL : N 00050
    Trimble.Vce.UI.BaseCommands.ExternalServices.ToggleBackgroundMapCmd.Execute(Object[] Parameters)
    Trimble.Vce.UI.BaseCommands.DLL : N 01203
    Trimble.Vce.UI.UIManager.CommandAdapter.Execute(Object parameter)
    Trimble.Vce.UI.UIManager.DLL : N 00823
    Trimble.Sdk.UI.UiCommandProcessor.c(String a, Boolean b, Boolean c, Object[] d)
    Trimble.Sdk.UI.DLL : N 02009

I don't really know what any of that means, but since it is saying the exception came from something having to do with Alignments, I tried deleting all corridors and alignments out of the project to see if there was something corrupted with one of the alignments, but that didn't eliminate the issue.  Also, it throws the exception whether I am trying to use street, satellite, or terrain map.

Anyone have any guesses what is going on?

Ronny Schneider's profile image
Ronny Schneider  Best Answer

It looks as if the error is related to a surface "Trimble.Vce.Alignment.Raptor.RaptorSurface.GetLimits(Point3D& pointMin, Point3D& pointMax)"

I'm unsure what kind of object that is. Never seen one of those. The Object Browser in Visual Studio shows properties like 'MachineSpeed" and so on. Might be something you imported/linked from WorksOS?

Wayne Welshans's profile image
Wayne Welshans

Ronny,  you were absolutely right about it being related to WorksOS.  Awhile ago I had been playing around with the "Create Machine Data Overlay" feature.  The resultant item created shows up in the project explorer as an "External Service."  Then the machines that the overlays were based on got removed from the worksmanager/worksOS account and that must be what was causing the exception.  I deleted all the machine data overlays from my TBC project and the background map immediately started working again.  

Thank you very much for your input on this!