Android Compiler (Class: abstractexception) Unresolved reference 'catch'

Where the hell is the bug ? Xojo don’t show where is the “Unsesolved reference” …

Do you have a sample project? Which Xojo version do you use?

I can’t. It’s a huge project (not open source) with a few shared library, so I can’t trace the modification that triggered that. I was hoping if anyone had an idea how to narrow this vague error.

here all the “catch” used in this project :

Code ModelProduitCoutant.UpdateCostFromLumen, line 00024 [Catch] err As RuntimeException
Code ModelClient.Data, line 00020 [Catch] err As TypeMismatchException
Code ModelClient.Data, line 00030 [Catch] err2 As TypeMismatchException
Code ModelClient.ImprimerEtatDeCompte, line 00143 [Catch] e As XmlException
Code ModelClientCompte.DecryptSensitiveValue, line 00014 [Catch] err As RuntimeException
Code ModelORMRecordLock.ActiveLock, line 00020 [Catch] err As RuntimeException
Code ModelORMRecordLock.Release, line 00029 [Catch] err As RuntimeException
Code ModelORMRecordLock.ReleaseForSession, line 00007 [Catch] err As RuntimeException
Code ModelORMRecordLock.Touch, line 00025 [Catch] err As RuntimeException
Code ModelORMRecordLock.TouchForSession, line 00008 [Catch] err As RuntimeException
Code ModelProjet.LoadJSON, line 00013 [Catch] err As TypeMismatchException
Code ModelProjet.LoadJSON, line 00019 [Catch] err2 As TypeMismatchException
Code ModelProjet.LoadJSON, line 00051 [Catch] err As TypeMismatchException
Code ModelProjet.LoadJSON, line 00057 [Catch] err2 As TypeMismatchException
Code ModelProjet.LoadJSON, line 00089 [Catch] err As TypeMismatchException
Code ModelProjet.LoadJSON, line 00095 [Catch] err2 As TypeMismatchException
Code ModelProjet.ImprimerEtatDeCompteNotaire, line 00013 [Catch] e As XmlException
Code ModelRapport.excel.Get, line 00006 [Catch] RuntimeException
Code ModelRapport.html.Get, line 00006 [Catch] RuntimeException
Code ModelUtilisateur.HasUsers, line 00006 [Catch] e As RuntimeException
Code DB.Connect, line 00051 [Catch] error As DatabaseException
Code DB.Connect, line 00101 [Catch] error As DatabaseException
Code DB.Connect, line 00114 [Catch] Error as DatabaseException
Code DB.Extract, line 00033 [Catch] Error as RuntimeException
Code DB.Extract, line 00059 [Catch] Error as RuntimeException
Code DB.Extract, line 00033 [Catch] Error as RuntimeException
Code DB.Instance, line 00019 [Catch] error As DatabaseException
Code Comment DB.Instance, line 00030 '[Catch] error as DatabaseException
Code ORM.BaseDataInsertFullRow, line 00019 [catch] err as DatabaseException
Code ORM.BaseDataInsertIgnoreFullRow, line 00029 [catch] err as DatabaseException
Code ORM.BaseDataUpdateNonPrimaryColumns, line 00041 [catch] err as DatabaseException
Code Comment ORM.Changed, line 00011 '[Catch] e As TypeMismatchException
Code ORM.CreateTable, line 00041 [Catch] error As DatabaseException
Code ORM.CreateTable, line 00099 [Catch] error As DatabaseException
Code ORM.MySQLCurrentIndexes, line 00016 [Catch] error as DatabaseException
Code ORM.MySQLForeignKeyColumns, line 00013 [Catch] error as DatabaseException
Code ORM.InsertBaseData, line 00024 [catch] Err as DatabaseException
Code ORM.InsertBaseData, line 00046 [catch] Err as DatabaseException
Code ORM.SyncOneBaseDataRow, line 00018 [catch] err as DatabaseException
Code ORM.SyncOneBaseDataRow, line 00032 [catch] ex as RuntimeException
Code ORM.TableCheck, line 00009 [Catch] e as DatabaseException
Code ORM.TableColumns, line 00017 [Catch] error As DatabaseException
Code ORM.TableUpdate, line 00085 [Catch] lockError As DatabaseException
Code ORM.TableUpdate, line 00098 [Catch] Error as DatabaseException
Code ORM.TableUpdate, line 00105 [Catch] unlockError As DatabaseException
Code ORM.TableUpdate, line 00115 [Catch] lockError As DatabaseException
Code ORM.TableUpdate, line 00135 [Catch] Error as DatabaseException
Code ORM.TableUpdate, line 00142 [Catch] unlockError As DatabaseException
Code ORM.TableUpdate, line 00153 [Catch] lockError As DatabaseException
Code ORM.TableUpdate, line 00173 [catch] error as DatabaseException
Code ORM.TableUpdate, line 00177 [Catch] unlockError As DatabaseException
Code ORM.TableUpdate, line 00187 [Catch] unlockError As DatabaseException
Code ORM.TableUpdate, line 00195 [Catch] lockError As DatabaseException
Code ORM.TableUpdate, line 00208 [Catch] Error as DatabaseException
Code ORM.TableUpdate, line 00220 [Catch] Error as DatabaseException
Code ORM.TableUpdate, line 00247 [Catch] Error as DatabaseException
Code ORM.TableUpdate, line 00258 [Catch] unlockError As DatabaseException
Code ORM.TableUpdate, line 00296 [Catch] Error as DatabaseException
Code ORM.TableUpdate, line 00359 [Catch] error As DatabaseException
Code DictionaryExtra.GetDate, line 00005 [Catch] err As RuntimeException
Code FolderItemExtra.UniqueFolderItemName, line 00026 [Catch] err as NilObjectException
Code Helpers.DebugLog, line 00006 [Catch] err As RuntimeException
Code Helpers.ImportSQL, line 00011 [Catch] error As DatabaseException
Code ModelCompany.BackupCloud, line 00069 [Catch] e As IOException
Code ModelCompany.CheckIP, line 00036 [catch] err As RuntimeException
Code ModelCompany.CheckUpdateDatabase, line 00059 [Catch] err As RuntimeException
Code ModelCompany.Close, line 00027 [Catch] err As RuntimeException
Code Comment ModelCompany.Database, line 00043 '[Catch] error as DatabaseException
Code ModelCompany.Database, line 00065 [Catch] Error as DatabaseException
Code ModelCompany.HandleRequest, line 00246 [Catch] je As JSONException
Code ModelCompany.HandleRequest, line 00517 [Catch] oe As ORMException
Code ModelCompany.LoadCompagny, line 00070 [catch] err As RuntimeException
Code ModelCompany.UserPasswordHashCanBeStored, line 00037 [Catch] error As DatabaseException
Code ModelCompany.QueryColumnAllowed, line 00006 [Catch] err As RuntimeException
Code ModelCompany.TestCreationDB, line 00012 [Catch] error As DatabaseException
Code ModelCompany.ValidateRequestQueries, line 00025 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00033 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00053 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00072 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00080 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00092 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00118 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00126 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00141 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00149 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00168 [Catch] err As RuntimeException
Code ModelCompany.ValidateRequestQueries, line 00176 [Catch] err As RuntimeException
Code ModelCompany.Templates.Get, line 00008 [Catch] err As RuntimeException
Code ModelCompany.Templates.Get, line 00077 [Catch] err As RuntimeException
Code QueryBuilder.Execute, line 00011 [Catch] dberror As DatabaseException
Code QueryBuilder.Execute, line 00019 [Catch] dberror As DatabaseException
Code QueryBuilder.Execute, line 00035 [Catch] Errorr as DatabaseException
Code StringExtra.RandomString, line 00010 [Catch] error As RuntimeException

You didn’t answer my question:

Which Xojo version do you use?

From the stack you shared, I can see e.g.

Code ModelClient.ImprimerEtatDeCompte, line 00143 [Catch] e As XmlException
Code ModelProjet.ImprimerEtatDeCompteNotaire, line 00013 [Catch] e As XmlException

Xojo Android Projects currently don’t support XML Handling. So I don’t wonder.

But anyway, since you shared your stack now, the mentioned compiler error can’t any longer appear, since it seems like your app ran to produce the stack.

2026r1.2
It’s a good start to know! It’s sad it simply didn’t point to unsupported stuff.
Thanks a lot! I will take a look.

1 Like