Android Question 3rd party library not working in Release mode (only in debug)

EduardoElias

Well-Known Member
Licensed User
Longtime User
Hi great people!

I am fighting to make a 3rd party library works, it is for using payment pinpad. It is a library that is already in use on java apps and works fine.

The problem is that it does not work when in RELEASE mode, only on DEBUG mode.

I have the following code:

B4X:
Sub Class_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    Private nexupayment As JavaObject
    Private start As JavaObject
    Private contextActivity As JavaObject
    Private Context As JavaObject
    Private FProducao As Boolean
End Sub

'Initializes the object. You can add parameters to this method if needed.
Public Sub Initialize(aContext As JavaObject)
    Context = aContext
    start.InitializeContext

    Log(Application.PackageName)
    nexupayment = start.InitializeNewInstance(Application.PackageName&".ynexu.nexutransaction", Null)
    
    nexupayment.RunMethod("Start", Array(Context))
End Sub

Sub setProducao(aProducao As Boolean)
    FProducao = aProducao
End Sub

Sub getProducao As Boolean
    Return FProducao
End Sub

private Sub Preparar
    contextActivity.InitializeContext
    nexupayment.RunMethod("Preparar", Array(Context, contextActivity, FProducao))
End Sub

Sub Ativar(CPF As String)
    Preparar
    nexupayment.RunMethod("Ativar", Array(CPF))
End Sub

Sub Pagar(ValorPagamento As Double, FormaPagamento As String, NumeroParcelas As Int, ComJuros As Boolean)
    Preparar
    nexupayment.RunMethod("Pagar", Array(ValorPagamento, FormaPagamento, NumeroParcelas, ComJuros))
End Sub

#if java
import android.content.Context;
import android.app.Activity;

import java.util.HashMap;
import java.util.List;

import ca.nexu.nexupayment.NexuPayment;
import ca.nexu.nexupayment.NexuPaymentPrinterListener;
import ca.nexu.nexupayment.NexuPaymentTransactionListener;

public static class nexutransaction implements NexuPaymentTransactionListener, NexuPaymentPrinterListener {

    private String                         comprovanteEstabelecimento;
    private String                         comprovanteCliente;
    private String                         comprovanteClienteSMS;
    private String                         relatorioTransacoes;

    public nexutransaction() {
        // Required empty public constructor
    }

    enum    TransactionType {
        ativacao,
        pagamento,
        solicitarPreAut,
        confirmarPreAut,
        cancelamento,
        comprovante,
        relatorios;
    };

    private TransactionType                transactionType;

    public void setTransactionType(TransactionType transactionType) {
        this.transactionType = transactionType;
    }
    
    public TransactionType getTransactionType() {
        return this.transactionType;
    }

    public NexuPayment nexuPayment;

    public void Start(Context c) {
        BA.Log("Transaction.Ativar loadSDK");

        NexuPayment.loadSDK(c);
    }
    
    public void Preparar(Context c, Activity a, boolean Producao) {
            BA.Log("Transaction.Prepare");
    
         nexuPayment = new NexuPayment(this, c, a, null, null);
        nexuPayment.configurar("1.1.0", "DASHEN", "**** DASHEN ****", null);

        // servidor producao
        if (Producao) {
            BA.Log("Transaction.Ativar definirServidor");
            nexuPayment.definirServidor("epico.nexu.cloud", 60906);
        }

    }

    public void Pagar(double anValorPagamento, String asFormaPagamento, int anNumeroParcelas, boolean abComJuros) {
        BA.Log("Transaction.Pagar pagar");

        nexuPayment.pagar(anValorPagamento, asFormaPagamento, anNumeroParcelas, abComJuros);
    }

    public void Ativar(String CPF) {
        BA.Log("Transaction.Ativar");
 
        BA.Log("Transaction.Ativar NexuPayment.ativar "+CPF);
        setTransactionType(TransactionType.ativacao);
    
        nexuPayment.ativar(CPF);
    }


    @Override
    public void onPrinterError(String s) {
    }
    
    @Override
    public void onConfig() {
        BA.Log("Transaction.onConfig");
    }

    @Override
    public void onBegin() {
        BA.Log("Transaction.onBegin");
    }

    @Override
    public void onProgress(String progressMessage) {
        BA.Log("Transaction.onProgress "+progressMessage);
    }

    @Override
    public void onBeforeDone() {
        BA.Log("Transaction.onBeforeDone");
    }

