Unhandled Exception has occured in a component in your drawing..... eWasErased

Unhandled Exception has occured in a component in your drawing..... eWasErased

Anonymous
Not applicable
896 Views
1 Reply
Message 1 of 2

Unhandled Exception has occured in a component in your drawing..... eWasErased

Anonymous
Not applicable

Not sure what this all means but my Document keeps crashing and the layers are all appearing as 0 Layer in the layers panel

 

dont know what to do or how this happened and need help

 

and here is all the code to the popup warning

 

Application does not support just-in-time (JIT)
debugging. See the end of this message for details.

************** Exception Text **************
Autodesk.AutoCAD.Runtime.Exception: eWasErased
at Autodesk.AutoCAD.DatabaseServices.ObjectId.OpenWorker(OpenMode mode, Boolean openErased, Boolean forceOpenOnLockedLayer)
at Autodesk.AutoCAD.DatabaseServices.ObjectId.Open(OpenMode mode)
at Autodesk.AutoCAD.LayerManager.LinetypeCache.MapObjectIdToName(ObjectId id)
at Autodesk.AutoCAD.LayerManager.LayerRecordImmediate.SynchCachedProperties(ICustomTypeDescriptor ltr)
at Autodesk.AutoCAD.LayerManager.LayerRecordImmediate..ctor(IDataItem ltr, LayerViewManager mgr)
at Autodesk.AutoCAD.LayerManager.LayerViewManager.ReloadLayers()
at Autodesk.AutoCAD.LayerManager.LayerManagerControl.LoadConfiguration(Boolean bCheckExcessFilters)
at Autodesk.AutoCAD.LayerManager.LayerManagerControl.InitializeLayerManager(Boolean bCheckExcessFilters)
at Autodesk.AutoCAD.LayerManager.PaletteHost..ctor()
at Autodesk.AutoCAD.LayerManager.PaletteHost.ShowModeless(Boolean bShow)
at Autodesk.AutoCAD.LayerManager.PaletteHost.RunESW(LayerFilter filter)
at Autodesk.AutoCAD.LayerManager.Commands.LayerESW()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Acdbmgd
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcdbMgd.DLL
----------------------------------------
adui23
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/adui23.DLL
----------------------------------------
AdUiPalettes
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AdUiPalettes.DLL
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AdApplicationFrame
Assembly Version: 0.0.0.0
Win32 Version: 2017.11.2.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AdApplicationFrame.DLL
----------------------------------------
AdWindows
Assembly Version: 2017.11.2.0
Win32 Version: 2017.11.2.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AdWindows.DLL
----------------------------------------
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
PresentationFramework.Aero2
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
accoremgd
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/accoremgd.DLL
----------------------------------------
Acmgd
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/Acmgd.DLL
----------------------------------------
AcWindows
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcWindows.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcWindows.resources.DLL
----------------------------------------
AcCui
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcCui.DLL
----------------------------------------
PresentationFramework-SystemXml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
PresentationUI
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationUI/v4.0_4.0.0.0__31bf3856ad364e35/PresentationUI.dll
----------------------------------------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
PresentationFramework-SystemXmlLinq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll
----------------------------------------
AdUIMgd
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AdUIMgd.DLL
----------------------------------------
FeaturedAppsPlugin
Assembly Version: 23.0.0.0
Win32 Version: 23.0.39.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Autodesk/ApplicationPlugins/Autodesk%20FeaturedApps.bundle/Contents/Windows/2019/Win64/FeaturedAppsPlugin.dll
----------------------------------------
AcCustomize
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcCustomize.DLL
----------------------------------------
AcCustomize.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcCustomize.resources.DLL
----------------------------------------
AcrobatAcadICRibbon
Assembly Version: 15.0.0.0
Win32 Version: 15.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Adobe/Acrobat%20DC/PDFMaker/AutoCAD/2019/64/AcrobatAcadICRibbon.dll
----------------------------------------
PDFMAcadRibbon
Assembly Version: 15.0.0.0
Win32 Version: 15.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Adobe/Acrobat%20DC/PDFMaker/AutoCAD/2019/64/PDFMAcadRibbon.dll
----------------------------------------
PresentationFramework-SystemCore
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
ContextualTabSelectorRules
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcWindows.dll
----------------------------------------
Microsoft.Expression.Interactions
Assembly Version: 4.5.0.0
Win32 Version: 3.0.40218.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/Microsoft.Expression.Interactions.DLL
----------------------------------------
ManagedMC3
Assembly Version: 10.0.0.0
Win32 Version: 10.0.2.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/ManagedMC3.DLL
----------------------------------------
Interop.AdobePDFMakerX
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Adobe/Acrobat%20DC/PDFMaker/AutoCAD/2019/64/Interop.AdobePDFMakerX.DLL
----------------------------------------
AcAeNet.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcAeNet.resources.DLL
----------------------------------------
AcCloudRender.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcCloudRender.resources.DLL
----------------------------------------
AcDxWizard.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcDxWizard.resources.DLL
----------------------------------------
AcExportLayoutUI.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcExportLayoutUI.resources.DLL
----------------------------------------
AcInterfere.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcInterfere.resources.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcLayer.resources.DLL
----------------------------------------
AcLayerTools.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcLayerTools.resources.DLL
----------------------------------------
AcMrUi.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcMrUi.resources.DLL
----------------------------------------
AcMultiLineUi.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcMultiLineUi.resources.DLL
----------------------------------------
AcRecoverAll.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcRecoverAll.resources.DLL
----------------------------------------
AcScaleList.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcScaleList.resources.DLL
----------------------------------------
AcSeamless.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcSeamless.resources.DLL
----------------------------------------
AcUnderlay.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcUnderlay.resources.DLL
----------------------------------------
AcViewTransitionsUi.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcViewTransitionsUi.resources.DLL
----------------------------------------
AdskConnectionPointMgd.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AdskConnectionPointMgd.resources.DLL
----------------------------------------
AcCalcUi.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcCalcUi.resources.DLL
----------------------------------------
AcXrefUtil
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcXrefUtil.DLL
----------------------------------------
AcTaskDialogs
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcTaskDialogs.DLL
----------------------------------------
AcTaskDialogs.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcTaskDialogs.resources.DLL
----------------------------------------
ClicJsInfoCenter
Assembly Version: 0.0.0.0
Win32 Version: 7.1.4.0
CodeBase: file:///C:/Program%20Files/Common%20Files/Autodesk%20Shared/CLM/V7/MSVC14/ClicJsInfoCenter.dll
----------------------------------------
AcDialogToolTips
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcDialogToolTips.DLL
----------------------------------------
AcDialogToolTips.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/en-US/AcDialogToolTips.resources.DLL
----------------------------------------
UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3429.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
AcLivePreviewContext
Assembly Version: 0.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcWindows.dll
----------------------------------------
AcLayer
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcLayer.DLL
----------------------------------------
PresentationFramework.Luna
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Luna/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
----------------------------------------
AcMrUi
Assembly Version: 23.0.0.0
Win32 Version: 23.0.46.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202019/AcMrUI.DLL
----------------------------------------
FeaturedAppsPlugin.resources
Assembly Version: 0.0.0.0
Win32 Version: 23.0.39.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Autodesk/ApplicationPlugins/Autodesk%20FeaturedApps.bundle/Contents/Windows/2019/Win64/en-US/FeaturedAppsPlugin.resources.DLL
----------------------------------------

************** JIT Debugging **************
Application does not support Windows Forms just-in-time (JIT)
debugging. Contact the application author for more
information.

 

0 Likes
897 Views
1 Reply
Reply (1)
Message 2 of 2

natasha.l
Alumni
Alumni

Hello @Anonymous, 

 

It seems your file is corrupted, you can conduct the steps outlined in this article to try clean up your file. 

 

ADUIT - Evaluates the integrity of a drawing and corrects some errors.

PURGE - Removes unused items, such as block definitions and layers, from the drawing.

 

Please "Accept Solution" if a reply or replies have helped resolve the issue or answered your question, to help others in the community.

 

0 Likes