Bug #180

Exception in Change Template

Added by Cambell Prince over 4 years ago. Updated about 4 years ago.

Status:Closed Start:12/17/2008
Priority:Normal Due date:
Assigned to:Cambell Prince % Done:

100%

Category:application Spent time: 2.00 hours
Target version:V0.09
Resolution:fixed

Description

Msg: Object reference not set to an instance of an object.
Source: Solid
Assembly: Solid, Version=0.8.6.293, Culture=neutral, PublicKeyToken=null
Stack: at SolidGui.MainWindowPM.GiveSolidSettingsToModels()
at SolidGui.MainWindowView.OnChangeTemplate_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
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.ToolStrip.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)

Error Reporting Properties:
culture: en-AU
dotnetversion: 2.0.50727.1433
currentdirectory: C:\Documents and Settings\mcquayi
username: mcquayi
workingset: 7348224
osversion: Microsoft Windows NT 5.1.2600 Service Pack 3
userdomainname: MCQUAYACER
commandline: "C:\Program Files\Solid\Solid.exe" version: 0.8.6.293 (apparent build date: 26/05/2008)
machinename: MCQUAYACER
Monday, 15 December 2008
9:51:42 PM App Launched with ["C:\Program Files\Solid\Solid.exe" ]
9:51:55 PM Openning Y:\RDBS\2006-1\Active Projects a-o\agp-PA\D\PADI14.DI
9:51:56 PM Done Openning.
9:52:04 PM Loading Template from C:\Program Files\Solid\templates\PhilDict1.solid
Details of most recent events:
9:51:55 PM Openning Y:\RDBS\2006-1\Active Projects a-o\agp-PA\D\PADI14.DI
9:51:56 PM Done Openning.
9:52:04 PM Loading Template from C:\Program Files\Solid\templates\PhilDict1.solid

To Reproduce: Hi Campbell,

I ried to make a Template file for the Philipine Dictionary type of dictionary. So when I opend Solid and tried to change to me new Template this hapened.

I tried to change the top left like you suggested but the makers are different so I did not see how to do it.

PADI14.DI (7 KB) Cambell Prince, 04/16/2009 03:32 pm

PADI14.solid (55.4 KB) Cambell Prince, 04/16/2009 03:32 pm

History

Updated by Cambell Prince about 4 years ago

  • Status changed from New to Feedback

Updated by Cambell Prince about 4 years ago

That solid file is corrupt (edited?) it's missing an opening marker settings on line 5. However, Solid does pop up an error message to this effect, then carries on and crashes. So, I'll tidy up the error handling which should probably revert you to choosing a template at this point and saving the bogus solid file as a backup.

Updated by Cambell Prince about 4 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Fixed in r304

Also available in: Atom PDF