ng-nailgun throw "java.lang.ClassNotFoundException: ng-nailgun 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:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.martiansoftware.nailgun.NGSession.run(Unknown Source)" at invocation

Bug #793859 reported by morgenbart
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
nailgun (Ubuntu)
Fix Released
Undecided
Hideki Yamane

Bug Description

Binary package hint: nailgun

Nailgun-Package installs the nailgun client as /usr/bin/ng-nailgun. On invocation it throws "java.lang.ClassNotFoundException: ng-nailgun". In the client's source in /nailgun-0.7.1/src/c/ it looks like the client takes the command name (argv[0]) as command to start if it is something other than "ng". Symlinking /usr/bin/ng-nailgun to "ng" and running this works.

Additional information:

1) $lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

2) $ apt-cache policy nailgun
nailgun:
  Installed: 0.7.1-3
  Candidate: 0.7.1-3
  Version table:
 *** 0.7.1-3 0
        500 http://de.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status
3) ng-client connects with ng-server.
4) ng-client does not connect with ng-server.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nailgun (Ubuntu):
status: New → Confirmed
Revision history for this message
Hideki Yamane (henrich) wrote :

fixed in Debian unstable.

Changed in nailgun (Ubuntu):
assignee: nobody → Hideki Yamane (Debian-JP) (henrich)
status: Confirmed → In Progress
Hideki Yamane (henrich)
Changed in nailgun (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nailgun - 0.9.0+trunk95-1

---------------
nailgun (0.9.0+trunk95-1) unstable; urgency=medium

  * Bump up version number since it produces jar files with version as
    0.9.0. Nothing changed in upstream source.
  * set "urgency=medium" to introduce other packages' security fix to testing
    quickly.
  * debian/nailgun.links
    - fix wrong symlink, now it should be changed to 0.9.0

 -- Hideki Yamane <email address hidden> Thu, 20 Sep 2012 22:58:48 +0900

Changed in nailgun (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.