Android Question [SOLVED] IDE error : reference to an object ???

lemonisdead

Well-Known Member
Licensed User
Longtime User
error.png


Hello,

Since this morning, each time I try to save a project (new or edited), I get this error message. But it seems to save btw because when I close the IDE's window, B4A won't ask for saving.

How could I solve that error ? Thanks
 

lemonisdead

Well-Known Member
Licensed User
Longtime User
Thanks Erel,

It is a new behaviour : the access to a .bal file is refused.
Of course, I did not change the permissions myself (on the file or the folder) and the designer was closed. The error is generated each time I create a new layout (starting from a blank project of course).

The particularity of my installation is this one : I run B4A on Mac OS X using Parallels Desktop. I didn't made any upgrade to this software. I have also tried after having deactivated the antivirus but this didn't solved.

I will try with a new VM and a fresh copy.

ExitCode: 0
Output:

Error:

System.UnauthorizedAccessException: L'accès au chemin d'accès 'C:\Users\HD\b4android\Projets\iti\Files\l1.bal' est refusé.
à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
à System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
à System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
à System.IO.FileStream..ctor(String path, FileMode mode)
à d0.c()
à bt..ctor()
à dp.k.d()
à dp.a(d1 A_0, Boolean A_1, h A_2, Boolean A_3)
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à dp.a(k A_0)
à dp.a(d1 A_0, Boolean A_1, h A_2, Boolean A_3)
à dp.a(d1 A_0, h A_1, Boolean A_2)
à dp.a(d1 A_0, h A_1, Boolean A_2, Boolean A_3)
à d1.a(Boolean A_0, Boolean A_1, h A_2)
à d1.cp(Object A_0, EventArgs A_1)
à d1.a(Object A_0, ToolBarButtonClickEventArgs A_1)
à System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
à System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
à System.Windows.Forms.ToolBar.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
System.UnauthorizedAccessException: L'accès au chemin d'accès 'C:\Users\HD\b4android\Projets\iti\Files\l1.bal' est refusé.
à System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
à System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
à System.Windows.Forms.Control.Invoke(Delegate method)
à dp.a(d1 A_0, Boolean A_1, h A_2, Boolean A_3)
System.NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.
à dp.a(k A_0)
à dp.a(d1 A_0, Boolean A_1, h A_2, Boolean A_3)
à dp.a(d1 A_0, h A_1, Boolean A_2)
à dp.a(d1 A_0, h A_1, Boolean A_2, Boolean A_3)
à d1.a(Boolean A_0, Boolean A_1, h A_2)
à d1.by(Object A_0, EventArgs A_1)
à d1.a(Object A_0, ToolBarButtonClickEventArgs A_1)
à System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
à System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
à System.Windows.Forms.ToolBar.WndProc(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
à System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 
Upvote 0

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
Creating a new VM and reinstalling all fixed the problem. But it was very long to redo all... I hope this problem won't appear again soon. :)
 
Upvote 0
Top