Blide 0.8.10 problems adding files

BlitzMax Forums/BlitzMax Programming/Blide 0.8.10 problems adding files

Sin of Nature(Posted 2007) [#1]
Version 0.8.8 worked perfectly. However, when I open a file in 0.8.10 I get:

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at BLIde.MainForm.LoadAFile(String& FileName, Boolean skip, Boolean QuickLoading)
   at BLIde.MainForm.QuickLoadBmx(String file, Boolean ShowWin)
   at BLIde.MainForm.Mnu2QuickOpenFile_CLick(Object sender, EventArgs e)
   at TD.SandBar.ToolbarItemBase.OnActivate()
   at TD.SandBar.ButtonItemBase.OnActivate()
   at TD.SandBar.
.(TopLevelMenuItemBase , Boolean , Boolean , Point )
   at TD.SandBar.TopLevelMenuItemBase.Show(Boolean select)
   at TD.SandBar.TopLevelMenuItemBase.Show()
   at TD.SandBar.ToolBar.OnItemPush(ToolbarItemBase item, Point position)
   at TD.SandBar.ToolBar.OnMouseDown(MouseEventArgs e)
   at TD.SandBar.MenuBar.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at TD.SandBar.ToolBar.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.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BLIde
    Assembly Version: 9.0.8.10
    Win32 Version: 9.0.8.10
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/BLIde.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
SandBar
    Assembly Version: 1.3.3.1
    Win32 Version: 1.3.3.1
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/SandBar.DLL
----------------------------------------
SandDock
    Assembly Version: 2.3.4.1
    Win32 Version: 2.3.4.1
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/SandDock.DLL
----------------------------------------
Navisight
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/Navisight.DLL
----------------------------------------
ActiproSoftware.SyntaxEditor.Net20
    Assembly Version: 4.0.237.0
    Win32 Version: 4.0.237.0
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/ActiproSoftware.SyntaxEditor.Net20.DLL
----------------------------------------
ActiproSoftware.Shared.Net20
    Assembly Version: 1.0.85.0
    Win32 Version: 1.0.85.0
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/ActiproSoftware.Shared.Net20.DLL
----------------------------------------
ActiproSoftware.WinUICore.Net20
    Assembly Version: 1.0.85.0
    Win32 Version: 1.0.85.0
    CodeBase: file:///C:/Program%20Files/The%20Factory.ws/BLIde%20for%20BlitzMax/ActiproSoftware.WinUICore.Net20.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.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.


SpaceAce has also mentioned this another post? Whats causing this? Solutions?

Sin


ziggy(Posted 2007) [#2]
This bug will be solved in next update. It is a side effect of the new 'ultra fast' project loading system. It has been fixed on the current beta version and an update will be available today or tomorrow.

When you try to load a file that is already loaded on BLIde, BLIde detects it and shows the already loaded file, to avoid a file being opened twice. The problem happens when the file being shown is not yet parsed. (this is what has been fixed)

To avoid this bug, don't 'load' already loaded files.
If you want to edit a file of your project, just click the file in the project dependencies tree.
If the file you want to edit is not part of a projet, you can load it without any problem (if it is not already loaded).