Bug 64494

Summary: CONFIGURATION: LanguageTool 2.1 & OpenOffice.org2GoogleDocs version 3.0.0 are not working
Product: LibreOffice Reporter: goldfish
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jmadero.dev, michael.meeks, serval2412
Priority: medium    
Version: 4.0.2.2 release   
Hardware: Other   
OS: Linux (All)   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description goldfish 2013-05-12 15:03:04 UTC
Problem description: These two extension (LanguageTool 2.1 & ooo2gd_3.0.0.oxt) don't work with LibreOffice 4.0.2.2

Steps to reproduce:
1. Go to Tools → Extension Manager → Click 'Add' → Browse to the files with these extensions
2. Get the following error message:
(com.sun.star.uno.RuntimeException) { { Message = "[jni_uno bridge error] UNO calling Java method writeRegistryInfo: non-UNO exception occurred: java.lang.NoClassDefFoundError: com/sun/star/task/XJobExecutor\X000ajava stack trace:\X000ajava.lang.NoClassDefFoundError: com/sun/star/task/XJobExecutor\X000a\X0009at java.lang.ClassLoader.defineClass1(Native Method)\X000a\X0009at java.lang.ClassLoader.defineClass(ClassLoader.java:787)\X000a\X0009at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\X000a\X0009at java.net.URLClassLoader.defineClass(URLClassLoader.java:447)\X000a\X0009at java.net.URLClassLoader.access$100(URLClassLoader.java:71)\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:361)\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:355)\X000a\X0009at java.security.AccessController.doPrivileged(Native Method)\X000a\X0009at java.net.URLClassLoader.findClass(URLClassLoader.java:354)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:423)\X000a\X0009at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:787)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:356)\X000a\X0009at com.sun.star.comp.loader.RegistrationClassFinder.find(RegistrationClassFinder.java:55)\X000a\X0009at com.sun.star.comp.loader.JavaLoader.writeRegistryInfo(JavaLoader.java:399)\X000aCaused by: java.lang.ClassNotFoundException: com.sun.star.task.XJobExecutor\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:366)\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:355)\X000a\X0009at java.security.AccessController.doPrivileged(Native Method)\X000a\X0009at java.net.URLClassLoader.findClass(URLClassLoader.java:354)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:423)\X000a\X0009at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:787)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:356)\X000a\X0009... 14 more\X000a", Context = (com.sun.star.uno.XInterface) @0 } }
3. ....

Using  Oracle Corporation 1.7.0_21 Location: usr/lib/jvm/java-7-openjdk-i386/jre

Current behavior: Dose not work

Expected behavior: Need it to work. 

Thanks.

              
Operating System: Ubuntu
Version: 4.0.2.2 release
Comment 1 Joel Madero 2013-05-13 15:33:55 UTC
Unfortunately in 95% of cases these are not our bugs as they are third party and need to be solved by the developer of the extension. I will investigate a bit but it is likely that this is NOTOURBUG
Comment 2 Michael Meeks 2013-05-13 15:42:40 UTC
Well - 2.1 is the latest release of LanguageTool, which is a Java extension - so it should 'just work'.

If this installed in a previous release, and does not install now - then I'd be suspicious that this is our bug - simply because the LanguageTool guys are clueful :-) 

Looks like some problem finding the classes; can you confirm the exact steps you went through to install and where you downloaded that from ? can you reproduce with LibreOffice 4.0.3.3 ?
Comment 3 Julien Nabet 2013-05-18 14:45:55 UTC
Just for information, on pc Debian x86-64 with master sources updated today and a brand new LO profile, I could install Languagetools.
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-4)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)

Just for the test, could you rename your LO directory profile(see https://wiki.documentfoundation.org/UserProfile) and try again?

If you still reproduce this, would it be possible you test 4.0.3?
Comment 4 goldfish 2013-05-20 06:31:12 UTC
I think this "bug" may have been caused because some part of my OS/ LO software was corrupted by frequent improper shutdowns because of some previous hardware issues.

So, this bug may not be a bug after all because once I did a fresh install both these extensions seems to be working just fine.

Also LO Version 4.0.2.2 (Build ID: 400m0(Build:2)) is very fast to load on Ubuntu 13.04. Almost as fast as the Gnome-calculator!!!!

Thank you so much.

May I close this 'bug' as "RESOLVED"?
Comment 5 Julien Nabet 2013-05-20 07:21:29 UTC
goldfish: thank you for your feedback. I put it as RESOLVED/WFM.
About loading, it's one of the issues which has been improved.
If interested, here are some ways to contribute (
http://www.libreoffice.org/get-involved/
:-)