    @Override
    public void onTransactionDone(HashMap<String, String> hashMap) {
        BA.Log("Transaction.onTransactionDone ");

        switch(getTransactionType()) {
            case ativacao:
                BA.Log("Transaction.onTransactionDone ATIVACAO");
                // hashMap vem vazio para ATIVACAO
                break;

            case comprovante:
                BA.Log("Transaction.onTransactionDone COMPROVANTE");

                // hashMap vem com comprovantes
                comprovanteEstabelecimento = hashMap.get("via_estabelecimento");
                comprovanteCliente = hashMap.get("via_cliente");
                comprovanteClienteSMS = hashMap.get("via_cliente_sms");
                break;

            case pagamento:
            case solicitarPreAut:
            case confirmarPreAut:
            case cancelamento: {
                BA.Log("Transaction.onTransactionDone CANCELAMENTO");

                // hashMap vem com comprovantes
                comprovanteEstabelecimento = hashMap.get("via_estabelecimento");
                comprovanteCliente = hashMap.get("via_cliente");
                comprovanteClienteSMS = hashMap.get("via_cliente_sms");
                break;
            }

            case relatorios: {
                BA.Log("Transaction.onTransactionDone RELATORIOS");

                // hashMap vem com relatorio
                relatorioTransacoes = hashMap.get("relatorio_transacoes");;
                break;
            }

        }

    }
    
    @Override
    public void onEnd() {
        BA.Log("Transaction.onEnd");
    }

    @Override
    public void onAbort(int abortCode) {
        BA.Log("Transaction.onAbort"+abortCode);
    }

    @Override
    public void onDebug(String s) {
        BA.Log("Transaction.onDebug "+s);
    }

    @Override
    public void onShowPinpad(boolean b) {
    }

    @Override
    public void onSetKeyboard() {
    }

    @Override
    public void onDisplayPinpadMessage(List<String> list) {
        // to be implemented
    }
    

}

#End If

That I am using in my apk like this:

B4X:
#Region  Project Attributes
    #ApplicationLabel: yNexu
    #VersionCode: 1
    #VersionName: 1.1
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
    #AdditionalJar: NexuPayment-release-116.aar
#End Region

#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region

Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
    Dim nexu As yNexu
End Sub

Sub Globals
    'These global variables will be redeclared each time the activity is created.
    Private nexupayment As JavaObject
    Private start As JavaObject
    Private contextActivity As JavaObject
    Private Context As JavaObject
End Sub


Sub Activity_Create(FirstTime As Boolean)
    If FirstTime Then
        nexu.Initialize(GetContext)
    End If

    Activity.LoadLayout("layout")
    
End Sub


Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Sub Button1_Click
    Dim Producao As Boolean = False

    If Producao Then
        Dim CPF As String = "xxx"
    Else
        Dim CPF As String = "xxx"
    End If
    
    nexu.Producao = Producao

    nexu.Ativar(CPF)
    
End Sub

Private Sub Button2_Click

    Dim anValorPagamento As Double = 1
    Dim asFormaPagamento As String = "debito"
    Dim anNumeroParcelas As Int = 1
    Dim abComJuros As Boolean = False
    
    nexu.Pagar(anValorPagamento, asFormaPagamento, anNumeroParcelas, abComJuros)
End Sub

private Sub GetContext As JavaObject
    Return GetBA.GetField("context")
End Sub

private Sub GetBA As JavaObject
    Dim jo As JavaObject
    Dim cls As String = Me
    cls = cls.SubString("class ".Length)
    jo.InitializeStatic(cls)
    Return jo.GetFieldJO("processBA")
End Sub

(this is actually the entire app project)

It DOES WORK in Debug mode...

However if I turn do RELEASE not even the BA.log call works, it does not show anything on the b4a logs

In the app it apparently does nothing.

Any help?
 

DonManfred

Expert
Licensed User
Longtime User
check the unfiltered log. The is no such thing like a crash with nothing in the LOG.
 
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
check the unfiltered log. The is no such thing like a crash with nothing in the LOG.

totally forgot the BrisgeLogger... thanks for that

the problem is this:
NexuPayment SDK - loadSDK - Failed resolution of: Lbr/com/gertec/gedi/GEDI;

The library that I am using when inRELEASE do not find something.... why release is different than DEBUG?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
Can you post the full stack trace?

This is the complete Log unfiltered:

B4X:
Logger connected to:  Allwinner TV BOX
--------- beginning of main
uid=10070(yashar.ynexu) expire 13 lines
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
Caused by: java.lang.ClassNotFoundException: Didn't find class "br.com.gertec.ppcomp.IPPCompDSPCallbacks" on path: DexPathList[[zip file "/data/app/yashar.ynexu-1/base.apk"],nativeLibraryDirectories=[/data/app/yashar.ynexu-1/lib/arm, /system/lib, /vendor/lib]]
  at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
  at void ca.nexu.nexupayment.resources.NexuPaymentResources.<init>(android.content.Context) (SourceFile:8)
  at void ca.nexu.nexupayment.NexuPayment.<init>(java.lang.Object, android.content.Context, android.app.Activity, android.widget.LinearLayout, android.widget.LinearLayout) (SourceFile:1399)
  at void yashar.ynexu.ynexu$nexutransaction.Preparar(android.content.Context, android.app.Activity, boolean) (ynexu.java:162)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4j.object.JavaObject.RunMethod(java.lang.String, java.lang.Object[]) (JavaObject.java:132)
  at java.lang.String yashar.ynexu.ynexu._preparar() (ynexu.java:102)
  at java.lang.String yashar.ynexu.ynexu._ativar(java.lang.String) (ynexu.java:44)
  at java.lang.String yashar.ynexu.main._button1_click() (main.java:389)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:213)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:197)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
permission granted for device /dev/bus/usb/007/002
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
Transaction.onDebug 2021-02-17 07:14:54.149 - DEBUG - Start Of Transaction
Transaction.onDebug 2021-02-17 07:14:54.153 - DEBUG - Driver Start
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
connect: sem conexão com Internet
onShowPinpad aShow=false
onAbort - VERIFIQUE CONEXÃO - COM A INTERNET
Transaction.onProgress VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onDebug DEBUGGER - VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onDebug USER MESSAGE - VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onAbort-20
Transaction.onDebug 2021-02-17 07:14:54.169 - DEBUG - Close Pinpad
Transaction.onDebug 2021-02-17 07:14:54.173 - DEBUG - Driver End
Transaction.Prepare
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Pagar pagar
Transaction.onDebug 2021-02-17 07:15:35.688 - DEBUG - Start Of Transaction
Transaction.onDebug 2021-02-17 07:15:35.689 - ESTABELECIMENTO=YASHAR, LOJA=Loja001, TERMINAL=T0010003
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
permission granted for device /dev/bus/usb/007/002
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
Transaction.onDebug 2021-02-17 07:15:35.705 - DEBUG - Driver Start
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
connect: sem conexão com Internet
onShowPinpad aShow=false
onAbort - VERIFIQUE CONEXÃO - COM A INTERNET
Transaction.onProgress VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onDebug DEBUGGER - VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onDebug USER MESSAGE - VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onAbort-20
Transaction.onDebug 2021-02-17 07:15:35.726 - DEBUG - Close Pinpad
Transaction.onDebug 2021-02-17 07:15:35.728 - DEBUG - Driver End
Transaction.Prepare
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
permission granted for device /dev/bus/usb/007/002
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
Transaction.onDebug 2021-02-17 07:15:53.025 - DEBUG - Start Of Transaction
Transaction.onDebug 2021-02-17 07:15:53.060 - DEBUG - Driver Start
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
connect: sem conexão com Internet
onShowPinpad aShow=false
onAbort - VERIFIQUE CONEXÃO - COM A INTERNET
Transaction.onProgress VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onDebug DEBUGGER - VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onDebug USER MESSAGE - VERIFIQUE CONEXÃO
COM A INTERNET
Transaction.onAbort-20
Transaction.onDebug 2021-02-17 07:15:53.078 - DEBUG - Close Pinpad
Transaction.onDebug 2021-02-17 07:15:53.087 - DEBUG - Driver End
** Activity (main) Pause, UserClosed = true **
** Activity (main) Create, isFirst = false **
yashar.ynexu
Transaction.Ativar loadSDK
** Activity (main) Resume **
Transaction.Prepare
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
** Activity (main) Pause, UserClosed = false **
Transaction.onDebug 2021-02-17 07:16:54.733 - DEBUG - Start Of Transaction
Transaction.onDebug 2021-02-17 07:16:54.756 - DEBUG - Driver Start
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
connect: sem conexão com Internet
onShowPinpad aShow=false
onAbort - VERIFIQUE CONEXÃO - COM A INTERNET
Transaction.onProgress VERIFIQUE CONEXÃO
COM A INTERNET
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
Transaction.onDebug 2021-02-17 09:21:13.214 - DEBUG - Start Of Transaction
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
permission granted for device /dev/bus/usb/007/003
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
Transaction.onDebug 2021-02-17 09:21:13.222 - DEBUG - Driver Start
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
SSL Socket connected
onBegin
Transaction.onBegin
Enqueue: retorno="1"servico="iniciar"sequencial="1"versao="1.1.0"aplicacao="DASHEN"aplicacao_tela="**** DASHEN ****"computador_nome="eb1aa91612f939e3"computador_endereco="85:6D:D8:28:E3:FA"transacao_cnpj_cpf="21.333.292/0001-54"
DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 09:21:14.345 - DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Transaction.onDebug 2021-02-17 09:21:15.146 - VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Dequeue: aplicacao="V$PagueClient"aplicacao_tela="**** DASHEN ****"computador_endereco="85:6D:D8:28:E3:FA"computador_nome="eb1aa91612f939e3"estabelecimento="YASHAR"estado="11"loja="Loja001"mensagem="Terminal recuperado com sucesso"retorno="1"sequencial="1"servico="iniciar"terminal="T0010003"transacao_cnpj_cpf="21.333.292/0001-54"transacao_opcao="YASHAR - Loja001
Avenida rua 5
333
4.2.723"
onBeforeDone
Transaction.onBeforeDone
onTransactionDone
Transaction.onTransactionDone
Transaction.onTransactionDone ATIVACAO
Enqueue: sequencial="2"servico="finalizar"retorno="1"
DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 09:21:15.191 - DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Transaction.onDebug 2021-02-17 09:21:15.450 - VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Dequeue: retorno="1"sequencial="2"servico="finalizar"
onEnd
onShowPinpad aShow=false
Transaction.onEnd
java.lang.InterruptedException
    at java.lang.Thread.sleep(Native Method)
    at java.lang.Thread.sleep(Thread.java:371)
    at java.lang.Thread.sleep(Thread.java:313)
    at ca.nexu.nexupayment.NexuPaymentVBI.run(SourceFile:460)
    at java.lang.Thread.run(Thread.java:761)
