We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'm trying to perform instance choose in different class loaders -
export function chooseAll<T>(className: string, callbacks: ChooseCallbacks<T>) { Java.enumerateClassLoadersSync().forEach((loader: any) => { const cLoader = Java.ClassFactory.get(loader) Logger.debug(loader) Logger.debug(cLoader.toString()) try { cLoader.choose(className, { onMatch(instance) { return callbacks.onMatch(instance) }, onComplete() { callbacks.onComplete() } }) } catch (e: any) { if (!e.toString().includes("java.lang.ClassNotFoundException")) Logger.error(e.toString()) } }) }
When running, I'm receiving an error message -
TypeError: cannot read property 'iterateOverInstancesOfClass' of null
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm trying to perform instance choose in different class loaders -
When running, I'm receiving an error message -
The text was updated successfully, but these errors were encountered: