Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
0.4.0
-
None
-
None
-
Operating System: Mac OS
Platform: PC
-
3
Description
If somewhere in the full path for the location where you are trying to run your controller, you have a path segment with a space, for example:
/tmp/Development Stuff/distribution.opendaylight-0.1.0-SNAPSHOT-osgipackage/opendaylight
(note the " " in "Development Stuff" above)
When you try to execute run.sh, it will fail with the message:
usage: dirname path
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/equinox/launcher/Main
Caused by: java.lang.ClassNotFoundException: org.eclipse.equinox.launcher.Main
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
This failure is occurring due to mishandling of the space in "Development Stuff"
Still working on fixing... but wanted folks to know ASAP that the workaround is
to simply do something like
mv /tmp/Development\ Stuff/ /tmp/DevelopmentStuff
in other words, kill the space in the path segment.
Attachments
| # | Subject | Branch | Project | Status | CR | V |
|---|---|---|---|---|---|---|
| 33730,2 | Replace deprecated variables in suites/controller (1). | master | integration/test | Status: MERGED | +2 | +1 |
| 78083,7 | NETVIRT-1520: AlivenessMonitor cache issue | master | netvirt | Status: MERGED | +2 | +1 |
| 79110,3 | NETVIRT-1520: AlivenessMonitor cache issue | stable/oxygen | netvirt | Status: MERGED | +2 | +1 |
| 79165,4 | NETVIRT-1520: AlivenessMonitor cache issue | stable/fluorine | netvirt | Status: MERGED | +2 | +1 |