Transaction.onDebug 2021-02-17 09:21:15.495 - DEBUG - Close Pinpad
SocketIO terminated
Transaction.onDebug 2021-02-17 09:21:15.505 - DEBUG - Close Socket
Transaction.onDebug 2021-02-17 09:21:15.506 - DEBUG - Driver End
Transaction.onDebug 2021-02-17 09:21:15.586 - DEBUG - End Of Transaction
Log reader error: java.io.InterruptedIOException: read interrupted
-1 received
writer error
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044)
    at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358)
    at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    at java.lang.Thread.run(Thread.java:761)
Starting remote logger. Port: 16768
After accept
** Activity (main) Pause, UserClosed = false **
ClassLoader referenced unknown path: /data/app/yashar.ynexu-2/lib/arm
common created.
Starting remote logger. Port: 16768
After accept
*** Service (starter) Create ***
** Service (starter) Start **
loaded /system/lib/egl/libGLES_mali.so
** Activity (main) Create, isFirst = true **
yNexu Start App
yashar.ynexu
Transaction.Ativar loadSDK
Initialized EGL, version 1.4
Swap behavior 1
NexuPayment SDK - loadSDK - Failed resolution of: Lbr/com/gertec/gedi/GEDI;
Background partial concurrent mark sweep GC freed 17702(863KB) AllocSpace objects, 0(0B) LOS objects, 60% free, 2MB/6MB, paused 1.715ms total 161.519ms
** Activity (main) Resume **
Log reader error: java.io.InterruptedIOException: read interrupted
-1 received
writer error
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044)
    at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358)
    at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    at java.lang.Thread.run(Thread.java:761)
Starting remote logger. Port: 16768
** Activity (main) Pause, UserClosed = false **
After accept
ClassLoader referenced unknown path: /data/app/yashar.ynexu-1/lib/arm
common created.
Starting remote logger. Port: 16768
*** Service (starter) Create ***
** Service (starter) Start **
loaded /system/lib/egl/libGLES_mali.so
** Activity (main) Create, isFirst = true **
yNexu Start App
yashar.ynexu
Transaction.Ativar loadSDK
NexuPayment SDK - loadSDK - Failed resolution of: Lbr/com/gertec/gedi/GEDI;
After accept
** Activity (main) Resume **
Initialized EGL, version 1.4
Swap behavior 1
Transaction.Prepare
Rejecting re-init on previously-failed class java.lang.Class<ca.nexu.nexupayment.resources.gertec.gpos700.GPOS700Pinpad>: java.lang.NoClassDefFoundError: Failed resolution of: Lbr/com/gertec/ppcomp/IPPCompDSPCallbacks;
  at void ca.nexu.nexupayment.resources.NexuPaymentResources.<init>(android.content.Context) (SourceFile:8)
  at void ca.nexu.nexupayment.NexuPayment.<init>(java.lang.Object, android.content.Context, android.app.Activity, android.widget.LinearLayout, android.widget.LinearLayout) (SourceFile:1399)
  at void yashar.ynexu.ynexu$nexutransaction.Preparar(android.content.Context, android.app.Activity, boolean) (ynexu.java:162)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4j.object.JavaObject.RunMethod(java.lang.String, java.lang.Object[]) (JavaObject.java:132)
  at java.lang.String yashar.ynexu.ynexu._preparar() (ynexu.java:102)
  at java.lang.String yashar.ynexu.ynexu._ativar(java.lang.String) (ynexu.java:44)
  at java.lang.String yashar.ynexu.main._button1_click() (main.java:393)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:213)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:197)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
