Forum Discussion

cssdp's avatar
15 years ago

Installing to Ubuntu 9.04 can cause NoSuchMethodError in GTK.initialize

Here is the problem and the solution. I installed the community edition of soapUI 3.5 to Ubuntu desktop 9.04 (Jaunty). I have Sun's JSE 6 installed, build 1.6.0_16-b01. Running soapui.sh gave me this

Exception in thread "XpcMessageLoop" java.lang.NoSuchMethodError: com.jniwrapper.gtk.GTK.initialize([Ljava/lang/String;)V
at com.teamdev.xpcom.impl.awt.linux.AwtLinuxPlatform.a(SourceFile:166)
at com.teamdev.xpcom.impl.E.initialize(SourceFile:69)
at com.teamdev.xpcom.c.run(SourceFile:150)

The fix is to un-comment this line in soapui.sh
#  JAVA_OPTS="$JAVA_OPTS -Dsoapui.jxbrowser.disable=true"

I assume this disables some feature of 3.5 but I don't care; I'm now using soapui!

cheers,
Mark
  • Hello,

    I would communicate that this bug comes out also on Ubuntu 9.10 (and Java(TM) SE Runtime Environment (build 1.6.0_15-b03) ) .

    Mark, THANKS A LOT!!! You saved me hours of work!!!

    Moreover, can I ask which features are disabled with this modify? The comment says "#uncomment to disable browser component", but I can't understand what it refers to...

    Sorry for my english!

    Maurizio