I have a panel (b4xview) that functions correctly in debug mode but not in release mode; it's a simple click panel with no special libraries involved. Can anyone suggest why this might be happening and how to resolve the issue?
Error
b4xmainpage$ResumableSub_CasePanel_Clickresume (java line: 984)
java.lang.RuntimeException: Object should first be initialized (B4XView).
B4X:
Sub CasePanel_Click
MyApp.Initialize
Dim bt As B4XView =Sender
Log(bt.Tag)
Wait For ( MyApp.GetCaseDetail("&CaseID="& bt.Tag &"&")) Complete (CaseDetail As Map)
Error
b4xmainpage$ResumableSub_CasePanel_Clickresume (java line: 984)
java.lang.RuntimeException: Object should first be initialized (B4XView).