Caused by: java.lang.ClassNotFoundException: Didn't find class "br.com.gertec.ppcomp.IPPCompDSPCallbacks" on path: DexPathList[[zip file "/data/app/yashar.ynexu-1/base.apk"],nativeLibraryDirectories=[/data/app/yashar.ynexu-1/lib/arm, /system/lib, /vendor/lib]]
  at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
  at void ca.nexu.nexupayment.resources.NexuPaymentResources.<init>(android.content.Context) (SourceFile:8)
  at void ca.nexu.nexupayment.NexuPayment.<init>(java.lang.Object, android.content.Context, android.app.Activity, android.widget.LinearLayout, android.widget.LinearLayout) (SourceFile:1399)
  at void yashar.ynexu.ynexu$nexutransaction.Preparar(android.content.Context, android.app.Activity, boolean) (ynexu.java:162)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4j.object.JavaObject.RunMethod(java.lang.String, java.lang.Object[]) (JavaObject.java:132)
  at java.lang.String yashar.ynexu.ynexu._preparar() (ynexu.java:102)
  at java.lang.String yashar.ynexu.ynexu._ativar(java.lang.String) (ynexu.java:44)
  at java.lang.String yashar.ynexu.main._button1_click() (main.java:393)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:213)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:197)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
Transaction.onDebug 2021-02-17 10:04:16.639 - DEBUG - Start Of Transaction
Transaction.onDebug 2021-02-17 10:04:16.646 - DEBUG - Driver Start
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
permission granted for device /dev/bus/usb/007/003
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
SSL Socket connected
onBegin
Transaction.onBegin
Enqueue: retorno="1"servico="iniciar"sequencial="1"versao="1.1.0"aplicacao="DASHEN"aplicacao_tela="**** DASHEN ****"computador_nome="eb1aa91612f939e3"computador_endereco="85:6D:D8:28:E3:FA"transacao_cnpj_cpf="21.333.292/0001-54"
DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 10:04:17.421 - DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Transaction.onDebug 2021-02-17 10:04:18.219 - VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Dequeue: aplicacao="V$PagueClient"aplicacao_tela="**** DASHEN ****"computador_endereco="85:6D:D8:28:E3:FA"computador_nome="eb1aa91612f939e3"estabelecimento="YASHAR"estado="11"loja="Loja001"mensagem="Terminal recuperado com sucesso"retorno="1"sequencial="1"servico="iniciar"terminal="T0010003"transacao_cnpj_cpf="21.333.292/0001-54"transacao_opcao="YASHAR - Loja001
Avenida rua 5
333
4.2.723"
onBeforeDone
Transaction.onBeforeDone
onTransactionDone
Transaction.onTransactionDone
Transaction.onTransactionDone ATIVACAO
DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 10:04:18.259 - DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
Enqueue: sequencial="2"servico="finalizar"retorno="1"
VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Transaction.onDebug 2021-02-17 10:04:18.521 - VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Dequeue: retorno="1"sequencial="2"servico="finalizar"
onEnd
onShowPinpad aShow=false
Transaction.onEnd
java.lang.InterruptedException
    at java.lang.Thread.sleep(Native Method)
    at java.lang.Thread.sleep(Thread.java:371)
    at java.lang.Thread.sleep(Thread.java:313)
    at ca.nexu.nexupayment.NexuPaymentVBI.run(SourceFile:460)
    at java.lang.Thread.run(Thread.java:761)
Transaction.onDebug 2021-02-17 10:04:18.591 - DEBUG - Close Pinpad
SocketIO terminated
Transaction.onDebug 2021-02-17 10:04:18.598 - DEBUG - Close Socket
Transaction.onDebug 2021-02-17 10:04:18.600 - DEBUG - Driver End
Transaction.onDebug 2021-02-17 10:04:18.673 - DEBUG - End Of Transaction
Log reader error: java.io.InterruptedIOException: read interrupted
-1 received
writer error
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044)
    at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358)
    at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    at java.lang.Thread.run(Thread.java:761)
