Swissmade Well-Known Member Licensed User Longtime User Feb 28, 2015 #21 Hi Erel, Is there a possibility to use 2.8 with my Debug problems or is it the way I write the code?? Back to 2.5 I see many very nice options I like to use with 2.8. The program you have seen will getting more and more complex and bigger. License plate reading will also a part of this. Many thanks for you good help.
Hi Erel, Is there a possibility to use 2.8 with my Debug problems or is it the way I write the code?? Back to 2.5 I see many very nice options I like to use with 2.8. The program you have seen will getting more and more complex and bigger. License plate reading will also a part of this. Many thanks for you good help.
Erel B4X founder Staff member Licensed User Longtime User Mar 1, 2015 #22 Was this issue corrected: https://www.b4x.com/android/forum/threads/debug-mode-issue.51244/ ?
Swissmade Well-Known Member Licensed User Longtime User Mar 1, 2015 #23 Erel said: Was this issue corrected Click to expand... Yes Erel see https://www.b4x.com/android/forum/threads/debug-mode-issue.51244/#post-320975
Erel said: Was this issue corrected Click to expand... Yes Erel see https://www.b4x.com/android/forum/threads/debug-mode-issue.51244/#post-320975
Swissmade Well-Known Member Licensed User Longtime User Mar 12, 2015 #24 Working with B4J 2.5 is still have problems in Debug mode. Same I have seen in B4J 2.8. Start the application I get following Error. Start again the error is away most of the tima and the Program is starting. Seems that the Debugger have some speed problems. This is happening when I change or add some code. Processing timeout is set to 60 seconds. Hope somebody has a solutin for this. Thanks java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:344) at com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$148(LauncherImpl.java:327) at com.sun.javafx.application.LauncherImpl$$Lambda$43/99550389.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$166(PlatformImpl.java:323) at com.sun.javafx.application.PlatformImpl$$Lambda$44/340870931.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292) at com.sun.javafx.application.PlatformImpl$$Lambda$47/1223211377.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl$$Lambda$46/1530388690.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102) at com.sun.glass.ui.win.WinApplication$$Lambda$37/1190900417.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset at anywheresoftware.b4a.BA.raiseEvent2(BA.java:114) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:82) at tcp.server.main.<clinit>(main.java:16) ... 16 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:189) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at java.io.DataInputStream.readByte(DataInputStream.java:265) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:217) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93) ... 18 more java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.NullPointerException at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:358) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303) ... 5 more
Working with B4J 2.5 is still have problems in Debug mode. Same I have seen in B4J 2.8. Start the application I get following Error. Start again the error is away most of the tima and the Program is starting. Seems that the Debugger have some speed problems. This is happening when I change or add some code. Processing timeout is set to 60 seconds. Hope somebody has a solutin for this. Thanks java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:344) at com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$148(LauncherImpl.java:327) at com.sun.javafx.application.LauncherImpl$$Lambda$43/99550389.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$166(PlatformImpl.java:323) at com.sun.javafx.application.PlatformImpl$$Lambda$44/340870931.run(Unknown Source) at com.sun.javafx.application.PlatformImpl.lambda$null$164(PlatformImpl.java:292) at com.sun.javafx.application.PlatformImpl$$Lambda$47/1223211377.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$165(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl$$Lambda$46/1530388690.run(Unknown Source) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$141(WinApplication.java:102) at com.sun.glass.ui.win.WinApplication$$Lambda$37/1190900417.run(Unknown Source) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset at anywheresoftware.b4a.BA.raiseEvent2(BA.java:114) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:82) at tcp.server.main.<clinit>(main.java:16) ... 16 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:189) at java.net.SocketInputStream.read(SocketInputStream.java:121) at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) at java.io.BufferedInputStream.read(BufferedInputStream.java:265) at java.io.DataInputStream.readByte(DataInputStream.java:265) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:217) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:156) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93) ... 18 more java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.NullPointerException at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:358) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:303) ... 5 more
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2015 #25 It is worth checking the IDE logs as explained here: https://www.b4x.com/android/forum/threads/intermittent-error-message.9047/#post-50478
It is worth checking the IDE logs as explained here: https://www.b4x.com/android/forum/threads/intermittent-error-message.9047/#post-50478
Swissmade Well-Known Member Licensed User Longtime User Mar 12, 2015 #26 Erel said: IDE logs Click to expand... Thanks Erel, Have the log. I hope you can help me out here. Attachments log.txt log.txt 21 KB · Views: 550
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2015 #27 Seems like you are not using the modified jRapidDebug.jar I you sent in the past which should (partially) fix this issue.
Seems like you are not using the modified jRapidDebug.jar I you sent in the past which should (partially) fix this issue.
Swissmade Well-Known Member Licensed User Longtime User Mar 12, 2015 #28 Erel said: using the modified jRapidDebug.jar Click to expand... Just installed the version 2.5 Ok will install this thanks.
Erel said: using the modified jRapidDebug.jar Click to expand... Just installed the version 2.5 Ok will install this thanks.
Swissmade Well-Known Member Licensed User Longtime User Mar 12, 2015 #29 Installing B4J 2.8 again and the Debugger Fix give me again the same issue. Breakpoints not working and not seen when I start with Breakpoints on. Place them later again work sometimes.
Installing B4J 2.8 again and the Debugger Fix give me again the same issue. Breakpoints not working and not seen when I start with Breakpoints on. Place them later again work sometimes.
Swissmade Well-Known Member Licensed User Longtime User Mar 12, 2015 #30 Running the code the Debbuger sometimes is stop by a Breakpoint not exist. This without changing any code.
Running the code the Debbuger sometimes is stop by a Breakpoint not exist. This without changing any code.
Swissmade Well-Known Member Licensed User Longtime User Mar 14, 2015 #31 I have the Idea, that somehow when I start the Program old code is still in memory. Leave the IDE and start again the code is running with Debug. Is there a option for the Debugger to force full compilation or is this always done. Running B4J 2.8 with the modified jRapidDebug.jar
I have the Idea, that somehow when I start the Program old code is still in memory. Leave the IDE and start again the code is running with Debug. Is there a option for the Debugger to force full compilation or is this always done. Running B4J 2.8 with the modified jRapidDebug.jar
Swissmade Well-Known Member Licensed User Longtime User Mar 14, 2015 #32 Reinstall B4J 2.5 and I have less problems then with 2.8. Will see what is happening.
Erel B4X founder Staff member Licensed User Longtime User Mar 15, 2015 #33 swissmade said: Is there a option for the Debugger to force full compilation or is this always done Click to expand... It always forces a full compilation in B4J.
swissmade said: Is there a option for the Debugger to force full compilation or is this always done Click to expand... It always forces a full compilation in B4J.
Swissmade Well-Known Member Licensed User Longtime User Mar 15, 2015 #34 Erel said: It always forces a full compilation in B4J. Click to expand... Maybe a Memory issue with Big Programs. Ok Then I have to stay with 2.5 for not having so much Debug problems. Bad 2.8 has some very nice options I like to use.
Erel said: It always forces a full compilation in B4J. Click to expand... Maybe a Memory issue with Big Programs. Ok Then I have to stay with 2.5 for not having so much Debug problems. Bad 2.8 has some very nice options I like to use.
Swissmade Well-Known Member Licensed User Longtime User Mar 15, 2015 #35 I really get the idea it is a memory issue. Get sometimes the same error with 2.5 and when I close B4J and Start it again the Problem is away for a while. My Computer is not too fast. Still working with a Core 2 Quad and Windows 7. Last edited: Mar 15, 2015
I really get the idea it is a memory issue. Get sometimes the same error with 2.5 and when I close B4J and Start it again the Problem is away for a while. My Computer is not too fast. Still working with a Core 2 Quad and Windows 7.
Swissmade Well-Known Member Licensed User Longtime User Mar 16, 2015 #36 Maybe found something. When I get the Error I switch to release mode without running and switch it back to debug mode. The error is away for a while. This in B4J 2.5 and B4J 2.8. Maybe this can help.
Maybe found something. When I get the Error I switch to release mode without running and switch it back to debug mode. The error is away for a while. This in B4J 2.5 and B4J 2.8. Maybe this can help.
Swissmade Well-Known Member Licensed User Longtime User Mar 18, 2015 #37 Hi Erel Sorry to use your time on this thread but I think the Problem was on my PC. I always was thinking this is a Memory problem and it was but in an other way I expected. I never watch my memory in my PC because the PC is function normal and give me not any error. This week I have seen, that I only have 7GB instead of 8GB in my PC. Testing the Memory there was not any problem. After set the Bios, I never touch for a while, to Default settings I get 8GB back. Reinstall B4J 2.8 I don't see any errors anymore. I will watch this and will let you know if something else is going on. Thanks again for your very good support. Cheers Swissmade
Hi Erel Sorry to use your time on this thread but I think the Problem was on my PC. I always was thinking this is a Memory problem and it was but in an other way I expected. I never watch my memory in my PC because the PC is function normal and give me not any error. This week I have seen, that I only have 7GB instead of 8GB in my PC. Testing the Memory there was not any problem. After set the Bios, I never touch for a while, to Default settings I get 8GB back. Reinstall B4J 2.8 I don't see any errors anymore. I will watch this and will let you know if something else is going on. Thanks again for your very good support. Cheers Swissmade
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2015 #38 Interesting. Lets see whether this error returns. I wasn't able to reproduce it here.
Swissmade Well-Known Member Licensed User Longtime User Mar 19, 2015 #39 Erel said: I wasn't able to reproduce it here. Click to expand... I have seen this error again but not so much as before. Now I go to test this with the Debugger fix. I will let you know. Many thanks again.
Erel said: I wasn't able to reproduce it here. Click to expand... I have seen this error again but not so much as before. Now I go to test this with the Debugger fix. I will let you know. Many thanks again.
Swissmade Well-Known Member Licensed User Longtime User Mar 19, 2015 #40 swissmade said: Now I go to test this with the Debugger fix. Click to expand... What I see is, that when I start with Breakpoints, the Breakpoints are not seen and ignored. New added Breakpoints are seen. Start without Breakpoints and Add them when the Program is running, Breakpoints are seen. Maybe you can work with this to find a solution. If you like, I can arrange a Team-viewer session and you can see it what I mean.
swissmade said: Now I go to test this with the Debugger fix. Click to expand... What I see is, that when I start with Breakpoints, the Breakpoints are not seen and ignored. New added Breakpoints are seen. Start without Breakpoints and Add them when the Program is running, Breakpoints are seen. Maybe you can work with this to find a solution. If you like, I can arrange a Team-viewer session and you can see it what I mean.