Beta [SOLVED] b4a v5 : unable to compile [layout file]

lemonisdead

Well-Known Member
Licensed User
Hello,
I can not compile a previous v4.3 project. I have an error saying (in French) a reference to an object is not an object's reference and that I must go to the designer script to debug.

La référence d'objet n'est pas définie à une instance d'un objet.
Error File: l1.bal
Go to the designer script page to debug this error.
But when I open the designer script (script general), first all the views names are black. Then I select the "Script variant" and return to "Script general" and the views names are purple. But I can't find the reference to the missing view.

Many thanks
 

lemonisdead

Well-Known Member
Licensed User
Hello @Peter Simpson : Yes I did it, thanks your idea. But that's not better.

In the same time, when I press the "Run" Arrow in the designer, I get that error message : "the format of the incoming string is not correct"

 

Attachments

lemonisdead

Well-Known Member
Licensed User
In fact, all my previous layouts (even the most simple ones : one label for example) do generate the same error. But not the one I do create with the new version 5

I think the word "AutoScaleAll" is the reason : when I comment it and Run in Designer, I don't have any error

Edit : confirmed => the word AutoScaleAll since if it is inserted (typed or autocompleted) generates an error (in General or Variant scripts)
 
Last edited:

lemonisdead

Well-Known Member
Licensed User
@Erel : I am sorry, perhaps I don't get it but, I tried to have no variant's script empty and I do have the same issue
 

Attachments

lemonisdead

Well-Known Member
Licensed User
@Peter Simpson : well, Windows Update has nothing to download. Java JDK is jdk1.8.0_45, Android SDK is android-22.
In fact, it compiles alternatively. But could you please try to Run the designer script from the Designer. I get 100% the error reported previously.
 

Peter Simpson

Expert
Licensed User
Hiya @lemonisdead,
Nope I've got no errors whatsoever with the designer script, to tell you the truth I've not really had any errors whatsoever with the Beta.

Anyway, below is a screen shot of me running one of my scripts (no anchors here), I do not get any errors whatsoever, I also tried your .bal file and that worked perfect too...

Untitled-1.jpg
 
Last edited:

qsrtech

Active Member
Licensed User
I think the most important thing at this point in time is to debug if that's your real picture;)
 
Last edited:

qsrtech

Active Member
Licensed User
It is but it has nothing to do with such problem.
I guess that depends on which angle your looking at the situation from. Anyway, it's nice to see that there is an attractive woman in this realm.

Btw, my layouts seem to be fine but then again i don't use designer scripts too much. I'm running java 1.7x and .net 4 dot something less than 4.52 cause the designer told me i should upgrade. My one large project seemed to compile/run just fine but i haven't tested my other much larger project yet. But anyway that project's UI is pretty much all done through code/DB. All the best

P.s. i should add i was running beta #2
 

lemonisdead

Well-Known Member
Licensed User
Hello,
Please find the logs file attached. Many thanks
 

Attachments

lemonisdead

Well-Known Member
Licensed User
Another one from a new blank project (no device attached and no emulator in case of that error was logged)
 

Attachments

lemonisdead

Well-Known Member
Licensed User
Hello @Erel,
Some additionnal information : I have installed the beta on a second computer and the problem appeared again.
I wonder if you had some time to look at this but I guess it has something to do with the locales and/or the .NET 4.5.1 localized SDK.
I will post in the French forum to see if someone has the same issue
[this message was for providing more information only]
 
Top