Jump to content

Problems with custom effects


Recommended Posts

I've got problems with two custom effects. When I click "Cancel" Paint.NET crashes. This happens with Film effect and GREYCstoration.

This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.08 (Final Release build 3.08.2708.22795)
Time of crash: 24-06-2007 16:44:41
Application uptime: 00:01:53.8437500
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 2x "Intel(R) Pentium(R) 4 CPU 3.20GHz" @ ~3211 MHz
Physical memory: 2047 MB
Tablet PC: no
Locale: pdnr.c: pt-PT, hklm: pt-PT, hkcu: n/a, cc: pt-PT, cuic: pt-PT

Exception details:
PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentException: O parâmetro não é válido.
  em System.Drawing.Bitmap..ctor(String filename)
  em GREYCstoration.BaseEffect.GetProcessedImage(EffectConfigToken parameters, RenderArgs source)
  em GREYCstoration.RestoreEffect.Render(EffectConfigToken parameters, RenderArgs destination, RenderArgs source, Rectangle[] roIs, Int32 startIndex, Int32 length)
  em PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction()
  --- Fim do rastreio da pilha de excepção interna ---
  em PaintDotNet.Effects.BackgroundEffectRenderer.Join()
  em PaintDotNet.Effects.BackgroundEffectRenderer.Abort()
  em PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)
  em PaintDotNet.Menus.EffectMenuBase.EffectMenuItem_Click(Object sender, EventArgs e)
  em System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  em System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  em PaintDotNet.PdnMenuItem.OnClick(EventArgs e)
  em System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  em System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  em System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
  em System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
  em System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  em System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  em System.Windows.Forms.Control.WndProc(Message& m)
  em System.Windows.Forms.ScrollableControl.WndProc(Message& m)
  em System.Windows.Forms.ToolStrip.WndProc(Message& m)
  em System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  em System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------
This text file was created because Paint.NET crashed.
Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem.

Application version: Paint.NET v3.08 (Final Release build 3.08.2708.22795)
Time of crash: 27-06-2007 19:56:24
Application uptime: 02:30:25.9687500
OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86
.NET Framework version: 2.0.50727.42 x86
Processor: 2x "Intel(R) Pentium(R) 4 CPU 3.20GHz" @ ~3211MHz
Physical memory: 2047 MB
Tablet PC: no
Locale: pdnr.c: pt-PT, hklm: pt-PT, hkcu: n/a, cc: pt-PT, cuic: pt-PT

Exception details:
System.NullReferenceException: A referência de objecto não foi definida como uma instância de um objecto.
  em PaintDotNet.SystemLayer.PdnGraphics.GetRegionScans(Region region, Rectangle[]& scans, Int32& area)
  em PaintDotNet.PdnRegion.GetRegionScansReadOnlyInt()
  em PaintDotNet.Effects.Effect.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, PdnRegion roi)
  em FilmEffect.FilmDialog.InitTokenFromDialog()
  em PaintDotNet.Effects.EffectConfigDialog.FinishTokenUpdate()
  em FilmEffect.FilmDialog.timer1_Tick(Object sender, EventArgs e)
  em System.Windows.Forms.Timer.OnTick(EventArgs e)
  em System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
  em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
------------------------------------------------------------------------------

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.

×
×
  • Create New...