Mysterious error messages after V2.20 launch

StepWalk

Member
Licensed User
Longtime User
After installation of the new V2.20 over my existing V2.02 I'm experiencing some mysterous behavior: The editor starts up normal, containing the usual template. But once I try to load one of my existing projects I'm getting the following error message:

errormsg.png


Strangely it's half English and half in German (I'm using a German Windows version) I have no idea where this message is coming from. Some C++ runtime library, used by B4A ? or is it the DoNet framework ?

The german part says something like "Invalid object has been referenced"

That error box is shown immediately after the source code has been loaded. Some small projects do compile normal afterwards and the generated code is running ok on emulator and phone. Some other projects raise dozens of additional error boxes and do end up in a red crossed empty screen, like this:

error2.png


The above half german error box says: "Object already in use"

I removed the old B4A folder and made a new installation from scratch -the same thing. Finally I reinstalled my old V2.02 and everything was running fine again.

Any ideas what I may try to use my new update and benefit from its new features ?
 

StepWalk

Member
Licensed User
Longtime User
Im using Windows XP Professional SP3.

EDIT:
...and just in case that it might be of interest, here are my installed dotnet versions:

dotnetversions.png
 
Last edited:
Upvote 0

prokli

Active Member
Licensed User
Longtime User
Get same strange error

Hi everybody!

I installed b4a release V2.2 today and get same strange error message.
I tried to run the new b4a version on a XP and WIN7 (64Bit) PC with same behaviour.
Compilation works!
So I reinstalled b4a version 2.0 it every works fine again!

My OS is XP and Win7 (German language)
It seems that there are some activities which are missing any links to whatever?

Thanks
 
Upvote 0

StepWalk

Member
Licensed User
Longtime User
Well agraham...

I did as you recomended and got that log file:

System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei Dbasic.Lang.a(Document A_0, bm A_1, dc A_2, dc A_3, DynamicToken A_4, Boolean A_5, Boolean A_6)
bei Dbasic.Lang.a(Document A_0, String A_1, dc A_2, dc A_3, bm A_4, dp A_5)
bei Dbasic.Lang.a(ae A_0, dp A_1, dc A_2, dc A_3, dc A_4)
bei Dbasic.Lang.a(ae A_0, bm A_1)
bei di.b()
bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
bei System.Threading.ExecutionContext.runTryCode(Object userData)
bei System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()
OptimizedDexer exitCode=-1
dontWait=True

Does it make any sense for you ?
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
Does it make any sense for you ?
No, because the code is obfuscated and I can't (usually) be bothered to tease it apart, but it will be of use to Erel when he sees it.

It is interesting that both of you are using German variants of different Windows versions. 2.2 seems OK on my English Windows 7 64 bit machine.
 
Upvote 0

prokli

Active Member
Licensed User
Longtime User
Problem disappeared after installing b4a upgraded version 2.22!!
Works perfectly :sign0098:
Thanks!
 
Upvote 0
Top