System.NullReferenceException when changing variable

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
MilesTroika
Jr. Propeller Head
Posts: 3
Joined: Thu May 31, 2018 7:25 am

System.NullReferenceException when changing variable

Post by MilesTroika »

Hi all,

Trying to change a variable within my VariableSetEditor and an error appears.

Here's the log from the error:
<?xml version="1.0" encoding="UTF-8"?>

-<MadCapExceptionLog localDate="2018-08-10T11:34:37.6002443+01:00" executableVersion="14.0.6738.27462" executable="Flare" protocol="1">

<OS version="Microsoft Windows NT 6.1.7601 Service Pack 1" frameworkVersion="4.0.30319.42000" arch="x64"/>

<Exception source="B3.CatapultVariableSetEditorKit" stackTrace=" at B3.CatapultVariableSetEditorKit.CatapultVariableSetEditor.Save() at B3.AppKit.Editor.OnFileSaveCommand(CommandContext cc) at B3.AppKit.CommandInvokeContext.OnCommand() at B3.AppKit.CommandRouter.Invoke(CommandContext cc) at B3.AppKit.CommandRouter.TryInvoke(CommandContext cc)" message="Object reference not set to an instance of an object." type="System.NullReferenceException"/>

<User machineID="43846c28121587d78644a3fed51325f14dae574a"/>

</MadCapExceptionLog>
Any idea why I'm seeing this error?

Cheers
MilesTroika
Jr. Propeller Head
Posts: 3
Joined: Thu May 31, 2018 7:25 am

Re: System.NullReferenceException when changing variable

Post by MilesTroika »

To anyone else that encounters this issue I found that the only way of getting around the error message and able to save is to edit the variable xml file and change it manually as opposed to via the variable set editor.
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

Re: System.NullReferenceException when changing variable

Post by kirinawust »

Hi, I am using Flare 2017 r3 and have the same problem constantly.
Deleting \Analyzer seems to help.

I have the same variables file in another project, and there it works fine. So, I figured, it is not the variables file that causes the problem.
Post Reply