Starting remote logger. Port: 16768
After accept
** Activity (main) Pause, UserClosed = false **
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
Transaction.onDebug 2021-02-17 09:21:13.214 - DEBUG - Start Of Transaction
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
permission granted for device /dev/bus/usb/007/003
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
Transaction.onDebug 2021-02-17 09:21:13.222 - DEBUG - Driver Start
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
SSL Socket connected
onBegin
Transaction.onBegin
Enqueue: retorno="1"servico="iniciar"sequencial="1"versao="1.1.0"aplicacao="DASHEN"aplicacao_tela="**** DASHEN ****"computador_nome="eb1aa91612f939e3"computador_endereco="85:6D:D8:28:E3:FA"transacao_cnpj_cpf="21.333.292/0001-54"
DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 09:21:14.345 - DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Transaction.onDebug 2021-02-17 09:21:15.146 - VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Dequeue: aplicacao="V$PagueClient"aplicacao_tela="**** DASHEN ****"computador_endereco="85:6D:D8:28:E3:FA"computador_nome="eb1aa91612f939e3"estabelecimento="YASHAR"estado="11"loja="Loja001"mensagem="Terminal recuperado com sucesso"retorno="1"sequencial="1"servico="iniciar"terminal="T0010003"transacao_cnpj_cpf="21.333.292/0001-54"transacao_opcao="YASHAR - Loja001
Avenida rua 5
333
4.2.723"
onBeforeDone
Transaction.onBeforeDone
onTransactionDone
Transaction.onTransactionDone
Transaction.onTransactionDone ATIVACAO
Enqueue: sequencial="2"servico="finalizar"retorno="1"
DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 09:21:15.191 - DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Transaction.onDebug 2021-02-17 09:21:15.450 - VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Dequeue: retorno="1"sequencial="2"servico="finalizar"
onEnd
onShowPinpad aShow=false
Transaction.onEnd
java.lang.InterruptedException
    at java.lang.Thread.sleep(Native Method)
    at java.lang.Thread.sleep(Thread.java:371)
    at java.lang.Thread.sleep(Thread.java:313)
    at ca.nexu.nexupayment.NexuPaymentVBI.run(SourceFile:460)
    at java.lang.Thread.run(Thread.java:761)
Transaction.onDebug 2021-02-17 09:21:15.495 - DEBUG - Close Pinpad
SocketIO terminated
Transaction.onDebug 2021-02-17 09:21:15.505 - DEBUG - Close Socket
Transaction.onDebug 2021-02-17 09:21:15.506 - DEBUG - Driver End
Transaction.onDebug 2021-02-17 09:21:15.586 - DEBUG - End Of Transaction
Log reader error: java.io.InterruptedIOException: read interrupted
-1 received
writer error
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044)
    at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358)
    at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    at java.lang.Thread.run(Thread.java:761)
Starting remote logger. Port: 16768
After accept
** Activity (main) Pause, UserClosed = false **
ClassLoader referenced unknown path: /data/app/yashar.ynexu-2/lib/arm
common created.
Starting remote logger. Port: 16768
After accept
*** Service (starter) Create ***
** Service (starter) Start **
loaded /system/lib/egl/libGLES_mali.so
** Activity (main) Create, isFirst = true **
yNexu Start App
yashar.ynexu
Transaction.Ativar loadSDK
Initialized EGL, version 1.4
Swap behavior 1
NexuPayment SDK - loadSDK - Failed resolution of: Lbr/com/gertec/gedi/GEDI;
Background partial concurrent mark sweep GC freed 17702(863KB) AllocSpace objects, 0(0B) LOS objects, 60% free, 2MB/6MB, paused 1.715ms total 161.519ms
** Activity (main) Resume **
Log reader error: java.io.InterruptedIOException: read interrupted
-1 received
writer error
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044)
    at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358)
    at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    at java.lang.Thread.run(Thread.java:761)
