Jump to content

Bug? PdN crashes after moving or renaming file


Recommended Posts

Steps:

Open file with PdN

Edit file

While file is opened, rename original file to preserve it from changing

Try to save edited file with old name ( at that moment file with that name doesn't exist)

PdN crashes!

LOG:

Crash log for Paint.NET v2.6 (Alpha 2 Release build 2.6.2179.30797)

Time of crash: 01.1.2006 17:31:05

OS version: 5.1.2600.131072

.NET Framework version: 2.0.50727.42 X86

Processor count: 1

Exception details:

System.NullReferenceException: Object reference not set to an instance of an object.

at PaintDotNet.CommonActionsStrip.OnItemClicked(ToolStripItemClickedEventArgs e)

at System.Windows.Forms.ToolStrip.HandleItemClick(ToolStripItem dismissingItem)

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 PaintDotNet.SystemLayer.ToolStripEx.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)

------------------------------------------------------------------------------

Link to comment
Share on other sites

Actually what happened is you clicked on the separator in the toolbar (the little vertical bar). Turns out that those things raise events too. We fixed that for our next release already.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...