J johnaaronrose Active Member Licensed User Longtime User Jun 12, 2013 #1 I'm getting a java.lang.NumberFormatException at java line 2013 in main_load setup. However, there is no line 2013 in the B4A file for main or the bas file for the setup module. I've attached the .zip for the project. Attachments OSMapGPS.zip OSMapGPS.zip 132.9 KB · Views: 237
I'm getting a java.lang.NumberFormatException at java line 2013 in main_load setup. However, there is no line 2013 in the B4A file for main or the bas file for the setup module. I've attached the .zip for the project.
thedesolatesoul Expert Licensed User Longtime User Jun 12, 2013 #2 johnaaronrose said: I'm getting a java.lang.NumberFormatException at java line 2013 in main_load setup. However, there is no line 2013 in the B4A file for main or the bas file for the setup module. I've attached the .zip for the project. Click to expand... Java line 2013 means line 2013 in the Java file not B4A file (in Objects\src) If you run with debug more it will give you the B4A line as well. Upvote 0
johnaaronrose said: I'm getting a java.lang.NumberFormatException at java line 2013 in main_load setup. However, there is no line 2013 in the B4A file for main or the bas file for the setup module. I've attached the .zip for the project. Click to expand... Java line 2013 means line 2013 in the Java file not B4A file (in Objects\src) If you run with debug more it will give you the B4A line as well.
J johnaaronrose Active Member Licensed User Longtime User Jun 12, 2013 #3 Correction My mistake: I typed ".b4a file" rather than the .java file. I also forgot that the line number quoted is the line number of the line in the java file rather than the line number quoted against B4A comments! Upvote 0
Correction My mistake: I typed ".b4a file" rather than the .java file. I also forgot that the line number quoted is the line number of the line in the java file rather than the line number quoted against B4A comments!
klaus Expert Licensed User Longtime User Jun 12, 2013 #4 As thedesolatesoul already told you: run the program in Debug mode ! Then the program will stop at the line where the error appears and give you a more precise message. Best regards. Upvote 0
As thedesolatesoul already told you: run the program in Debug mode ! Then the program will stop at the line where the error appears and give you a more precise message. Best regards.