Closed Coalery closed 3 years ago
Am sorry, but I don't think we can do much with this issue in its current form: it's missing a straight-forward reproducible sample, instead containing a lot of code snippets that are both not executable and contain a lot of code that is probably not relevant for the exception you're getting.
All I can offer is that you're trying to get a value by name from a certain scope, but that returns undefined. And they you try to cast that undefined value to a function, which correctly gives you a ClassCastException, as undefined isn't a function.
Am closing this case, feel free to reopen with a reproducible sample if you're still experiencing this problem
This code is run well.
But, If I add classes, It occurred exception.
This above code occurred this exception:
TwitchBot.java:150
is this:And
TwitchBot.java:105
is this:How can I resolve it?