B4J Question [SOLVED] [B4XPages] Unknown error

GMan

Well-Known Member
Licensed User
Longtime User
After coding a while i got suddenly the following error when compiling:

B4X:
B4J Version: 8.90
Parse den Code.    (0.42s)
    Java Version: 8
Building folders structure.    (0.06s)
Führe individuellen Aktion aus.    (0.28s)
Kompiliere den Code.    (0.28s)
Kompiliere Layoutcode.    (0.07s)
Organisiere Libraries.    (0.00s)
Kompiliere generierten Java Code.    Error
javac 1.8.0_66
src\b4j\example\main.java:36: error: illegal start of expression
           frm.initWithStage(ba, stage, 1240, );
                                               ^
1 error

Does anyone has an idea ?
The last change was only the content of a Label
 
Last edited:

GMan

Well-Known Member
Licensed User
Longtime User
Sure, sorry
I killed the Height parameter (740) of the form
B4X:
#Region Project Attributes
    #MainFormWidth: 1240
    #MainFormHeight: 740
#End Region
 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
I wonder if it could be considered a bug in B4J that the linter doesn't complain that the value was missing. In any case you should probably post a wish for it so the IDE would catch it for you.
 
Upvote 0
Top