I'm using R2019a and are following the MathWorks example on using the Polyspace Bug Finder results class, as linked here – https://www.mathworks.com/help/releases/R2019a/bugfinder/ref/polyspace.bugfinderresults-class.html#d117e93609
I receive a Java Exception error occurs at line "bfSummary = proj.Results.getResults('readable');":
———————————————————————————————————-
Error using PolySpaceResult/Initialise
Java exception occurred:
java.lang.NoClassDefFoundError:
com/polyspace/mwsqlite4java/SQLiteException
at com.polyspace.util.RTEFileParser.getGlobalInformationFromDB(RTEFileParser.java:188) at com.polyspace.util.RTEFileParser.parseRTEFile(RTEFileParser.java:133) at com.polyspace.util.RTEFileParser.<init>(RTEFileParser.java:52) at com.polyspace.util.ReportInterface.ReportInterface.setResultsFolder(ReportInterface.java:284) at com.polyspace.util.ReportInterface.ReportInterface.<init>(ReportInterface.java:134)
Caused by:
java.lang.ClassNotFoundException:
com.polyspace.mwsqlite4java.SQLiteException
————————————————————————————————————-
Why do I observe this error, and how do I fix it?
Best Answer