Closed jimgoog closed 3 years ago
That is to say, specifically, Skiko should check to see if the resource InputStream
is null
prior to passing it into the InputStreamReader
, and if it is null, then throw a more helpful exception type indicating which resource is not found and that it is likely the result of a missing dependency.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
Users get a
NullPointerException
if they forget to include theimplementation(compose.desktop.currentOs)
dependency. The NPE is really not very helpful in helping the user to identify the issue, and not really specific enough for ComposeDesktop to catch and rethrow. Surely a more informative error message could be thrown by skiko when a dependency is missing.