Running CodeSmith 5.2 on WIndows 7 Ultimate 64 Bit - Support - .netTiers - CodeSmith Community
Welcome to the CodeSmith Community!

Running CodeSmith 5.2 on WIndows 7 Ultimate 64 Bit

.netTiers

A description has not yet been added to this group.

Running CodeSmith 5.2 on WIndows 7 Ultimate 64 Bit

Answered (Verified) This question is answered

Hi,

I moved my CodeSmith installation from WinXP 32bit to Windows 7 64Bit.

If I click on a base template file I can get CodeSmith to generate code but if I fire up the CodeSmith Explorer or Studio I can't interact with it. If I click on something I get a Windows Error message: "CodeSmith.exe has encountered a problem and needs to close. We are sorry for the inconvenience."

If I look at the report the error window generates I get the following:

<?xml version="1.0" encoding="utf-16"?>
<CaseReport xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.codesmithtools.com/insight/v2">
  <MessageSignature i:nil="true" />
  <ProjectId>24</ProjectId>
  <Description i:nil="true" />
  <EmailAddress i:nil="true" />
  <IsDescriptionHtml>false</IsDescriptionHtml>
  <MessageDate>2010-01-10T21:20:16.1927008-05:00</MessageDate>
  <MessageIdentifier>0db67009-187b-493e-8989-5588724de8eb</MessageIdentifier>
  <Attachments />
  <CaseType>CrashReport</CaseType>
  <ClientVersion>1.0.0.10423</ClientVersion>
  <CustomFields>
    <CustomField>
      <Key>Platform</Key>
      <Value>Microsoft Windows NT 6.1.7600.0, (x64)</Value>
    </CustomField>
    <CustomField>
      <Key>Version</Key>
      <Value>5.0.0.0</Value>
    </CustomField>
    <CustomField>
      <Key>AssemblyFileVersion</Key>
      <Value>5.2.0.10552</Value>
    </CustomField>
  </CustomFields>
  <ExceptionDetail>
    <Description>System.NullReferenceException: Object reference not set to an instance of an object.
   at CodeSmith.Gui.CodeTemplateExplorerControl.a(Object A_0, MouseEventArgs A_1)
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message&amp; m)
   at System.Windows.Forms.Control.WndProc(Message&amp; m)
   at System.Windows.Forms.TreeView.WndProc(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</Description>
    <ErrorCode>-2147467261</ErrorCode>
    <ExceptionTypeName>System.NullReferenceException</ExceptionTypeName>
    <ExceptionXml>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;object name="NullReferenceException" namespace="System" xmlns="http://schemas.codesmithtools.com/feedback/objectdata" /&gt;</ExceptionXml>
    <InnerException i:nil="true" />
    <Message>Object reference not set to an instance of an object.</Message>
    <MethodName>a</MethodName>
    <ModuleName>CodeSmith.Gui</ModuleName>
    <ModuleVersion>5.0.0.0</ModuleVersion>
    <Source>CodeSmith.Gui</Source>
    <StackTrace>   at CodeSmith.Gui.CodeTemplateExplorerControl.a(Object A_0, MouseEventArgs A_1)
   at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message&amp; m)
   at System.Windows.Forms.Control.WndProc(Message&amp; m)
   at System.Windows.Forms.TreeView.WndProc(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)</StackTrace>
  </ExceptionDetail>
  <ReportHash>95b5e1cbc6f1324fdb31983ee94b74e369a14e81</ReportHash>
  <Tags>
    <string>CodeSmithExplorer</string>
  </Tags>
  <Title>Object reference not set to an instance of an object.</Title>
</CaseReport>

<?xml version="1.0" encoding="utf-16"?>
<MachineInfo xmlns="http://schemas.codesmithtools.com/insight/machinedata">
  <MachineName>BL01</MachineName>
  <OperatingSystemVersion>Microsoft Windows NT 6.1.7600.0</OperatingSystemVersion>
  <Architecture>x64</Architecture>
  <ProcessorCount>4</ProcessorCount>
  <WorkingSetMemoryCount>37937152</WorkingSetMemoryCount>
  <ClrVersion>2.0.50727.4927</ClrVersion>
  <CommandLine>"C:\Program Files (x86)\CodeSmith\v5.2\CodeSmith.exe" </CommandLine>
  <AppDomainName>CodeSmith.exe</AppDomainName>
  <ProcessID>1476</ProcessID>
  <ProcessName>1476</ProcessName>
  <ThreadName />
  <Win32ThreadId>9328</Win32ThreadId>
</MachineInfo>

<?xml version="1.0" encoding="utf-16"?>
<LoadedModules xmlns="http://schemas.codesmithtools.com/insight/moduledata">
  <Module Location="C:\Program Files (x86)\CodeSmith\v5.2\CodeSmith.exe" ProductVersion="5.2.0.10552">CodeSmith, Version=5.0.0.0, Culture=neutral, PublicKeyToken=9fd61cdb91609a7a</Module>
  <Module Location="C:\Windows\assembly\GAC_32\CodeSmith.Engine\5.0.0.0__9fd61cdb91609a7a\CodeSmith.Engine.dll" ProductVersion="5.2.0.10552">CodeSmith.Engine, Version=5.0.0.0, Culture=neutral, PublicKeyToken=9fd61cdb91609a7a</Module>
  <Module Location="C:\Windows\assembly\GAC_MSIL\CodeSmith.Insight.Client\1.0.0.10423__9fd61cdb91609a7a\CodeSmith.Insight.Client.dll" ProductVersion="1.0.0.10423">CodeSmith.Insight.Client, Version=1.0.0.10423, Culture=neutral, PublicKeyToken=9fd61cdb91609a7a</Module>
  <Module Location="C:\Windows\assembly\GAC_MSIL\SMDiagnostics\3.0.0.0__b77a5c561934e089\SMDiagnostics.dll" ProductVersion="3.0.4506.4926">SMDiagnostics, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</Module>
  <Module Location="C:\Windows\assembly\GAC_32\CodeSmith.Gui\5.0.0.0__9fd61cdb91609a7a\CodeSmith.Gui.dll" ProductVersion="5.2.0.10552">CodeSmith.Gui, Version=5.0.0.0, Culture=neutral, PublicKeyToken=9fd61cdb91609a7a</Module>
</LoadedModules>

Any thoughts?

- Jim

Jim Malak
  • Post Points: 65
Verified Answer
All Replies
Page 1 of 1 (6 items)