dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.05k stars 1.73k forks source link

Invalid stack map table at instruction index 177: invokespecial Ljava/lang/IllegalArgumentException;<init>(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. #25167

Open rupeshhikeup opened 3 days ago

rupeshhikeup commented 3 days ago

Invalid stack map table at instruction index 177: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 31: invokespecial Lmy/com/softspace/reader/internal/kernel/c;(Z[B)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.kernel.c. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 497: invokespecial Lcom/discover/mpos/sdk/data/external/ApplicationCandidateData;(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZLjava/util/List;)V, error: Unexpected attempt to initialize initialized com.discover.mpos.sdk.data.external.ApplicationCandidateData. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 34: invokespecial Lcom/discover/mpos/sdk/cardreader/config/TerminalConfiguration;(Ljava/lang/String;Lcom/discover/mpos/sdk/cardreader/config/TerminalCapabilitiesQualifiers;Lcom/discover/mpos/sdk/cardreader/config/TerminalType;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V, error: Unexpected attempt to initialize initialized com.discover.mpos.sdk.cardreader.config.TerminalConfiguration. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 176: invokespecial Lcom/mastercard/terminalsdk/utility/ByteArrayWrapper;([B)V, error: Unexpected attempt to initialize initialized com.mastercard.terminalsdk.utility.ByteArrayWrapper. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 1036: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 15: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 109: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 21: invokespecial Ljava/lang/RuntimeException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.RuntimeException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 55: ifne L?, error: Could not assign '[uninitialized new, uninitialized new, int]' to '[Initialized(java.lang.IllegalArgumentException), Initialized(java.lang.IllegalArgumentException), int]'. The stack value at index 0 (from top) with 'uninitialized new' not being assignable to 'Initialized(java.lang.IllegalArgumentException)'. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 52: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 9: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 188: invokespecial Landroid/nfc/TagLostException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized android.nfc.TagLostException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 175: ifne L?, error: Could not assign '[uninitialized new, uninitialized new, int]' to '[Initialized(com.mastercard.terminalsdk.exception.L1RSPException), Initialized(com.mastercard.terminalsdk.exception.L1RSPException), int]'. The stack value at index 0 (from top) with 'uninitialized new' not being assignable to 'Initialized(com.mastercard.terminalsdk.exception.L1RSPException)'. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 17: invokespecial Lmy/com/softspace/reader/internal/nfc/NfcCommunicatorManager$NfcConnectStatus;(Ljava/lang/String;I)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.nfc.NfcCommunicatorManager$NfcConnectStatus. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 16: invokespecial Lmy/com/softspace/reader/internal/kernel/PaymentNetwork;(Ljava/lang/String;ILjava/lang/String;)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.kernel.PaymentNetwork. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 17: invokespecial Lmy/com/softspace/reader/internal/kernel/ConfigurationBaseKernel$Type;(Ljava/lang/String;I)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.kernel.ConfigurationBaseKernel$Type. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 14: invokespecial Ljava/lang/IllegalArgumentException;(Ljava/lang/String;)V, error: Unexpected attempt to initialize initialized java.lang.IllegalArgumentException. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 42: invokespecial Lmy/com/softspace/reader/internal/kernel/Tags;(Ljava/lang/String;ILjava/lang/String;)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.kernel.Tags. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 21: invokespecial Lmy/com/softspace/reader/internal/nfc/NfcCommunicator$ConnectStatus;(Ljava/lang/String;I)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.nfc.NfcCommunicator$ConnectStatus. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 54: ifne L?, error: Could not assign '[Initialized(my.com.softspace.reader.internal.kernel.eftpos.EFTPOSHandler), uninitialized new, uninitialized new, Initialized(java.lang.String[]), Initialized(java.lang.String[]), int]' to '[Initialized(my.com.softspace.reader.internal.kernel.eftpos.EFTPOSHandler), Initialized(java.util.ArrayList), Initialized(java.util.ArrayList), Initialized(java.lang.String[]), Initialized(java.lang.String[]), int]'. The stack value at index 1 (from top) with 'uninitialized new' not being assignable to 'Initialized(java.util.ArrayList)'. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 20: invokespecial Lmy/com/softspace/reader/internal/kernelconfig/Tag$TagType;(Ljava/lang/String;I)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.kernelconfig.Tag$TagType. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 37: invokespecial Lmy/com/softspace/reader/internal/kernelconfig/Tag$TagClass;(Ljava/lang/String;I)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.kernelconfig.Tag$TagClass. In later version of R8, the method may be assumed not reachable. Invalid stack map table at instruction index 17: invokespecial Lmy/com/softspace/reader/internal/nfc/NfcCommunicatorManager$NfcType;(Ljava/lang/String;I)V, error: Unexpected attempt to initialize initialized my.com.softspace.reader.internal.nfc.NfcCommunicatorManager$NfcType. In later version of R8, the method may be assumed not reachable.

Got the above error while running .net android binding project . Please help to solve this issues

dotnet-policy-service[bot] commented 3 days ago

Hi @rupeshhikeup. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.