Value cannot be null

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
Pannonian
Propeller Head
Posts: 20
Joined: Tue Jan 11, 2011 2:53 am
Location: Vienna, Austria
Contact:

Value cannot be null

Post by Pannonian »

Whenever i try to publish i get the error message "Value cannot be null Parameter name: s."

I tried around a bit, and when i wanted to create a new ftp target, i get the exact same error message when i click on the button "Login Credentials"

i already saw a thread regarding this problem, but i coudln't find any way to cope with it.

Funny thing: it worked just fine the last 8 months...

Edit: Stacktrace:

System.ArgumentNullException: Value cannot be null.
Parameter name: s
at System.IO.StringReader..ctor(String s)
at B3.PublishingKit.PasswordSafe.Load(Registry root)
at B3.PublishingKit.LogonDialog.OnDialogInit(EventArgs e)
at B3.AppKit.Dialog.Run(Control refWindow)
at B3.CatapultDestinationEditorKit.BasicDialogPage.OnControlClicked(Control e)
at B3.AppKit.Dialog.Control_OnClick(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)

Edit: Just tried to edit my destination to anonymous login. This time the publish starts, it opens the login gui, and after i write in my login credentials, the error occurs again. It looks like Flare cannot save or load these login credentials. I just looked around, where should these be saved?
jamieSpark
Jr. Propeller Head
Posts: 4
Joined: Thu Apr 05, 2012 11:20 am

Re: Value cannot be null

Post by jamieSpark »

I'm having this same problem: does anyone know what causes it, or how it can be fixed?
doc_guy
Propellus Maximus
Posts: 1979
Joined: Tue Nov 28, 2006 11:18 am
Location: Crossroads of the West
Contact:

Re: Value cannot be null

Post by doc_guy »

I'd probably recommend that you contact MadCap Support. I think you are going to need to look in your log file to see exactly WHERE in the process this occurs so you can figure out what is causing it.
Paul Pehrson
My Blog

Image
jamieSpark
Jr. Propeller Head
Posts: 4
Joined: Thu Apr 05, 2012 11:20 am

Re: Value cannot be null

Post by jamieSpark »

I received an answer out of MadCap support that worked for me:

Can you please try the following steps to fix this error:

1) Close all instances of Flare
2) Open the Start menu in Windows
3) Go to the Run option
4) Type: regedit
5) Click the "OK" button
6) Navigate to the following location: HKEY_CURRENT_USER\Software\MadCap Software\Flare\ImageLists
7) Delete the "Global" key
8) Close the Registry Editor
9) You may need to re-enter your destination password in Flare

I'm running in Windows 7 64-bit, but I imagine the solution may be similar in any case of this particular error.

Hopefully this helps someone else!
OomikeoO
Propeller Head
Posts: 12
Joined: Wed Feb 12, 2014 4:04 am

Re: Value cannot be null

Post by OomikeoO »

jamieSpark wrote:I received an answer out of MadCap support that worked for me:

Can you please try the following steps to fix this error:

1) Close all instances of Flare
2) Open the Start menu in Windows
3) Go to the Run option
4) Type: regedit
5) Click the "OK" button
6) Navigate to the following location: HKEY_CURRENT_USER\Software\MadCap Software\Flare\ImageLists
7) Delete the "Global" key
8) Close the Registry Editor
9) You may need to re-enter your destination password in Flare

I'm running in Windows 7 64-bit, but I imagine the solution may be similar in any case of this particular error.

Hopefully this helps someone else!
Five years later and this is still helping me.

The path looks like this in Flare 2017:

HKEY_CURRENT_USER\Software\MadCap Software\Flare\Projects\[your project]\Destinations\Destination-[xxxxxxxxxx]\ImageLists
harasj
Jr. Propeller Head
Posts: 3
Joined: Thu Dec 21, 2017 4:01 pm

Re: Value cannot be null

Post by harasj »

Thank you, this fixed it for me.
Post Reply