Occasionally, in debug mode, I get this error during compilation:
Normally, everything runs well
The start_server code goes like this:
Not sure if I notice something like this in release mode...
B4X:
Program started.
An error occurred:
(Line: 107) Sub start_server
java.lang.IndexOutOfBoundsException: index 3
Normally, everything runs well
B4X:
Program started.
2014-10-05 14:23:41.852:INFO::main: Logging initialized @4550ms
2014-10-05 14:23:42.222:INFO:oejs.Server:main: jetty-9.1.z-SNAPSHOT
2014-10-05 14:23:42.293:WARN:oejh.MimeTypes:main: java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/encoding, locale el_GR
2014-10-05 14:23:42.332:INFO:oejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@10f35d1{/,file:wwwFolder,AVAILABLE}
2014-10-05 14:23:42.342:INFO:oejs.AbstractNCSARequestLog:main: Opened logsFolder\logs\b4j-2014_10_05.request.log
2014-10-05 14:23:42.421:INFO:oejs.ServerConnector:main: Started ServerConnector@b57646{HTTP/1.1}{0.0.0.0:5001}
2014-10-05 14:23:42.424:INFO:oejs.Server:main: Started @5182ms
Emulated network latency: 100ms
The start_server code goes like this:
B4X:
Sub start_server
srvr.Initialize("")
srvr.Port = 5001
' here I add some handlers
srvr.Start
StartMessageLoop
Not sure if I notice something like this in release mode...