robotframework-selenium2library-java icon indicating copy to clipboard operation
robotframework-selenium2library-java copied to clipboard

Javadoc2Libdoc Get NullStream when using -P to run robotframework

Open frank007love opened this issue 10 years ago • 0 comments

When I use the below command to import Selenium2Library, and I will get ExceptionInInitializerError java -jar "$BASEPATH/robotframework.jar" -P $BASEPATH/javalib/robotframework-selenium2library.jar "$@"

And it works when I replace -P with -cp to launch Robotframework: java -cp $BASEPATH/robotframework.jar:$BASEPATH/javalib/* org.robotframework.RobotFramework "$@"

It seems a ClassLoader problem.

There's a same problem on Robotframework user group: https://groups.google.com/forum/#!topic/robotframework-users/tJjeZm0JEE0

frank007love avatar Feb 25 '15 10:02 frank007love