Error:
Waiting for debugger to connect...
Program started.
Type Network Path: example(\\Server\SharedFolder)
Error occurred on line: 61 (Main)
java.lang.IllegalArgumentException: object is not an instance of declaring class
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)...