Bug? b4a 3 : Wrong warning message

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
When compiling with the beta, I got 3 warnings about variables not being assigned any values. Actually, they were assigned values, but then the variables were never used. The prior b4a version did not give any warning.

While I'm at it -- I got several error messages about variables used as For-Next counters which were Dimmed as Long. The error message said they must be Integers. Didn't get this error before, so I assume that it is a requirement of the enhanced For-Next in the beta.
 
The Long issue is fixed for beta #3. Can you post a small code snippet that demonstrates the warning issue?

See image below.
 

Attachments

  • WrongError.png
    WrongError.png
    6.1 KB · Views: 552
Rapid debugger, got this error , can you check without code? Of couse packege name is not anywheresoftware.b4a.samples.httputils2...

Code: Copy
Parsing code.                          0.02
Compiling code.                        0.06
Compiling layouts code.                0.03
Generating R file.                      0.10
Compiling debugger engine code.        Error
B4A line: 70
job.Complete(TaskId)
javac 1.6.0_31
shell\src\com\holdemadvantage\borsaitaliana\httputils2service_subs_0.java:35: package anywheresoftware.b4a.samples.httputils2 does not exist
_job.runClassMethod (anywheresoftware.b4a.samples.httputils2.httpjob.class, "_complete",(Object)(_taskid));
                                                            ^
1 error
 
Do you get this error when you save the project? Or only when you compile with the rapid debugger?

I get the error only when compilng with rapid debugger (not when saving or using legacy).
I emailed you this app a month or two ago regarding "warnings" breaking the debugger. You said you would try it with the new version. If you still have it, you should be able to duplicate this warning error.
 
Rapid debugger, got this error , can you check without code? Of couse packege name is not anywheresoftware.b4a.samples.httputils2...

Code: Copy
Parsing code.                          0.02
Compiling code.                        0.06
Compiling layouts code.                0.03
Generating R file.                      0.10
Compiling debugger engine code.        Error
B4A line: 70
job.Complete(TaskId)
javac 1.6.0_31
shell\src\com\holdemadvantage\borsaitaliana\httputils2service_subs_0.java:35: package anywheresoftware.b4a.samples.httputils2 does not exist
_job.runClassMethod (anywheresoftware.b4a.samples.httputils2.httpjob.class, "_complete",(Object)(_taskid));
                                                            ^
1 error

You seem to be answering Erel's questions which were directed at me. Perhaps you are in the wrong thread?
 
Back
Top