Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
The same error by name "Object Reference not set to an instance of an object" in Aneka Cloud Application while working with the application (literally while installing).
It seems to be some problem with .NET, I am using Visual Studio 10, Windows 8.1.
I have tried installing and uninstalling VS. I was not able to remove .NET 4.0 though.
Can anyone throw some light on this area. This is the error log details.


------------------------------------------------

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 Aneka.UI.Manager.ConsoleForm.GetContextMenu(ContainerMetadata container, Boolean bStarted, Boolean bQuarantined, String url)
at Aneka.UI.Manager.ConsoleForm.ListViewMouseUpCallback(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.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.8009 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Aneka.UI.Manager
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Manjrasoft/Aneka.3.0/Tools/Management%20Studio/Aneka.UI.Manager.exe
----------------------------------------
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Program%20Files%20(x86)/Manjrasoft/Aneka.3.0/Tools/Management%20Studio/log4net.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8008 (FX35W81RTMGDR.050727-8000)
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.8009 (FX35W81RTMGDR.050727-8000)
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.8007 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Fl0yd.Controls
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Manjrasoft/Aneka.3.0/Tools/Management%20Studio/Fl0yd.Controls.DLL
----------------------------------------
Aneka.Util
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Manjrasoft/Aneka.3.0/Tools/Management%20Studio/Aneka.Util.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Fl0yd.Runtime
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Manjrasoft/Aneka.3.0/Tools/Management%20Studio/Fl0yd.Runtime.DLL
----------------------------------------
Aneka.PAL.Management
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Manjrasoft/Aneka.3.0/Tools/Management%20Studio/Aneka.PAL.Management.DLL
----------------------------------------

..... similarly a few more assemblies like this.
Posted
Updated 18-Mar-15 3:22am
v2

1 solution

Doesn't seem to be the .net platform because the error is pretty clear ant is at: Aneka.UI.Manager.ConsoleForm.GetContextMenu(ContainerMetadata container, Boolean bStarted, Boolean bQuarantined, String url)

So the error is thrown here Aneka.UI.Manager.ConsoleForm.GetContextMenu, so that is where the error is. Some object simply not set. If you have the code you can check it out. Otherwise you need to send a bug report to the developers (or maybe there is already a solution/work around)

Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900