[Bug 793658] New: groovysh fails with NoClassDefFoundError
https://bugzilla.novell.com/show_bug.cgi?id=793658 https://bugzilla.novell.com/show_bug.cgi?id=793658#c0 Summary: groovysh fails with NoClassDefFoundError Classification: openSUSE Product: openSUSE Factory Version: 12.3 Milestone 0 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: Lennart.Borjeson@telia.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.35 Safari/537.17 I've installed groovy-1.8.4 from java:base/Factory. Compiling, running etc works OK, but groovysh fails with NoClassDefFoundError. Reproducible: Always Steps to Reproduce: 1.Install groovy-1.8.4 2.Invoke "groovysh" Actual Results: Stack trace: java.lang.NoClassDefFoundError: org.fusesource.jansi.AnsiConsole at org.codehaus.groovy.tools.shell.Main.class$(Main.groovy) at org.codehaus.groovy.tools.shell.Main.$get$$class$org$fusesource$jansi$AnsiConsole(Main.groovy) at org.codehaus.groovy.tools.shell.Main.<clinit>(Main.groovy:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:108) at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:130) Expected Results: Should have entered the groovysh interpreter shell. The problem is due to a missing entry in the classpath built by /usr/bin/groovysh. It should include "jansi". I've noticed this error has been logged by Redhat and a fix released by them as groovy-1.8.6. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793658 https://bugzilla.novell.com/show_bug.cgi?id=793658#c1 Michal Vyskocil <mvyskocil@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED CC| |mvyskocil@suse.com --- Comment #1 from Michal Vyskocil <mvyskocil@suse.com> 2012-12-17 15:37:44 UTC --- we don't have jansi and packaging is not easy as it needs few more deps ... so it will takes some time, sorry -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793658 https://bugzilla.novell.com/show_bug.cgi?id=793658#c2 --- Comment #2 from Lennart Börjeson <Lennart.Borjeson@telia.com> 2013-02-05 14:43:04 UTC --- jansi is in Java:base (openSUSE_Factory) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=793658 https://bugzilla.novell.com/show_bug.cgi?id=793658#c3 --- Comment #3 from Fridrich Strba <fstrba@suse.com> 2013-12-05 15:37:33 UTC --- Is this bug still relevant, or did the upgrade to 1.8.6 take care of it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com