Can't run MapEditor

Support for DataSlave

Moderators: Tom, ian

Can't run MapEditor

Postby redactuk » Sun Jul 25, 2010 6:02 pm

Not used MapEditor for a few weeks, then went to run today and get a Windows error message. I uninstalled and re-installed but same problem. Via VS Debugging I get:

"Object reference not set to an instance of an object."

System.NullReferenceException was unhandled
Message="Object reference not set to an instance of an object."
Source="DataSlave.MapEditor"
StackTrace:
at Baycastle.DataSlave.MapEditor.x98acc55b72f00bc1.xcb1e8660bfe68217()
at Baycastle.DataSlave.MapEditor.x98acc55b72f00bc1.x20aee281977480cf()
at Baycastle.DataSlave.MapEditor.x40b6a1613f26986a..ctor()
at Baycastle.DataSlave.MapEditor.x867eb3246b182488.xc447809891322395(String[] xce8d8c7e3c2c2426)
InnerException:

I'm using latest 2.2.2.91. I'm running on XP Professional SP2. Has anything changed since few weeks ago? Unfortunately I've installed quite a few new applications and patches since then, but I'm surprise any of these should cause the problem. Any ideas? or any further information I can supply to diagnose problem?

Thanks
redactuk
 
Posts: 13
Joined: Wed Dec 16, 2009 11:48 pm

Re: Can't run MapEditor

Postby ian » Mon Jul 26, 2010 7:50 am

There has recently been an update to .NET 3.51 that has caused problems with other applications, for example VMware Sphere client. I am not aware of any issues with DataSlave and indeed we see no problems on any machines here. No other users have reported this.

I will run a check on a virtual machine to see if I can see the same problem.

At what point to you get the error?
ian
 
Posts: 364
Joined: Sat Dec 18, 2004 8:13 am
Location: UK

Re: Can't run MapEditor

Postby redactuk » Mon Jul 26, 2010 1:22 pm

ian wrote:At what point to you get the error?


Not sure how to tell accurately, but it seems to go through loading all the regular expressions, which seem to be after .NET?

Is there any kind of log produced that might indicate where it fails? or maybe you could temporarily supply me with an .EXE that debugs to a log file?
redactuk
 
Posts: 13
Joined: Wed Dec 16, 2009 11:48 pm

Re: Can't run MapEditor

Postby ian » Mon Jul 26, 2010 4:00 pm

If you progressively move the Add-Ins from the DataSlave program folder to another location and the try loading it you may be able to see which Add-In is producing the problem.

I have tested with a XP SP2 test machine and see no problem. The details were:

Started with XP with SP2, IE7.
Installed .NET 2.0 and 3.51.
DataSlave works okay.

Added .NET 3.51 SP1.
DataSlave works okay.

Added all updates to 26 July 2010 apart from IE8
DataSlave works okay.

Added IE8.
DataSlave works okay.
ian
 
Posts: 364
Joined: Sat Dec 18, 2004 8:13 am
Location: UK

Re: Can't run MapEditor

Postby redactuk » Wed Jul 28, 2010 12:09 am

Ok well it's none of the DataSlave.AddIn.X that are causing the problem. What next?
redactuk
 
Posts: 13
Joined: Wed Dec 16, 2009 11:48 pm

Re: Can't run MapEditor

Postby ian » Wed Jul 28, 2010 5:24 am

There are a number of INI files that hold settings. These can be deleted and will be re-created. perhaps one of these is corrupted or perhaps your settings are to load a map and that map is corrupted.

Please delete the setting files. The location is given in the following post:

viewtopic.php?f=2&t=536&p=845#p845
ian
 
Posts: 364
Joined: Sat Dec 18, 2004 8:13 am
Location: UK

Re: Can't run MapEditor

Postby redactuk » Thu Jul 29, 2010 12:21 am

Ok I've tried that, still not loading :(
redactuk
 
Posts: 13
Joined: Wed Dec 16, 2009 11:48 pm

Re: Can't run MapEditor

Postby ian » Fri Jul 30, 2010 11:49 am

All I can now suggest we do is if you can give me a list of applications added since DataSlave last run I will see if we can find a reason why there is an issue.

Perhaps you can send us support@...) a movie of the load and error.

As an alternative do you have another machine you can run on?
ian
 
Posts: 364
Joined: Sat Dec 18, 2004 8:13 am
Location: UK

Re: Can't run MapEditor

Postby redactuk » Fri Jul 30, 2010 4:53 pm

I'm afraid I couldn't give you an accurate list of applications installed, and even if I did I'm not sure they would be of much use to you (or require too much checking work on your behalf).

Yes I can get the application to run on another machine, but I really would like to run it on this main development machine along with the other software I use for the service I provide.

I assume that during the loading stage your application simply loops through a number of steps that check/talk to other installed components. I know this is probably too much to ask but how difficult would it be to provide a test version of your application that simply logs to a text file the completion of each step? At least then we could know what step it is failing at and attempt to replicate elsewhere?
redactuk
 
Posts: 13
Joined: Wed Dec 16, 2009 11:48 pm

Re: Can't run MapEditor

Postby redactuk » Tue Sep 21, 2010 1:48 pm

I'm still battling with this :(

A few things...

1. When I run depends on mapeditor is reports that it can't find DWMAPI.DLL.

Searches for this seem to reveal that either that the problem is win IE7 and that I need to re-install that, yet others report that this dll is actually a Vista dll and should not be present on XP2 anyway. Yes another train of though is that the issue is with depends.exe and that this missing dll is not actually the problem. Take for example:

http://stackoverflow.com/questions/1734 ... nder-winxp

any ideas?
redactuk
 
Posts: 13
Joined: Wed Dec 16, 2009 11:48 pm

Re: Can't run MapEditor

Postby ian » Wed Oct 06, 2010 5:36 am

I have checked on test machines here at Baycastle and can report the following:

    The file, dwmapi.dll, is found on a Vista machine that is running DataSlave without problems
    It is not found on an XP machine that is running DataSlave without problems
You may want to consider installing SP3. I have no reason to believe this is the explanation for your problem, but we do test on machines with the latest updates applied.
ian
 
Posts: 364
Joined: Sat Dec 18, 2004 8:13 am
Location: UK


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron