B4J Question Error with JPOI Library

Hi all,
i user JPOI Library for do with excel in my app. when i run with b4j compiler all the thing are good and i don't have any error. when i compile with B4JPackager11, it makes crash and closed.
what should i do?
i find this error
B4X:
XML-BEANS compiled schema: Could not locate compiled schema resource schemaorg_apache_xmlbeans/system/sD023D6490046BA0250A839A9AD24C443/index.xsb (schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443.index) - code 0
org.apache.xmlbeans.SchemaTypeLoaderException: XML-BEANS compiled schema: Could not locate compiled schema resource schemaorg_apache_xmlbeans/system/sD023D6490046BA0250A839A9AD24C443/index.xsb (schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443.index) - code 0
    at b4j/org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl$XsbReader.<init>(Unknown Source)
    at b4j/org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.initFromHeader(Unknown Source)
    at b4j/org.apache.xmlbeans.impl.schema.SchemaTypeSystemImpl.<init>(Unknown Source)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
    at b4j/schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443.TypeSystemHolder.loadTypeSystem(Unknown Source)
    at b4j/schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443.TypeSystemHolder.<clinit>(Unknown Source)
    at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
    at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unknown Source)
    at java.base/jdk.internal.reflect.UnsafeFieldAccessorFactory.newFieldAccessor(Unknown Source)
    at java.base/jdk.internal.reflect.ReflectionFactory.newFieldAccessor(Unknown Source)
    at java.base/java.lang.reflect.Field.acquireFieldAccessor(Unknown Source)
    at java.base/java.lang.reflect.Field.getFieldAccessor(Unknown Source)
    at java.base/java.lang.reflect.Field.get(Unknown Source)
    at b4j/org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Unknown Source)
    at b4j/org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook.<clinit>(Unknown Source)
    at b4j/org.openxmlformats.schemas.spreadsheetml.x2006.main.CTWorkbook$Factory.newInstance(Unknown Source)
    at b4j/org.apache.poi.xssf.usermodel.XSSFWorkbook.onWorkbookCreate(Unknown Source)
    at b4j/org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(Unknown Source)
    at b4j/org.apache.poi.xssf.streaming.SXSSFWorkbook.<init>(Unknown Source)
    at b4j/anywheresoftware.b4j.objects.PoiWorkbookWrapper.InitializeNew(Unknown Source)
    at b4j/ir.schoolaghamostafa.programingcenter.m_azmoonpasokh._vvvvv5(Unknown Source)
    at b4j/ir.schoolaghamostafa.programingcenter.m_azmoonpasokh._getexcelazmoon_onresponse(Unknown Source)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)
    at b4j/anywheresoftware.b4a.BA.raiseEvent2(Unknown Source)
    at b4j/anywheresoftware.b4a.BA$3.run(Unknown Source)
    at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(Unknown Source)
    at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(Unknown Source)
    at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)
 
Thanks dear Erel.
B4X:
<-- HTTP FAILED: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
Error: Received fatal alert: handshake_failure
for this problem https://www.b4x.com/android/forum/t...ssl-sslhandshakeexception.106141/#post-665029
what should i do with (Build Standalone package) to solve this SSL problem?

i add these lines but have ssl Error

B4X:
#PackagerProperty: IconFile = ..\Files\ico.ico
#PackagerProperty: ExeName = School Panel
#PackagerProperty: IncludedModules = jdk.crypto.ec
#PackagerProperty: AdditionalModuleInfoString = opens schemaorg_apache_xmlbeans.system.sD023D6490046BA0250A839A9AD24C443;
#PackagerProperty: IncludedModules = jdk.charsets
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…