sparkling-water
sparkling-water copied to clipboard
Python Initializer in some cases fails to inject the jar into classloader
when the returned classloader doesn’t override the addURL method that error happens (but gets catched and ignored)
{noformat}Py4JJavaError: An error occurred while calling o461.getDeclaredMethod. : java.lang.NoSuchMethodException: sun.misc.Launcher$AppClassLoader.addURL(java.net.URL) at java.lang.Class.getDeclaredMethod(Class.java:2130) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357) at py4j.Gateway.invoke(Gateway.java:282) at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) at py4j.commands.CallCommand.execute(CallCommand.java:79) at py4j.GatewayConnection.run(GatewayConnection.java:238) at java.lang.Thread.run(Thread.java:750){noformat}
JIRA Issue Migration Info
Jira Issue: SW-2708 Assignee: krasinski Reporter: krasinski State: Reopened Fix Version: Backlog Attachments: N/A Development PRs: Available
Linked PRs from JIRA
https://github.com/h2oai/sparkling-water/pull/2768
JIRA Issue Migration Info Cont'd
Jira Issue Created Date: 2022-04-27T16:37:32.489-0700