groovysh crashes instead of starting

Bug #953533 reported by Martin Jackson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
groovy (Ubuntu)
Fix Released
High
James Page
Precise
Fix Released
High
James Page

Bug Description

Attemps to start groovysh end with the following Java stack trace:

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/groovy/tools/GroovyStarter
Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.tools.GroovyStarter
        at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.codehaus.groovy.tools.GroovyStarter. Program will exit.

Exit code is 1.

This is a regression from Oneiric (where groovysh starts as expected). Groovy 1.8.6 (in Debian Testing) also behaves as expected.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: groovy 2.0.0~beta2+isreally1.8.5-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Mon Mar 12 18:03:21 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: groovy
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Martin Jackson (mhjacks) wrote :
Changed in groovy (Ubuntu):
importance: Undecided → High
Revision history for this message
James Page (james-page) wrote :

This is because we are carrying the 2.0.0+isreally hack

Changed in groovy (Ubuntu):
status: New → Confirmed
milestone: none → ubuntu-12.04-beta-2
assignee: nobody → James Page (james-page)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package groovy - 2.0.0~beta2+isreally1.8.6-0ubuntu1

---------------
groovy (2.0.0~beta2+isreally1.8.6-0ubuntu1) precise; urgency=low

  * New upstream release.
  * Fix jar naming issues caused by +isreally (LP: #953533):
    - d/rules: Figure out real upstream version number and install
      jars to /usr/share/groovy/lib with the correct versioning.
 -- James Page <email address hidden> Thu, 15 Mar 2012 13:25:54 +0000

Changed in groovy (Ubuntu Precise):
status: Confirmed → 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.