Tayfur Well-Known Member Licensed User Longtime User Nov 8, 2018 #1 Hi @Erel; I have sometimes read error when Run(debug mode) I see the error many times in a row it works normally sametimes when it Rebulid or save project or closing desinger ide. then everything works normally. For now, it has no effect on my project, it can only be annoying. Spoiler: LOGS: Waiting for debugger to connect... 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:498) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.NullPointerException at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:383) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) ... 5 more java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$155(LauncherImpl.java:352) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294) 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$147(WinApplication.java:177) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset at anywheresoftware.b4a.BA.raiseEvent2(BA.java:119) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:98) at b4j.example.main.<clinit>(main.java:17) ... 11 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) 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:229) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:168) 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:498) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90) ... 13 more
Hi @Erel; I have sometimes read error when Run(debug mode) I see the error many times in a row it works normally sametimes when it Rebulid or save project or closing desinger ide. then everything works normally. For now, it has no effect on my project, it can only be annoying. Spoiler: LOGS: Waiting for debugger to connect... 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:498) at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.NullPointerException at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:383) at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) ... 5 more java.lang.ExceptionInInitializerError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.sun.javafx.application.LauncherImpl.lambda$launchApplicationWithArgs$155(LauncherImpl.java:352) at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326) at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294) 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$147(WinApplication.java:177) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.RuntimeException: java.net.SocketException: Connection reset at anywheresoftware.b4a.BA.raiseEvent2(BA.java:119) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:98) at b4j.example.main.<clinit>(main.java:17) ... 11 more Caused by: java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:141) 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:229) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:168) 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:498) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90) ... 13 more
Erel B4X founder Staff member Licensed User Longtime User Nov 8, 2018 #2 Does it happen when the program start?
Tayfur Well-Known Member Licensed User Longtime User Nov 8, 2018 #3 Erel said: Does it happen when the program start? Click to expand... yes; main screen not loaded
Erel B4X founder Staff member Licensed User Longtime User Nov 9, 2018 #4 Based on the error the loopback connection between the debugger and the actual app broke. Might be related to an over-aggressive antivirus.
Based on the error the loopback connection between the debugger and the actual app broke. Might be related to an over-aggressive antivirus.
Tayfur Well-Known Member Licensed User Longtime User Nov 9, 2018 #5 Erel said: Based on the error the loopback connection between the debugger and the actual app broke. Might be related to an over-aggressive antivirus. Click to expand... Therefore, it is ok. I use Kaspersky a.v.
Erel said: Based on the error the loopback connection between the debugger and the actual app broke. Might be related to an over-aggressive antivirus. Click to expand... Therefore, it is ok. I use Kaspersky a.v.