B4J Question how to show lang.IllegalStateException Error in Release version

kohle

Active Member
Licensed User
Longtime User
Hi,


I get an an lang.IllegalStateException error with the sql library + ucanaccess-5.0.0 (MDB access), Release compile.

I see the error in the protocol window, but the application error function seems not to be triggered :

B4X:
'error at :     sql.ExecNonQuery(strSQL)
            



Sub Application_Error (Error As Exception, StackTrace As String) As Boolean
    
    
    
    jxui.MsgboxAsync(StackTrace, "Error: " & Error)
    sql.Close
    'LogError(StackTrace)
    Return False
End Sub
 

kohle

Active Member
Licensed User
Longtime User
I have no influence on this error. While I was testing with a ms access mdb some how the index get corrupted. This can happen also in other scenarios.

Try / Catch works fine.

Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…