B4J Question [ABMaterial] [Solved] error in debug/release mode

magi6162

Well-Known Member
Licensed User
Start web app in debug mode.
The home page appears that has some buttons to open other pages.
When I press the buttons I get this:
Websocket first connection
Waiting for value (101 ms)
Waiting for value (101 ms)
JWVALHome5807d876-35e9-4765-ba8b-01e7b9a49e11
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:384)
at org.eclipse.jetty.io.ChannelEndPoint$3.run(ChannelEndPoint.java:139)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Connessione interrotta dal software del computer host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
... 10 more
Disconnected
Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (101 ms)
Waiting for value (101 ms)
Waiting for value (101 ms)
Waiting for value (100 ms)
Waiting for value (102 ms)
ListaTuoiRapporti5807d876-35e9-4765-ba8b-01e7b9a49e11
Waiting for value (100 ms)

After ^ F5 I get this:
Waiting for debugger to connect...
Program started.
init mysql
apr 22, 2018 1:25:43 AM com.mchange.v2.log.MLog
INFORMAZIONI: MLog clients using java 1.4+ standard logging.
apr 22, 2018 1:25:43 AM com.mchange.v2.c3p0.C3P0Registry
INFORMAZIONI: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
Collegamento al database
apr 22, 2018 1:25:44 AM com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource
INFORMAZIONI: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 20000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 1bqs5759u1t2mpz4y1n3v7|42f30e0a, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 1bqs5759u1t2mpz4y1n3v7|42f30e0a, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://localhost:3306/jwval_org?useSSL=false&zeroDateTimeBehavior=convertToNull, maxAdministrativeTaskTime -> 0, maxConnection...
Start B4J Analyse!
When an error occurs, check the B4JAnalyse.log file in the Objects folder to see the last B4J line it was working on.
Collecting data from B4J source files... (1/2)
ABMShared.bas
DBM.bas
HttpsFilter.bas
ABMRootFilter.bas
CustomJSPDF.bas
ABMErrorHandler.bas
ABMCacheScavenger.bas
ABMCacheControl.bas
ABMUploadHandler.bas
ModificaTerritori.bas
PlanningSala.bas
GestioneGruppi.bas
Bacheca.bas
ListaRapportiCong.bas
ListaGruppi.bas
Congregazioni.bas
ListaProclamatori.bas
AboutPage.bas
ABMApplication.bas
MappaTerritori.bas
ModificaDatiAccesso.bas
RegistroTerritori.bas
ListaTuoiRapporti.bas
InserisciTuoRapporto.bas
ModificaTuoRapporto.bas
JWVALHome.bas
ListaAreeAttesa.bas
NuovoRapportoGruppo.bas
Servizio.bas
Presenti.bas
ListaRapportiGruppo.bas
Agenda.bas
JWVAL.b4j
Analysing data from B4J source files... (2/2)
loading C:\PROGET~2\JWVAL\Objects: copymewithjar.needs...
Using cache system: 3.0
Needs material/awesome icons
Building C:\PROGET~2\JWVAL\Objects\copymewithjar.js.needs
Building core.min.1524353143201.css...
2018-04-22 01:25:51.961:INFO::main: Logging initialized @9705ms to org.eclipse.jetty.util.log.StdErrLog
2018-04-22 01:25:52.079:INFO:eek:ejs.Server:main: jetty-9.4.z-SNAPSHOT
2018-04-22 01:25:52.138:INFO:eek:ejs.session:main: DefaultSessionIdManager workerName=node0
2018-04-22 01:25:52.138:INFO:eek:ejs.session:main: No SessionScavenger set, using defaults
2018-04-22 01:25:52.141:INFO:eek:ejs.session:main: Scavenging every 600000ms
2018-04-22 01:25:52.200:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@7adda9cc{/,file:///C:/ProgettiB4J/JWVAL/Objects/www/,AVAILABLE}
2018-04-22 01:25:52.203:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened C:\ProgettiB4J\JWVAL\Objects\logs\b4j-2018_04_21.request.log
2018-04-22 01:25:52.226:INFO:eek:ejs.AbstractConnector:main: Started ServerConnector@4c9f8c13{HTTP/1.1,[http/1.1]}{0.0.0.0:51047}
2018-04-22 01:25:52.226:INFO:eek:ejs.Server:main: Started @9971ms
Emulated network latency: 100ms
2018-04-22 01:25:52.235:INFO:eek:ejs.AbstractConnector:main: Stopped ServerConnector@4c9f8c13{HTTP/1.1,[http/1.1]}{0.0.0.0:51047}
2018-04-22 01:25:52.235:INFO:eek:ejs.session:main: Stopped scavenging
2018-04-22 01:25:52.238:INFO:eek:ejsh.ContextHandler:main: Stopped o.e.j.s.ServletContextHandler@7adda9cc{/,file:///C:/ProgettiB4J/JWVAL/Objects/www/,UNAVAILABLE}
2018-04-22 01:25:52.243:INFO:eek:ejs.Server:main: jetty-9.4.z-SNAPSHOT
2018-04-22 01:25:52.260:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@7adda9cc{/,file:///C:/ProgettiB4J/JWVAL/Objects/www/,AVAILABLE}
2018-04-22 01:25:52.261:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened C:\ProgettiB4J\JWVAL\Objects\logs\b4j-2018_04_21.request.log
2018-04-22 01:25:52.261:INFO:eek:ejs.session:main: DefaultSessionIdManager workerName=node0
2018-04-22 01:25:52.262:INFO:eek:ejs.session:main: No SessionScavenger set, using defaults
2018-04-22 01:25:52.262:INFO:eek:ejs.session:main: Scavenging every 660000ms
2018-04-22 01:25:52.265:INFO:eek:ejs.AbstractConnector:main: Started ServerConnector@4c9f8c13{HTTP/1.1,[http/1.1]}{0.0.0.0:51047}
2018-04-22 01:25:52.265:INFO:eek:ejs.Server:main: Started @10010ms
2018-04-22 01:25:52.266:INFO:eek:ejs.session:main: Scavenging every 990000ms
Viewer running on os: windows 10
Trying to open: C:\PROGET~2\JWVAL\Objects/viewer.html
Connected
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Connected
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Connected
Waiting for value (101 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Connected
Waiting for value (101 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (101 ms)
Disconnected
Connected
Waiting for value (101 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (101 ms)
Waiting for value (101 ms)
JWVALHome5807d876-35e9-4765-ba8b-01e7b9a49e11
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:384)
at org.eclipse.jetty.io.ChannelEndPoint$3.run(ChannelEndPoint.java:139)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Connessione interrotta dal software del computer host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
... 10 more
Disconnected
Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Waiting for value (101 ms)
Waiting for value (101 ms)
Waiting for value (101 ms)
Waiting for value (100 ms)
Waiting for value (102 ms)
ListaTuoiRapporti5807d876-35e9-4765-ba8b-01e7b9a49e11
Waiting for value (100 ms)
Disconnected
Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (101 ms)
Waiting for value (101 ms)
JWVALHome5807d876-35e9-4765-ba8b-01e7b9a49e11
Disconnected
Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (100 ms)
Waiting for value (100 ms)
ModificaDatiAccesso5807d876-35e9-4765-ba8b-01e7b9a49e11
Waiting for value (100 ms)
Disconnected
Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (100 ms)
Waiting for value (101 ms)
JWVALHome5807d876-35e9-4765-ba8b-01e7b9a49e11
Disconnected
preparing for url refresh
preparing for url refresh
preparing for url refresh
Disconnected
Disconnected
Disconnected
Connected
Waiting for value (101 ms)
Waiting for value (106 ms)
Waiting for value (100 ms)
Disconnected
Connected
Waiting for value (100 ms)
Waiting for value (104 ms)
Waiting for value (100 ms)
Disconnected
Connected
Waiting for value (101 ms)
Waiting for value (100 ms)
Waiting for value (100 ms)
Connected
Waiting for value (100 ms)
Waiting for value (127 ms)
Waiting for value (101 ms)
Disconnected
Disconnected
Connected
Waiting for value (100 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (101 ms)
Waiting for value (100 ms)
JWVALHome7dbb29ab-8b87-4150-bde9-74afad93b4fd
Connected
Waiting for value (142 ms)
Saving the first instance
Waiting for value (102 ms)
Websocket first connection
Waiting for value (191 ms)
Waiting for value (106 ms)
JWVALHomee50b7842-f197-468b-8162-cc98fee72b22
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:322)
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:372)
at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:756)
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:522)
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:717)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:768)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:234)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:218)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:535)
at org.eclipse.jetty.util.IO.copy(IO.java:163)
at org.eclipse.jetty.util.resource.Resource.writeTo(Resource.java:682)
at org.eclipse.jetty.server.ResourceService.sendData(ResourceService.java:754)
at org.eclipse.jetty.server.ResourceService.doGet(ResourceService.java:294)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:458)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at anywheresoftware.b4j.object.JServlet$Handle.run(JServlet.java:135)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.ShellBA.startMessageLoop(ShellBA.java:114)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:148)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:303)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
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)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4j.object.JServlet.createInstance(JServlet.java:65)
at anywheresoftware.b4j.object.BackgroundWorkersManager$1.run(BackgroundWorkersManager.java:21)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.ShellBA.startMessageLoop(ShellBA.java:114)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:148)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:303)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
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)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at mc.jw.jwval.main.main(main.java:29)
Caused by: java.io.IOException: Connessione interrotta dal software del computer host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
... 51 more
Connected
Waiting for value (103 ms)
Saving the first instance
Waiting for value (100 ms)
Websocket first connection
Waiting for value (100 ms)
Waiting for value (106 ms)
JWVALHomea217e227-f60d-4024-beb8-c21df0dfaa26
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
at org.eclipse.jetty.io.WriteFlusher.completeWrite(WriteFlusher.java:384)
at org.eclipse.jetty.io.ChannelEndPoint$3.run(ChannelEndPoint.java:139)
at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:673)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:591)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Connessione interrotta dal software del computer host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
... 10 more
Connected
Waiting for value (101 ms)
Saving the first instance
Waiting for value (116 ms)
Websocket first connection
Waiting for value (250 ms)
Waiting for value (110 ms)
JWVALHome4c4a6597-bc62-4877-84a4-1d045ad80c30
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:322)
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:372)
at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:756)
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:522)
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:717)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:768)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:234)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:218)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:530)
at org.eclipse.jetty.util.IO.copy(IO.java:163)
at org.eclipse.jetty.util.resource.Resource.writeTo(Resource.java:682)
at org.eclipse.jetty.server.ResourceService.sendData(ResourceService.java:754)
at org.eclipse.jetty.server.ResourceService.doGet(ResourceService.java:294)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:458)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at anywheresoftware.b4j.object.JServlet$Handle.run(JServlet.java:135)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.ShellBA.startMessageLoop(ShellBA.java:114)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:148)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:303)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
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)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4j.object.JServlet.createInstance(JServlet.java:65)
at anywheresoftware.b4j.object.BackgroundWorkersManager$1.run(BackgroundWorkersManager.java:21)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.ShellBA.startMessageLoop(ShellBA.java:114)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:148)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:303)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
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)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at mc.jw.jwval.main.main(main.java:29)
Caused by: java.io.IOException: Connessione interrotta dal software del computer host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
... 51 more
org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:292)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429)
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:322)
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:372)
at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:756)
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224)
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:522)
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:717)
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:768)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:234)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:218)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:530)
at org.eclipse.jetty.util.IO.copy(IO.java:163)
at org.eclipse.jetty.util.resource.Resource.writeTo(Resource.java:682)
at org.eclipse.jetty.server.ResourceService.sendData(ResourceService.java:754)
at org.eclipse.jetty.server.ResourceService.doGet(ResourceService.java:294)
at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:458)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1650)
at anywheresoftware.b4j.object.JServlet$Handle.run(JServlet.java:135)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.ShellBA.startMessageLoop(ShellBA.java:114)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:148)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:303)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
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)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at anywheresoftware.b4j.object.JServlet.createInstance(JServlet.java:65)
at anywheresoftware.b4j.object.BackgroundWorkersManager$1.run(BackgroundWorkersManager.java:21)
at anywheresoftware.b4a.keywords.SimpleMessageLoop.runMessageLoop(SimpleMessageLoop.java:30)
at anywheresoftware.b4a.StandardBA.startMessageLoop(StandardBA.java:26)
at anywheresoftware.b4a.ShellBA.startMessageLoop(ShellBA.java:114)
at anywheresoftware.b4a.keywords.Common.StartMessageLoop(Common.java:148)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:303)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159)
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)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at mc.jw.jwval.main.main(main.java:29)
Caused by: java.io.IOException: Connessione interrotta dal software del computer host
at sun.nio.ch.SocketDispatcher.write0(Native Method)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:51)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
at sun.nio.ch.IOUtil.write(IOUtil.java:65)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:270)
... 51 more

