Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#595 closed defect (fixed)

Maestro crashes when editing a layer style

Reported by: andrewd Owned by: ksgeograf
Priority: high Milestone:
Component: Maestro Version:
Severity: critical Keywords:
Cc: External ID:

Description

Make a new layer. Connect it to a point data source (in my case from a shape file - managed). Make a new style rule. Change the size units to Meters (I usually also change the Size Context to "Map units" as well)....and you'll get a crash. I've tried this on 2 different computers now. I get the following:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

Exception Text System.ArgumentException: Requested value 'MappingUnits' was not found.

at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase) at OSGeo.MapGuide.Maestro.ResourceEditors.GeometryStyleEditors.PointFeatureStyleEditor.SizeUnits_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.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)

Loaded Assemblies mscorlib

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll


Maestro

Assembly Version: 1.0.7.40948 Win32 Version: 1.0.7.40948 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/Maestro.exe


System.Windows.Forms

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll


System

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Drawing

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll


Globalizator

Assembly Version: 1.0.7.0 Win32 Version: 1.0.7.0 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/Globalizator.DLL


System.Xml

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll


OSGeo.MapGuide.MaestroAPI

Assembly Version: 1.0.7.40946 Win32 Version: 1.0.7.40946 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/OSGeo.MapGuide.MaestroAPI.DLL


OSGeo.MapGuide.Maestro.MaestroEditorInterface

Assembly Version: 1.0.7.0 Win32 Version: 1.0.7.0 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/OSGeo.MapGuide.Maestro.MaestroEditorInterface.DLL


System.Web

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll


System.Configuration

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll


ykgfc4rm

Assembly Version: 1.0.7.40946 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


ea37kmc7

Assembly Version: 1.0.7.40948 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


haihl4xj

Assembly Version: 1.0.7.40948 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


OSGeo.MapGuide.Maestro.ResourceEditors

Assembly Version: 1.0.7.40947 Win32 Version: 1.0.7.40947 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/OSGeo.MapGuide.Maestro.ResourceEditors.DLL


OSGeo.MapGuide.Maestro.FusionEditor

Assembly Version: 1.0.7.40947 Win32 Version: 1.0.7.40947 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/OSGeo.MapGuide.Maestro.FusionEditor.DLL


okjqzqrx

Assembly Version: 1.0.7.40946 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


e4iegszn

Assembly Version: 1.0.7.40946 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


System.Data

Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll


Topology

Assembly Version: 1.0.8.24721 Win32 Version: 1.0.8.24721 CodeBase: file:///C:/Program%20Files/HexaD/MapGuide%20Maestro/Topology.DLL


wudxpikb

Assembly Version: 1.0.7.40946 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


hywfi3sy

Assembly Version: 1.0.7.40946 Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll


JIT Debugging To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

<configuration>

<system.windows.forms jitDebugging="true" />

</configuration>

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

Change History (2)

comment:1 by ksgeograf, 16 years ago

Resolution: fixed
Status: newclosed

There was a typo in the code, I have comitted a fix.

comment:2 by ksgeograf, 16 years ago

Version: 2.0.1
Note: See TracTickets for help on using tickets.