- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC Creator will open, but my project that I am working on will no longer open.
"Unhandled exception has occurred in a component in your application. Object reference not set at an instance of an object."
I have tried restarting PSoC, the PC itself, and moving the project file path directly to the desktop with no improvement.
The full error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtComponentMgr.AreCustomizersAllowed()
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtProjectPSoCExe.AreCustomizersAllowed()
at CyDesigner.Common.Db.CyS3Db.CyInst.GetCustomizerProviderImpl(CyCompName compName, CyInstBindContext ctx, String schName)
at CyDesigner.Common.Db.CyS3Db.CyInst.GetCustomizerProvider(CyCompName compName, CyInstBindContext ctx, CyInstCustomizerProvider& custProvider)
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetIsDesignWideComponent(CyPrjMgmtProjectPSoCExe proj, CyComponentMaster master, CyCompName compName, CyElabInstBindContext context, Boolean checkLatesetIfDoesNotExist)
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetSelectedSupportedComponentsBySource()
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetSelectedSupportedComponents()
at CyDesigner.Common.ProjMgmt.DWR.CyDWRMgr.<get_DwInsts>d__a.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at CyDesigner.Gde.ComponentUpdateTool.CyCutDocument..ctor(CyPrjMgmtProjectPSoCExe owningPrj)
at CyDesigner.Gde.ComponentUpdateTool.CyCutInputData..ctor(CyDesignerFramework fwk, IEnumerable`1 mgrs)
at CyDesigner.Gde.Common.CyGdePlugin.UpdateCutStatusBarIcon(Boolean writeOutputMsg)
at CyDesigner.Gde.Common.CyGdePlugin.mgr_CurrentWorkspaceChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at CyDesigner.Common.Base.CyBasic.RaiseEvent(EventHandler eventToRaise, Object sender, EventArgs eventArgs)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OnCurrentWorkspaceChanged(EventArgs e)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.set_CurrentWrkspc(CyPrjMgmtWrkspc value)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OpenWorkspace(CyPrjMgmtWrkspc workspace)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.CheckandOpenWorkspace(String item)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OpenItem(String item)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.RecentProjectHandler(Object sender, CyCommandClickedEventArgs e)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.Execute(EventHandler`1 handler, Object sender, CyCommandClickedEventArgs e)
at CyDesigner.Framework.CyDesignerFramework.CommandClicked(Object sender, BarCommandLinkEventArgs e)
at ActiproSoftware.UIStudio.Bar.BarCommandLinkEventHandler.Invoke(Object sender, BarCommandLinkEventArgs e)
at ActiproSoftware.UIStudio.Bar.BarManager.OnCommandClick(BarCommandLinkEventArgs e)
at ActiproSoftware.UIStudio.Bar.BarManager.b(BarCommandLinkEventArgs A_0)
at ActiproSoftware.UIStudio.Bar.BarManager.a(Command A_0, Boolean A_1)
at ActiproSoftware.UIStudio.Bar.BarManager.RaiseCommand(Command command)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.RaiseRecentPrjCmd(String prjCanonicalName)
at CyDesigner.StartPage.CyStartPageControl.OpenRecentProject(String prjCanonicalPath)
at CyDesigner.StartPage.CyStartPageControl.CyClickableStartPageRow`1.PerformClick()
at CyDesigner.StartPage.CyStartPageControl.m_table_MouseClickedTable(Object sender, CyTableViewMouseEventArgs e)
at CyDesigner.Common.Base.Controls.CyTableViewBase.OnMouseClickedTable(CyTableViewMouseEventArgs e)
at CyDesigner.Common.Base.Controls.CyTableViewBase.OnMouseClick(MouseEventArgs e)
at CyDesigner.Common.Base.Controls.CyTableViewBase.control_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 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/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
psoc_creator
Assembly Version: 4.2.0.641
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/psoc_creator.exe
----------------------------------------
cycmbase
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cycmbase.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
----------------------------------------
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
----------------------------------------
cydevicedb
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cydevicedb.DLL
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CyFramework
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/CyFramework.DLL
----------------------------------------
cys3db
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cys3db.DLL
----------------------------------------
CyPrjMgmt
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/CyPrjMgmt.DLL
----------------------------------------
cygde
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cygde.DLL
----------------------------------------
cygdegfxlib
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cygdegfxlib.DLL
----------------------------------------
cydebugger
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cydebugger.DLL
----------------------------------------
cyautomation
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyautomation.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.Configuration
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.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
UIFramework.Product6.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/UIFramework.Product6.WinForms.DLL
----------------------------------------
UIFramework.Product2.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/UIFramework.Product2.WinForms.DLL
----------------------------------------
UIFramework.Product5.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/UIFramework.Product5.WinForms.DLL
----------------------------------------
UIFramework.Product4.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/UIFramework.Product4.WinForms.DLL
----------------------------------------
CyShared
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/CyShared.DLL
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
pte21etb
Assembly Version: 4.2.0.641
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
----------------------------------------
cydsextensions
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cydsextensions.DLL
----------------------------------------
cygnuarmshipped
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/import/gnu/arm/cygnuarmshipped.dll
----------------------------------------
cykeilpk51
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/import/keil/pk51/cykeilpk51.dll
----------------------------------------
cyeditors
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyeditors.DLL
----------------------------------------
UIFramework.Product6.Addons.DotNet.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/UIFramework.Product6.Addons.DotNet.WinForms.DLL
----------------------------------------
cytransport
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cytransport.DLL
----------------------------------------
cypsocdebugger
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cypsocdebugger.EXE
----------------------------------------
cygdbdebugger
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cygdbdebugger.DLL
----------------------------------------
cyarmdebugger
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyarmdebugger.DLL
----------------------------------------
cyppdeviceio
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyppdeviceio.DLL
----------------------------------------
cywin32deviceio
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cywin32deviceio.DLL
----------------------------------------
bootloader_host
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/bootloader_host.EXE
----------------------------------------
cydsfit
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cydsfit.EXE
----------------------------------------
cyfitter_fm
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyfitter_fm.EXE
----------------------------------------
cyfitlib
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyfitlib.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.85.4.369
Win32 Version: 0.85.4.369
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Drawing.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
UIFramework.Product1.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/UIFramework.Product1.WinForms.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
MigraDoc.DocumentObjectModel
Assembly Version: 1.32.3885.0
Win32 Version: 1.32.3885.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/MigraDoc.DocumentObjectModel.DLL
----------------------------------------
cyhextool
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyhextool.EXE
----------------------------------------
cykeilspawner
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cykeilspawner.EXE
----------------------------------------
cytunerextensions
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cytunerextensions.DLL
----------------------------------------
cyclangwrapper
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyclangwrapper.DLL
----------------------------------------
PP_Accessor
Assembly Version: 3.24.1.2235
Win32 Version: 3.24.1.2235
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/PP_Accessor.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
cyp3fit
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cyp3fit.EXE
----------------------------------------
PP_COM_Wrapper
Assembly Version: 3.27.1.3121
Win32 Version: 3.27.1.3121
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/Programmer/PP_COM_Wrapper.dll
----------------------------------------
PP_PC_Wrapper
Assembly Version: 3.27.1.3121
Win32 Version: 3.27.1.3121
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/Programmer/PP_PC_Wrapper.dll
----------------------------------------
ProgrammerLibrary
Assembly Version: 3.27.1.3121
Win32 Version: 3.27.1.3121
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/Programmer/ProgrammerLibrary.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AxInterop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/AxInterop.SHDocVw.DLL
----------------------------------------
Interop.SHDocVw
Assembly Version: 1.1.0.0
Win32 Version: 1.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/Interop.SHDocVw.DLL
----------------------------------------
CyComponentLibrary_4a4e926d14044765f0cb43e775349e4581cf8ff1479d6b13ed741b126286ee76
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/psoc/content/cycomponentlibrary/CyComponentLibrary.cylib/CyComponentLibrary.dll
----------------------------------------
cydstoolkit
Assembly Version: 4.2.0.641
Win32 Version: 4.2.0.641
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/bin/cydstoolkit.DLL
----------------------------------------
cyprimitives_ff604bb3e44673643345856367282b88e9cc15b8fdd103f545ecff7c0201f386
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.2/PSoC%20Creator/psoc/content/cyprimitives/CyPrimitives.cylib/CyPrimitives.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please download the latest PSoC Creator and PSoC Programmer and then run the project again. Let me know your observations.
Regards,
Dheeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
Thank you for your reply. I downloaded the latest version of PSoC creator again, and during the install I selected the "repair" option to fix the current version of PSoC installed (all v4.2). The issue is still occurring even after that.
Do you have any other suggestions?
Thanks,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Dheeraj,
I also un-installed and re-installed PSoC Creator 4.2 with no improvement. I am able to open example projects, but other .cyprj files can not be opened. I believe there is a corrupted file in our project, but I have re-loaded previous versions of the projects via git, and still have the same issue. Unfortunately, creating a new project and copying everything over is not the best idea as it may cause issues with our collaborative repo.
Do you have any other ideas?
I also receive the following error:
"PSoC Creator has encountered a problem and must close. Object reference not set to an instance of an object."
System.NullReferenceException: Object reference not set to an instance of an object.
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtComponentMgr.AreCustomizersAllowed()
at CyDesigner.Common.ProjMgmt.Model.CyPrjMgmtProjectPSoCExe.AreCustomizersAllowed()
at CyDesigner.Common.Db.CyS3Db.CyInst.GetCustomizerProviderImpl(CyCompName compName, CyInstBindContext ctx, String schName)
at CyDesigner.Common.Db.CyS3Db.CyInst.GetCustomizerProvider(CyCompName compName, CyInstBindContext ctx, CyInstCustomizerProvider& custProvider)
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetIsDesignWideComponent(CyPrjMgmtProjectPSoCExe proj, CyComponentMaster master, CyCompName compName, CyElabInstBindContext context, Boolean checkLatesetIfDoesNotExist)
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetSelectedSupportedComponentsBySource()
at CyDesigner.Device.FitLib.DesignWideResources.Components.CyComponentsModel.GetSelectedSupportedComponents()
at CyDesigner.Common.ProjMgmt.DWR.CyDWRMgr.<get_DwInsts>d__a.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at CyDesigner.Gde.ComponentUpdateTool.CyCutDocument..ctor(CyPrjMgmtProjectPSoCExe owningPrj)
at CyDesigner.Gde.ComponentUpdateTool.CyCutInputData..ctor(CyDesignerFramework fwk, IEnumerable`1 mgrs)
at CyDesigner.Gde.Common.CyGdePlugin.UpdateCutStatusBarIcon(Boolean writeOutputMsg)
at CyDesigner.Gde.Common.CyGdePlugin.mgr_CurrentWorkspaceChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at CyDesigner.Common.Base.CyBasic.RaiseEvent(EventHandler eventToRaise, Object sender, EventArgs eventArgs)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OnCurrentWorkspaceChanged(EventArgs e)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.set_CurrentWrkspc(CyPrjMgmtWrkspc value)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OpenWorkspace(CyPrjMgmtWrkspc workspace)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.CheckandOpenWorkspace(String item)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.MatchingWorkspaceFound(String item, Boolean& workspaceOpened)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.OpenItem(String item)
at CyDesigner.Common.ProjMgmt.CyPrjMgr.LoadItemDeferred()
at CyDesigner.Common.ProjMgmt.CyPrjMgr.m_framework_Idled(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at CyDesigner.Common.Base.CyBasic.RaiseEvent(EventHandler eventToRaise, Object sender, EventArgs eventArgs)
at CyDesigner.Framework.CyDesignerFramework.ApplicationIdled(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 CyDesigner.Framework.Run.Main(String[] args)
Thanks for your help,
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In your Windows search bar, type "Event Viewer". Once the app is opened, under Actions, click "Create Custom View". In the dialog box that opens, select "By source" under Filters.
You can check the "All event sources" option. Click OK. Give a name to the event and finish the setup.
Now run PSoC Creator and once it crashes, open the event you created and check for events with process name psoc_creator. It should have more information on the crash.
Please attach the logs here.
Regards,
Dheeraj