B4J Question New version 9.00 problem

Status
Not open for further replies.

StarinschiAndrei

Active Member
Licensed User
Longtime User
Hi everyone,
Could anyone help me how can i solve the following problem? i installed the new b4j version 9.00, when i compile my old project (works fine with b4j 8.90) i got this error :

B4J Version: 9.00
Parsing code. (0.50s)
Java Version: 11
Building folders structure. (0.06s)
Compiling code. Error
Error compiling program.
Error description: Unknown member: checked
Error occurred on line: 105
rb.Checked = False
Word: checked

there is no rb.checked in my project, i try to clean project
1623132647955.png
 

StarinschiAndrei

Active Member
Licensed User
Longtime User
Hi Erel , i created and here is the error :
B4J Version: 9.00
Parsing code. Error
Error parsing program.
Error description: B4XRadioButton is declared twice. You should either remove the library reference or the code module.
even if i removed the code module
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Error occured in line 105
rb.Checked = Fals
e

There is a rb.Checked = False in Line 105 in the B4XRadioButton CustomView from the XUI Views b4xlib.

1623152597167.png


Do you use XUI Views?
Which version do you use? The latest is version 2.50.
Do you use B4XRadioButtons ?

I just tested a small program using an xChart Bar chart where rb is used and two B4XRadioButton with no problems.
 
Upvote 0

StarinschiAndrei

Active Member
Licensed User
Longtime User
Error occured in line 105
rb.Checked = Fals
e

There is a rb.Checked = False in Line 105 in the B4XRadioButton CustomView from the XUI Views b4xlib.

View attachment 114641

Do you use XUI Views?
Which version do you use? The latest is version 2.50.
Do you use B4XRadioButtons ?

I just tested a small program using an xChart Bar chart where rb is used and two B4XRadioButton with no problems.
Dear Klaus,
I use XUI Views ver. 2.50, but didn't use B4Xradiobutton. As you can see in my previous post i tried to find "rd." but there isn't anywhere
Thank you
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I had a look at your project.
It needed some time to find quite a lot of libraries I did not have.
I got a message about this missing library mariadb-java-client-2.2.0.jar, but I did not find it.
So I commented this line: '#AdditionalJar:mariadb-java-client-2.2.0.jar
And the program compiles without any error.

1623157640831.png


And this is the libraries list.

1623158125686.png


I noticed, when I got messages about missing libraries, that the compiler is looking in the platform libraries folder not in the AdditionalLibraries folder.
It seems that you are saving additional libraries into the platform libraries folder.
Maybe the problem is there.
 
Upvote 0

StarinschiAndrei

Active Member
Licensed User
Longtime User
I had a look at your project.
It needed some time to find quite a lot of libraries I did not have.
I got a message about this missing library mariadb-java-client-2.2.0.jar, but I did not find it.
So I commented this line: '#AdditionalJar:mariadb-java-client-2.2.0.jar
And the program compiles without any error.

View attachment 114645

And this is the libraries list.

View attachment 114646

I noticed, when I got messages about missing libraries, that the compiler is looking in the platform libraries folder not in the AdditionalLibraries folder.
It seems that you are saving additional libraries into the platform libraries folder.
Maybe the problem is there.
I added XLUtils libraray but same error. I didn't change anything in my b4j environment , only installed the new version.
I commented this line: #AdditionalJar:mariadb-java-client-2.2.0.jar as you did but i got the same error.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
I had added XLUtils because I had to look for quite some libraries and didn't know if this one was needed or not.
XLUtils is not needed. I removed it.
Then I removed following libraries and the program still works:
- XUI Views, the rb.Checked = False line is in this one
- xCustomListView

Do you really need these libraries ?
I see that you have a lot of warnings.
Is the project you posted a stripped down one?
If no, you must look at the warnings and correct them, if no, one day you will get trouble.

As you have not commented my remark about the location of additional libraries.
I suggest you to uninstall B4J and reinstall it in an empty folder. This will clean the platform Libraries folder.
Then run your project and add any missing library into the AdditionalLibraries folder.
 
Upvote 0
Status
Not open for further replies.
Top