MessageForm.ShowMessage


Author
Message
Geoff Hirst
Geoff Hirst
StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Chaps,

Periodically I get the following exception

System.NullReferenceException: Object reference not set to an instance of an object.
   at MicroFour.StrataFrame.Messaging.MessageForm.ShowMessage(String MessageText)
   at SFB.Alarm64.Alarm64_CustomerMF.EditInstallation()

I use Messageform a lot, as it's a lot more aesthetically pleasant than Messagebox. This isn't specific to 1.6.7 as I have experienced it quite a bit over the last few versions.

Is there anyone else getting this at all?

thanks

Geoff

Replies
Geoff Hirst
Geoff Hirst
StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)StrataFrame User (323 reputation)
Group: Forum Members
Posts: 123, Visits: 3.5K
Hi Trent,

Apologies for this.

Sometimes it takes a while for the light to dawn on thicker head.

The fact that one version of messageform.showmessage works when compiled and obfuscated, does not mean there is a problem in the messageform.showmessage. (Doh!).

The fact that all versions of messageform.showmessage work fine when not obfuscated proves this. (bigger Doh!)

So, please accept my sincerest apologies for the biggest case of barking up the wrong tree I have done in a while. Blush

Now, where's the support number for the obfuscator chappy....

apologies.

Geoff.

Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
LOL...no problem, I just wanted to make sure that I understood the problem.  There have been times that I have had to create exceptions for the obfustator to avoid these types of problems.  I don't recall ever doing this for the MessageForm in particular, but rather class libraries that try and obfuscate public methods (which is an option in the obfuscator, then exceptions are actually set separately, but you get my point).  But in any case, no problem here Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search