Starting remote logger. Port: 16768
** Activity (main) Pause, UserClosed = false **
After accept
ClassLoader referenced unknown path: /data/app/yashar.ynexu-1/lib/arm
common created.
Starting remote logger. Port: 16768
*** Service (starter) Create ***
** Service (starter) Start **
loaded /system/lib/egl/libGLES_mali.so
** Activity (main) Create, isFirst = true **
yNexu Start App
yashar.ynexu
Transaction.Ativar loadSDK
NexuPayment SDK - loadSDK - Failed resolution of: Lbr/com/gertec/gedi/GEDI;
After accept
** Activity (main) Resume **
Initialized EGL, version 1.4
Swap behavior 1
Transaction.Prepare
Rejecting re-init on previously-failed class java.lang.Class<ca.nexu.nexupayment.resources.gertec.gpos700.GPOS700Pinpad>: java.lang.NoClassDefFoundError: Failed resolution of: Lbr/com/gertec/ppcomp/IPPCompDSPCallbacks;
  at void ca.nexu.nexupayment.resources.NexuPaymentResources.<init>(android.content.Context) (SourceFile:8)
  at void ca.nexu.nexupayment.NexuPayment.<init>(java.lang.Object, android.content.Context, android.app.Activity, android.widget.LinearLayout, android.widget.LinearLayout) (SourceFile:1399)
  at void yashar.ynexu.ynexu$nexutransaction.Preparar(android.content.Context, android.app.Activity, boolean) (ynexu.java:162)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4j.object.JavaObject.RunMethod(java.lang.String, java.lang.Object[]) (JavaObject.java:132)
  at java.lang.String yashar.ynexu.ynexu._preparar() (ynexu.java:102)
  at java.lang.String yashar.ynexu.ynexu._ativar(java.lang.String) (ynexu.java:44)
  at java.lang.String yashar.ynexu.main._button1_click() (main.java:393)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:213)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:197)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