Note that I have not made any changes to the code and that the web app works properly in release mode.
What happened?
Thanks for any suggestions.
 

alwaysbusy

Expert
Licensed User
When did 4.26 come out
It isn't yet. He received an alpha-release to test some specific new Google Maps features. Official 4.26 probably next week (but will probably be 4.30 by then as internally I'm alrady at 4.29 ;)). I was hoping the new B4J version would be out by then (supporting the new Custom class templates - Class templates can be added to libraries like in the B4A version) but I'll forsee this then for the next release.
 
Upvote 0

OliverA

Expert
Licensed User
Can you try 4.25 and see if you are still having these issues?
 
Upvote 0

alwaysbusy

Expert
Licensed User
Can you try 4.25
Shouldn't make a difference. The changes in 4.26 were only related to the Google Maps component. Something specific must be happening in the app. As I said, if I use for example the B4J TextWriter, I also get a similar error. I had to use File.WriteString instead. The thing is, it shouldn't 'break' the webapp. Like in my case with the textwriter, it gave this error but the Web App continued everything after that command as normal anyway. So in most cases, it is just kind of a 'warning'. Don't know yet why magi6162 crashes at that point.
 
Upvote 0

mindful

Active Member
Licensed User
I tried on three different computers (installing b4j and ABM 4.26 on each one) but it was the same problem, on the VPS the program runs well.
If the program runs without errors on VPS and as you said that you tried on 3 other computer with no luck ... maybe there is something wrong with your computers. Maybe the antivirus or the firewall is dropping the connection ... As AB said the error is raised because the connection is broken in mid data transfer.

So my best guess is : 1. antivirus or firewall, 2. router or something in your network.
 
Upvote 0

magi6162

Well-Known Member
Licensed User
I used the same database on both VPS and development computers, I used the same jdk, but to no avail.
Developing has become complicated due to debugging difficulties.
To try a variant, I have to use VPS and this creates problems for users, as well as making the debugging process slow.

At this point I do not know how to proceed.
Thank you all for your help, but I have to do a reason.
 
Upvote 0
Top