Bug? Error Compiling layouts code. Error Value cannot be null.


Active Member
Licensed User
Not sure if this is a bug but it's certainly a bit weird.

It was first reported at https://www.b4x.com/android/forum/t...ugh-the-basic4android-book.35541/#post-317116

I'm running B4A 4.30. If I try to compile Klaus's SQLExample I get the compile error

B4A version 4.30
Parsing code. 0.03
Compiling code. 0.14
Compiling layouts code. Error
Value cannot be null.
Parameter name: input
Error File: edit.bal

Go to the designer script page to debug this error.​

If I open the designer and open the edit layout, but don't make any changes, the code compiles and runs.
If I close B4A and re-open the project, it compiles without error even if I don't open the designer.
If I reboot the PC and re-open the project, I get the error again.

You can download the SQLExample code from


Licensed User
I downloaded the file SQLExample2 from the link indicated by Philip and the example works perfectly . Thanks

Francesco Palma - Roma Italy