B4J Question [ABMaterial] Error in ABMaterial 3.00 Compilation

Philip Chatzigeorgiadis

Active Member
Licensed User
Longtime User
This error appears in compilation, after updating Library (and www folder) to version 3.00 from 2.51.
The changes mentioned in the 3.00 checklist have been incorporated.
Collecting data from B4J source files... (1/2)

init SQL Server
Μαρ 16, 2017 3:34:16 ΜΜ com.mchange.v2.log.MLog
INFO: MLog clients using java 1.4+ standard logging.
Μαρ 16, 2017 3:34:17 ΜΜ com.mchange.v2.c3p0.C3P0Registry
INFO: Initializing c3p0-0.9.5.2 [built 08-December-2015 22:06:04 -0800; debug? true; trace: 10]
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
ChatShared.bas
DBM.bas
ABMApplication.bas
ABMCacheScavenger.bas
ABMUploadHandler.bas
...
...
WorkFlow.bas
StreamWebDev.b4j
Analysing data from B4J source files... (2/2)
abmapplication._startserver (java line: 478)
java.lang.StringIndexOutOfBoundsException: String index out of range: -3
at java.lang.String.substring(String.java:1955)
at com.ab.abmaterial.ABMPage.WritePageToDiskPerTheme(Unknown Source)
at com.ab.abmaterial.ABMPage.WritePageToDisk(Unknown Source)
at com.ab.abmaterial.ABMaterial.WritePageToDisk(Unknown Source)
at com.ab.abmaterial.ABMaterial.WriteAppLauchPageToDisk(Unknown Source)
at streamweb.ab.com.abmapplication._startserver(abmapplication.java:478)
at streamweb.ab.com.main._appstart(main.java:389)
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:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:84)
at streamweb.ab.com.main.main(main.java:29)
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…