Sign in to follow this  
pdn

Crash when loading plugins at startup

Recommended Posts

is there any incompatibility problems with old plugins which works in 3.5?

it just quit immediately at start up.

Application version: paint.net 4.0 (α 4.0.5105.6977)
OS Version: 6.1.7601.65536 Service Pack 1 Workstation x64
.NET version: CLR 4.0.30319.18408 x64, FX 4.0 4.5

Exception details:
System.NullReferenceException:
   於 PaintDotNet.Menus.EffectMenuBase.AddEffectToMenu(Effect effect, Boolean withShortcut) 於 D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs: 行 544
   於 PaintDotNet.Menus.EffectMenuBase.AddEffectsToMenu() 於 D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs: 行 658
   於 PaintDotNet.Menus.EffectMenuBase.PopulateMenu() 於 D:\src\pdn\paintdotnet\src\PaintDotNet\Menus\EffectMenuBase.cs: 行 416
   於 System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Managed assemblies: 
    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
    PaintDotNet, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.exe
    PaintDotNet.Base, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Base.dll
    System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
    WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll
    System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll
    PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll
    PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 @ C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll
    System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
    PaintDotNet.Core, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Core.dll
    System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll
    PaintDotNet.SystemLayer, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.dll
    PaintDotNet.Framework, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Framework.dll
    PaintDotNet.Resources, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Resources.dll
    PaintDotNet.Data, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Data.dll
    PaintDotNet.Effects, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.Effects.dll
    PaintDotNet.SystemLayer.Native.x64, Version=4.0.5105.6977, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\PaintDotNet.SystemLayer.Native.x64.dll
    System.Windows.Forms.resources, Version=4.0.0.0, Culture=zh-Hant, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_zh-Hant_b77a5c561934e089\System.Windows.Forms.resources.dll
    System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
    System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll
    PresentationFramework-SystemXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework-SystemXml\v4.0_4.0.0.0__b77a5c561934e089\PresentationFramework-SystemXml.dll
    "AA's_Assistant", Version=1.0.3697.21415, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\AA's_Assistant.dll
    AlphaBlur, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\AlphaBlur.dll
    AverageSelectionColor, Version=1.1.3256.33886, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\AverageSelectionColor.dll
    BasicPhotoAdjustments, Version=2.1.4020.485, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\BasicPhotoAdjustments.dll
    Bidirectional Blur, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Bidirectional Blur.dll
    BlackAndWhiteConverter, Version=1.1.3472.36275, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Black and White Converter.dll
    Burninate, Version=1.1.3182.28956, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Burninate.dll
    ChromaKeyPlugin, Version=1.0.0.2, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ChromaKeyPlugin.dll
    CodeLab, Version=1.7.4200.31162, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\CodeLab1.7.dll
    ColorBalance, Version=1.1.3182.30196, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ColorBalance.dll
    ColorMixer, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ColorMixer.dll
    ColorToAlpha, Version=2.3.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ColorToAlpha.dll
    Curves+, Version=3.0.3627.29849, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Curves+.dll
    Displacement, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Displacement.dll
    Eyeshine, Version=1.0.3700.25905, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Eyeshine.dll
    Feather, Version=2.3.3182.30477, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Feather.dll
    FilmNoir, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\FilmNoir.dll
    FindEdges, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\FindEdges.dll
    GradientBlur, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Gradient Blur.dll
    Grain, Version=1.0.3854.25523, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Grain.dll
    GrimColorReaper, Version=1.0.3511.201, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\GrimColorReaper.dll
    Jitter, Version=3.0.3612.21576, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Jitter.dll
    LensFlare, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\LensFlare.dll
    LocalContrast, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\LocalContrast.dll
    MotionSharpen, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\MotionSharpen.dll
    MultiColorGradient, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\MultiColorGradient.dll
    Oblique, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Oblique.dll
    Outline Object, Version=2.6.3612.21574, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Outline Object.dll
    OutlineObject, Version=1.1.3160.31739, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Outline.dll
    Panelling, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Panelling.dll
    PathGradientBlur, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\PathGradientBlur.dll
    phips_fill_gaps, Version=1.0.3307.18956, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\phips_fill_gaps.dll
    Pixel Clean Up, Version=1.0.4204.823, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Pixel Clean Up.dll
    Polygon, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Polygon.dll
    Polygones, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Polygones.dll
    pyrochild.effects.REQUIRED, Version=3.6.3742.39840, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\pyrochild.effects.REQUIRED.dll
    QuadTransform, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\QuadTransform.dll
    RandMaze1, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Random Maze1.dll
    RandMaze2, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Random Maze2.dll
    RedEyeQuickFix, Version=1.1.3161.39688, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\RedEyeQuickFix.dll
    ScriptLab, Version=2.6.3627.29850, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ScriptLab.dll
    SelectionTools, Version=1.1.3182.28742, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\SelectionTools.dll
    ShadowHighlight, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\ShadowHighlight.dll
    Shape3D, Version=1.2.6.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Shape3D.dll
    Sharpen+, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Sharpen+.dll
    SinWaves, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\SinWaves.dll
    Stitch, Version=1.0.3627.29848, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Stitch.dll
    Transparency, Version=1.1.3182.29244, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\Transparency.dll
    WaterReflection, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\WaterReflection.dll
    WetFloor, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null @ C:\Program Files\Paint.NET\Effects\WetFloor.dll
    Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll
    mscorlib.resources, Version=4.0.0.0, Culture=zh-Hant, PublicKeyToken=b77a5c561934e089 @ C:\Windows\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_zh-Hant_b77a5c561934e089\mscorlib.resources.dll

Share this post


Link to post
Share on other sites

There are a number of plugins which are incompatible with v4.0 Alpha. I've been compiling a list here. I have found none (yet) which would generate this error.

The only thing I can suggest is to copy all of your plugins to another location and delete the originals. Restore them in batches, restarting paint.net each time, until you find the one causing the crash.

Please let us know what you find out.

Share this post


Link to post
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.

Sign in to follow this