Caused by: java.lang.ClassNotFoundException: Didn't find class "br.com.gertec.ppcomp.IPPCompDSPCallbacks" on path: DexPathList[[zip file "/data/app/yashar.ynexu-1/base.apk"],nativeLibraryDirectories=[/data/app/yashar.ynexu-1/lib/arm, /system/lib, /vendor/lib]]
  at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:56)
  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:380)
  at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
  at void ca.nexu.nexupayment.resources.NexuPaymentResources.<init>(android.content.Context) (SourceFile:8)
  at void ca.nexu.nexupayment.NexuPayment.<init>(java.lang.Object, android.content.Context, android.app.Activity, android.widget.LinearLayout, android.widget.LinearLayout) (SourceFile:1399)
  at void yashar.ynexu.ynexu$nexutransaction.Preparar(android.content.Context, android.app.Activity, boolean) (ynexu.java:162)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4j.object.JavaObject.RunMethod(java.lang.String, java.lang.Object[]) (JavaObject.java:132)
  at java.lang.String yashar.ynexu.ynexu._preparar() (ynexu.java:102)
  at java.lang.String yashar.ynexu.ynexu._ativar(java.lang.String) (ynexu.java:44)
  at java.lang.String yashar.ynexu.main._button1_click() (main.java:393)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:213)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent2(java.lang.Object, boolean, java.lang.String, boolean, java.lang.Object[]) (BA.java:197)
  at java.lang.Object anywheresoftware.b4a.BA.raiseEvent(java.lang.Object, java.lang.String, java.lang.Object[]) (BA.java:193)
  at void anywheresoftware.b4a.objects.ViewWrapper$1.onClick(android.view.View) (ViewWrapper.java:80)
  at boolean android.view.View.performClick() (View.java:5609)
  at void android.view.View$PerformClick.run() (View.java:22266)
  at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:751)
  at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:95)
  at void android.os.Looper.loop() (Looper.java:154)
  at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6077)
  at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
  at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:915)
  at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:805)
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI;
PPC930 localizado
Transaction.Ativar
Transaction.Ativar NexuPayment.ativar 21.333.292/0001-54
Transaction.onDebug 2021-02-17 10:04:16.639 - DEBUG - Start Of Transaction
Transaction.onDebug 2021-02-17 10:04:16.646 - DEBUG - Driver Start
BroadcastReceiver fired. Action=ca.nexu.nexupayment.USB_PERMISSION
connect: Host=vspague-hmg.nexu.cloud - Port=60906
connect: Pinpad=PPC930 - MAC=null
onConfig
Transaction.onConfig
permission granted for device /dev/bus/usb/007/003
mEndPointRead=UsbEndpoint[mAddress=129,mAttributes=2,mMaxPacketSize=64,mInterval=0]
mEndPointWrite=UsbEndpoint[mAddress=2,mAttributes=2,mMaxPacketSize=64,mInterval=0]
SSL Socket connected
onBegin
Transaction.onBegin
Enqueue: retorno="1"servico="iniciar"sequencial="1"versao="1.1.0"aplicacao="DASHEN"aplicacao_tela="**** DASHEN ****"computador_nome="eb1aa91612f939e3"computador_endereco="85:6D:D8:28:E3:FA"transacao_cnpj_cpf="21.333.292/0001-54"
DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 10:04:17.421 - DRtoVS: 7265746f726e6f3d2231227365727669636f3d22696e69636961722273657175656e6369616c3d22312276657273616f3d22312e312e302261706c69636163616f3d2244415348454e2261706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a22636f6d70757461646f725f6e6f6d653d226562316161393136313266393339653322636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641227472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220d0a09090d0a0909090d0a09090d0a09
VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Transaction.onDebug 2021-02-17 10:04:18.219 - VStoDR: 61706c69636163616f3d2256245061677565436c69656e74220a61706c69636163616f5f74656c613d222a2a2a2a2044415348454e202a2a2a2a220a636f6d70757461646f725f656e64657265636f3d2238353a36443a44383a32383a45333a4641220a636f6d70757461646f725f6e6f6d653d2265623161613931363132663933396533220a6573746162656c6563696d656e746f3d22594153484152220a65737461646f3d223131220a6c6f6a613d224c6f6a61303031220a6d656e736167656d3d225465726d696e616c207265637570657261646f20636f6d207375636573736f220a7265746f726e6f3d2231220a73657175656e6369616c3d2231220a7365727669636f3d22696e6963696172220a7465726d696e616c3d225430303130303033220a7472616e736163616f5f636e706a5f6370663d2232312e3333332e3239322f303030312d3534220a7472616e736163616f5f6f7063616f3d22594153484152202d204c6f6a61303031223b224176656e69646120727561203520223b22333333223b3b3b3b3b3b3b3b3b0a76657273616f3d22342e322e373233220a
Dequeue: aplicacao="V$PagueClient"aplicacao_tela="**** DASHEN ****"computador_endereco="85:6D:D8:28:E3:FA"computador_nome="eb1aa91612f939e3"estabelecimento="YASHAR"estado="11"loja="Loja001"mensagem="Terminal recuperado com sucesso"retorno="1"sequencial="1"servico="iniciar"terminal="T0010003"transacao_cnpj_cpf="21.333.292/0001-54"transacao_opcao="YASHAR - Loja001
Avenida rua 5
333
4.2.723"
onBeforeDone
Transaction.onBeforeDone
onTransactionDone
Transaction.onTransactionDone
Transaction.onTransactionDone ATIVACAO
DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
Transaction.onDebug 2021-02-17 10:04:18.259 - DRtoVS: 73657175656e6369616c3d2232227365727669636f3d2266696e616c697a6172227265746f726e6f3d2231220d0a09090d0a0909090d0a09090d0a09
Enqueue: sequencial="2"servico="finalizar"retorno="1"
VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Transaction.onDebug 2021-02-17 10:04:18.521 - VStoDR: 7265746f726e6f3d2231220a73657175656e6369616c3d2232220a7365727669636f3d2266696e616c697a6172220a
Dequeue: retorno="1"sequencial="2"servico="finalizar"
onEnd
onShowPinpad aShow=false
Transaction.onEnd
java.lang.InterruptedException
    at java.lang.Thread.sleep(Native Method)
    at java.lang.Thread.sleep(Thread.java:371)
    at java.lang.Thread.sleep(Thread.java:313)
    at ca.nexu.nexupayment.NexuPaymentVBI.run(SourceFile:460)
    at java.lang.Thread.run(Thread.java:761)
Transaction.onDebug 2021-02-17 10:04:18.591 - DEBUG - Close Pinpad
SocketIO terminated
Transaction.onDebug 2021-02-17 10:04:18.598 - DEBUG - Close Socket
Transaction.onDebug 2021-02-17 10:04:18.600 - DEBUG - Driver End
Transaction.onDebug 2021-02-17 10:04:18.673 - DEBUG - End Of Transaction
Log reader error: java.io.InterruptedIOException: read interrupted
-1 received
writer error
java.lang.InterruptedException
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2010)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2044)
    at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:358)
    at anywheresoftware.b4a.remotelogger.Connector$Writer.run(Connector.java:160)
    at java.lang.Thread.run(Thread.java:761)
Starting remote logger. Port: 16768
After accept
** Activity (main) Pause, UserClosed = false **
 
Upvote 0

EduardoElias

Well-Known Member
Licensed User
Longtime User
after a big fight the problem is this library
GEDI Failed resolution of: Lbr/com/gertec/gedi/GEDI

that is a proprietary library and in RELEASE mode was not getting compiled together, dont know WHY

I have added in the AditionalJar and everything started working.

Thanks !
 
Upvote 0
Top