Hi, I was hoping ArchiverPLUSzip.lib (a Chargeable lib from Informatix) would work in B4J, as the original Archiver.lib is flawed, but after adding the lib and just this code..
I get this error
Program started.
main._process_globals (java line: 316)
java.lang.VerifyError: Expecting a stackmap frame at branch target 104
Exception Details:
Location:
b4a/flm/archiverplus/ArchiverPlusZip.a(Lanywheresoftware/b4a/BA;La/a/a/a/c;Ljava/lang/String V @20: ifle
Reason:
Expected stackmap frame at this location.
Bytecode:
0x0000000: 2c04 b500 632a 2cb4 0062 b500 8f2d b600
0x0000010: deb6 00d9 9e00 542a b400 8f2b b500 852a
0x0000020: b400 8fbb 005a 592d b600 deb2 008c b600
0x0000030: ddb8 00df b700 e012 1bb6 00e2 b600 e3b5
0x0000040: 0086 2ab4 008f bb00 5a59 2db6 00de b200
0x0000050: 8cb6 00dd b800 dfb7 00e0 121c b600 e2b6
0x0000060: 00e3 b500 87a7 001b 2ab4 008f 01b5 0085
0x0000070: 2ab4 008f 01b5 0086 2ab4 008f 01b5 0087
0x0000080: 2ab4 008f 03b5 0088 b1
at b4j.example.main._process_globals(main.java:316)
at b4j.example.main.initializeProcessGlobals(main.java:238)
at b4j.example.main.start(main.java:33)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(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$149(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)
I have spoken to Informatix who said "
You should ask Erel because I have no knowledge of B4J. It seems there's a problem with the thread run in the background. ArchiverPlusZip does not call the Android API so it should work with B4J."
Thanks
Aidy
B4X:
Sub Process_Globals
Private Arc As ArchiverPlusZip
...
I get this error
Program started.
main._process_globals (java line: 316)
java.lang.VerifyError: Expecting a stackmap frame at branch target 104
Exception Details:
Location:
b4a/flm/archiverplus/ArchiverPlusZip.a(Lanywheresoftware/b4a/BA;La/a/a/a/c;Ljava/lang/String
Reason:
Expected stackmap frame at this location.
Bytecode:
0x0000000: 2c04 b500 632a 2cb4 0062 b500 8f2d b600
0x0000010: deb6 00d9 9e00 542a b400 8f2b b500 852a
0x0000020: b400 8fbb 005a 592d b600 deb2 008c b600
0x0000030: ddb8 00df b700 e012 1bb6 00e2 b600 e3b5
0x0000040: 0086 2ab4 008f bb00 5a59 2db6 00de b200
0x0000050: 8cb6 00dd b800 dfb7 00e0 121c b600 e2b6
0x0000060: 00e3 b500 87a7 001b 2ab4 008f 01b5 0085
0x0000070: 2ab4 008f 01b5 0086 2ab4 008f 01b5 0087
0x0000080: 2ab4 008f 03b5 0088 b1
at b4j.example.main._process_globals(main.java:316)
at b4j.example.main.initializeProcessGlobals(main.java:238)
at b4j.example.main.start(main.java:33)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(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$149(WinApplication.java:191)
at java.lang.Thread.run(Thread.java:745)
I have spoken to Informatix who said "
You should ask Erel because I have no knowledge of B4J. It seems there's a problem with the thread run in the background. ArchiverPlusZip does not call the Android API so it should work with B4J."
Thanks
Aidy