PDA

View Full Version : Initializing & Layer Manager


ShockFire
10-10-2004, 02:08 PM
Lots of people seem to have the program hang at "Initializing"
I have the same problem, however the program itself works fine
The solution seems to be to press Alt+F4 to close the splash screen
(I assume this is not by design)
I have a GeForce 4, so it should work (and it does of course, partially)
I can live with this, but it took me a while to figure it out,
so this is for everyone having the same problem

A more serious problem: I can't open the layer window
The JIT debugger gives this error:
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: node
at System.Windows.Forms.TreeNodeCollection. Add(TreeNode node)
at WorldWind.LayerManager..ctor(WorldWindow ww, TreeNode[] nodes)
at WorldWind.WorldWind.toolBarCustomFeature s_ButtonClick(Object sender, ToolBarButtonClickEventArgs e)
at System.Windows.Forms.ToolBar.OnButtonCli ck(ToolBarButtonClickEventArgs e)
at System.Windows.Forms.ToolBar.WmReflectCo mmand(Message& m)
at System.Windows.Forms.ToolBar.WndProc(Mes sage& m)
at System.Windows.Forms.ControlNativeWindow .OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow .WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callba ck(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Thanks in advance,
ShockFire

ShockFire
10-11-2004, 05:01 PM
Seems I can't connect to both Landsat and USGS
The internet connection works, because Animated Earth downloads stuff
The Layer Mrg and USGS may be somehow related,
since USGS seems to 'overlay' it's pictures on the globe

ShockFire
10-11-2004, 06:18 PM
I found out the memory Initialization might take up to 5 minutes,
so I disabled allways on top of the splash screen so it could load in the background
However it's still loading after 30 minutes

Here's a stack trace that -might- be helpfull
Can't get the debugging to work yet, so more on that later

> system.windows.forms.dll!System.Windows. Forms.Application.ComponentManager.Syste m.Windows.Forms.UnsafeNativeMethods+IMso ComponentManager.FPushMessageLoop(int dwComponentID = 3, int reason = -1, int pvLoopData = 0) + 0x49d bytes
system.windows.forms.dll!ThreadContext.R unMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext }) + 0x1f3 bytes
system.windows.forms.dll!ThreadContext.R unMessageLoop(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext }) + 0x50 bytes
system.windows.forms.dll!System.Windows. Forms.Application.Run(System.Windows.For ms.Form mainForm = {WorldWind.WorldWind}) + 0x34 bytes
WorldWind.exe!WorldWind.WorldWind.Main() + 0x20 bytes

ShockFire
10-13-2004, 07:49 PM
DEBUG_PROGRAM_START.txt

System.FormatException: Input string was not in a correct format.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at WorldWindow.TerrainPath..ctor(String name, Vector3 worldCenter, Single layerRadius, String terrainfileName, Single heightAboveSurface, Color lineColor)
at WorldWindow.PathList..ctor(String name, Single layerRadius, String pathsDirectoryPath, Color color)
at WorldWind.WorldWind.getRenderableObjectL istFromLayerSet(World curWorld, LayerSet parentLayerSet, LayerSet curLayerSet, TreeNode& treeNode)
at WorldWind.WorldWind..ctor()

seems like another internationalization to me
.Net is set to be on an internationalization spree by default you know :P

cmaxwell
10-15-2004, 05:48 PM
Originally posted by ShockFire@Oct 13 2004, 10:49 AM
DEBUG_PROGRAM_START.txt

System.FormatException: Input string was not in a correct format.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at WorldWindow.TerrainPath..ctor(String name, Vector3 worldCenter, Single layerRadius, String terrainfileName, Single heightAboveSurface, Color lineColor)
at WorldWindow.PathList..ctor(String name, Single layerRadius, String pathsDirectoryPath, Color color)
at WorldWind.WorldWind.getRenderableObjectL istFromLayerSet(World curWorld, LayerSet parentLayerSet, LayerSet curLayerSet, TreeNode& treeNode)
at WorldWind.WorldWind..ctor()

seems like another internationalization to me
.Net is set to be on an internationalization spree by default you know :P
Quoted post


Yup, I learned that not too long ago and it looks like you've found a place in the program I did not fix. :P