You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempts by NativeResourceTracker to shutdown native resources will result in a ClassCastException as the provided handle will no longer directly unwrap to com.sun.jna.Library.Handler. Instead it should unwrap the FbClientFeatureAccessHandler.
The resulting stacktrace is:
Error disposing of Proxy interface to Native Library <C:\Users\mark\AppData\Local\Temp\fbembed3289550959086440136\fbclient.dll@140726091841536>
java.lang.ClassCastException: org.firebirdsql.gds.ng.jna.FbClientFeatureAccessHandler cannot be cast to com.sun.jna.Library$Handler
at org.firebirdsql.gds.ng.jna.FbClientResource$1.run(FbClientResource.java:88)
at org.firebirdsql.gds.ng.jna.AbstractNativeDatabaseFactory.disposing(AbstractNativeDatabaseFactory.java:145)
at org.firebirdsql.gds.ng.jna.FbClientResource.dispose(FbClientResource.java:75)
at org.firebirdsql.gds.ng.jna.NativeResourceTracker.shutdownNativeResources(NativeResourceTracker.java:94)
at org.firebirdsql.gds.ng.jna.NativeResourceTracker$NativeLibraryShutdownRunnable.run(NativeResourceTracker.java:153)
at java.lang.Thread.run(Thread.java:748)
Submitted by: @mrotteveel
Attempts by NativeResourceTracker to shutdown native resources will result in a ClassCastException as the provided handle will no longer directly unwrap to com.sun.jna.Library.Handler. Instead it should unwrap the FbClientFeatureAccessHandler.
The resulting stacktrace is:
Error disposing of Proxy interface to Native Library <C:\Users\mark\AppData\Local\Temp\fbembed3289550959086440136\fbclient.dll@140726091841536>
java.lang.ClassCastException: org.firebirdsql.gds.ng.jna.FbClientFeatureAccessHandler cannot be cast to com.sun.jna.Library$Handler
at org.firebirdsql.gds.ng.jna.FbClientResource$1.run(FbClientResource.java:88)
at org.firebirdsql.gds.ng.jna.AbstractNativeDatabaseFactory.disposing(AbstractNativeDatabaseFactory.java:145)
at org.firebirdsql.gds.ng.jna.FbClientResource.dispose(FbClientResource.java:75)
at org.firebirdsql.gds.ng.jna.NativeResourceTracker.shutdownNativeResources(NativeResourceTracker.java:94)
at org.firebirdsql.gds.ng.jna.NativeResourceTracker$NativeLibraryShutdownRunnable.run(NativeResourceTracker.java:153)
at java.lang.Thread.run(Thread.java:748)
This indicates a lack of test coverage.
Commits: 23f40de d326e87
The text was updated successfully, but these errors were encountered: