vieiraan / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Mission Planner 1.2.12 crashes during start in Mono. #760

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Updated 1.2.11 successfully, but 1.2.12 would not start.
Also, a clean download of 1.2.12 won't start - crashes with the same error

mono ArdupilotMegaPlanner10.exe
results in:
andre@loke:~/Linux$ cd M3
andre@loke:~/Linux/M3$ mono ArdupilotMegaPlanner10.exe
INFO Program - ******************* Logging Configured *******************
INFO ArdupilotMega.MainV2 - Mainv2 ctor
INFO ArdupilotMega.MainV2 - myview width 1008 height 461
INFO ArdupilotMega.MainV2 - this   width 1193 height 617
INFO ArdupilotMega.Utilities.Speech - TTS: init, mono = True
INFO ArdupilotMega.Controls.HUD - Vendor: NVIDIA Corporation
INFO ArdupilotMega.Controls.HUD - Version: 4.2.0 NVIDIA 295.49
INFO ArdupilotMega.Controls.HUD - Device: GeForce GTX 570/PCIe/SSE2
HUD resize 292 219
HUD 1 hz drawtime 138 gl True
HUD resize 292 219
HUD resize 292 219
HUD resize 292 219
HUD 3 hz drawtime 52 gl True
FATAL ArdupilotMega.MainV2 - System.NullReferenceException: Object reference 
not set to an instance of an object
  at System.Windows.Forms.Control+ControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecoratorControlCollection..ctor (System.Windows.Forms.Control owner) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecorator.get_InternalControls () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecorator.CreateControlsInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDecorator..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.FormsDecorator:.ctor ()
  at Crom.Controls.Docking.FormsTabbedViewControlCollection..ctor (System.Windows.Forms.Control owner) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsTabbedView.get_InternalControls () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsTabbedView.CreateControlsInstance () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.UserControl..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.TabbedDocument.ButtonsPanel..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsTabbedView..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.FormsTabbedView:.ctor ()
  at Crom.Controls.Docking.FormsDocker.CreateFormsTabbedView (Size size, Crom.Controls.Docking.ControlPositioner positioner) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDocker.Add (System.Windows.Forms.Form form, zAllowedDock allowedDock, Guid formIdentifier) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.DockContainer.Add (System.Windows.Forms.Form form, zAllowedDock allowedDock, Guid formIdentifier) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.DockContainer:Add (System.Windows.Forms.Form,Crom.Controls.Docking.zAllowedDock,System.Guid)
  at ArdupilotMega.GCSViews.FlightData.CreateFormAndGuid (Crom.Controls.Docking.DockContainer dock, System.Windows.Forms.Control ctl, System.String configguidref) [0x00000] in <filename unknown>:0 
  at ArdupilotMega.GCSViews.FlightData.SetupDocking () [0x00000] in <filename unknown>:0 
  at ArdupilotMega.GCSViews.FlightData..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) ArdupilotMega.GCSViews.FlightData:.ctor ()
  at ArdupilotMega.MainV2..ctor () [0x00000] in <filename unknown>:0 
False
False
False

Original issue reported on code.google.com by andre.kj...@gmail.com on 20 Sep 2012 at 6:39

GoogleCodeExporter commented 9 years ago
this is a mono bug, untill that is fixed. i dont have an answer

Original comment by Meee...@gmail.com on 25 Sep 2012 at 7:59

GoogleCodeExporter commented 9 years ago

Original comment by Meee...@gmail.com on 25 Sep 2012 at 10:25

GoogleCodeExporter commented 9 years ago
i might have a fix for this in 1.2.13 - by not using the docking ability, there 
maybe other problems though

Original comment by Meee...@gmail.com on 27 Sep 2012 at 12:38

GoogleCodeExporter commented 9 years ago
Great - :) Will test and let you know once it is out.
I also reported the problem to mono team.
Please, take a look at the way "terminal" features behave under mono, things 
work, but is much less predictive, it seems you need to click once or twice on 
"tests" or "show settings" to actually get to type something.

Original comment by andre.kj...@gmail.com on 27 Sep 2012 at 6:23

GoogleCodeExporter commented 9 years ago
https://bugzilla.xamarin.com/show_bug.cgi?id=7401

Original comment by Meee...@gmail.com on 28 Sep 2012 at 1:32

GoogleCodeExporter commented 9 years ago

Original comment by Meee...@gmail.com on 11 Nov 2012 at 1:28