Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D4E10CF0C for ; Tue, 15 May 2012 10:01:56 +0000 (UTC) Received: (qmail 74349 invoked by uid 500); 15 May 2012 09:55:16 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 74113 invoked by uid 500); 15 May 2012 09:55:15 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 74093 invoked by uid 99); 15 May 2012 09:55:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 09:55:14 +0000 X-ASF-Spam-Status: No, hits=-0.5 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of eymux2009@googlemail.com designates 209.85.161.175 as permitted sender) Received: from [209.85.161.175] (HELO mail-gg0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 09:55:08 +0000 Received: by ggnp4 with SMTP id p4so1553200ggn.6 for ; Tue, 15 May 2012 02:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=b6hNR5J9nuHofS/PqCjS0mjVOJvdNDES6IOagBqFYUA=; b=tAfPuu2y2HU071C5ciDDA5nAQpV5z8Z5UIzrlqdFw/ZFBOJPcOag9aCR1B3U8nsC0a TDXUz86NrBm+vpTdV0yp7YszZjn1941zCPUprL+39T0Eyd1xEItIdy2c/oVhSPvMMwBz 2caICKpCgO53riyEzfTRiAgh1s3k6NO/rr00uYOUVGvkUdOxxbrDDncq8GbFQsgwL/X1 jmB6JHBDB6umxDFYSLbYbt7krXZhrNsGFn6+ir5QsB8JYKwNCv59jO7XUwEo7GNG7lmX N3imhzYDJ1ReXfq7kcKW38C889YS2PnZbpp1jPn9HxzWPa1Xgz/xV1Dst31p7y4rudB/ aXCw== MIME-Version: 1.0 Received: by 10.100.245.5 with SMTP id s5mr3487041anh.19.1337075687630; Tue, 15 May 2012 02:54:47 -0700 (PDT) Received: by 10.146.26.26 with HTTP; Tue, 15 May 2012 02:54:47 -0700 (PDT) In-Reply-To: <20120515082448.GA31523@localhost> References: <20120515082448.GA31523@localhost> Date: Tue, 15 May 2012 09:54:47 +0000 Message-ID: Subject: Re: AO 3.4: Java Extension and HeadlessException From: Andor E To: ooo-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi, thanks for the responses. My tests have been done on Kubuntu 10.04, because it comes closest to our production environment. And here is a stacktrace: 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.HeadlessException 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.Window.(Window.java:437) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.Frame.(Frame.java:419) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): javax.swing.JFrame.(JFrame.java:218) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): de.muenchen.allg.itd51.wollmux.dialog.WollMuxBar.createGUI(WollMuxBar.java:480) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): de.muenchen.allg.itd51.wollmux.dialog.WollMuxBar.access$500(WollMuxBar.java:156) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): de.muenchen.allg.itd51.wollmux.dialog.WollMuxBar$5.run(WollMuxBar.java:446) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventQueue.dispatchEventImpl(EventQueue.java:647) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventQueue.access$000(EventQueue.java:96) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventQueue$1.run(EventQueue.java:608) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventQueue$1.run(EventQueue.java:606) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.security.AccessController.doPrivileged(Native Method) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventQueue.dispatchEvent(EventQueue.java:617) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177) 2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.EventDispatchThread.run(EventDispatchThread.java:138) Steps to reproduce: * Install WollMux.oxt * Install wollmux-config * lauchch ./wollmuxbar (Please refer to www.wollmux.org for installation instructions and downloads.) I'm not using Tomcat or any API connected with Tomcat. I hope this answers all questions. The bug is very reproducable and I'm pretty sure that I've installed my extension correctly. Greetings Andor Ertsey On 5/15/12, Ariel Constenla-Haile wrote: > Hello Andor, > > On Mon, May 14, 2012 at 03:35:18PM +0200, Andor E wrote: >> Hi, >> I have just started to test AO 3.4 with our extension (WollMux) and ran >> into trouble right at the start. One part of our software is an external >> Swing GUI that connects to OOo/AO via bootstrapping. When this program >> tries to instantiate its main form, it throws a >> java.awt.HeadlessException. >> It's also supposed to launch an invisible Writer document. The launching >> works, but the window is visible. >> Needless to say, this works with OOo 3.2.1/3.3. >> >> Has anything changed in the way JAVA is launched or in the bootstrapping >> mechanism? I couldn't find anything on this in the release notes. Also is >> there any documentation on changes in the API? > > > I downloaded your extension and it seems to work on Linux (Fedora 16, 64 > bits): http://people.apache.org/~arielch/images/wollmux.png > The only issue I've found is > https://issues.apache.org/ooo/show_bug.cgi?id=119102 > > Could you please enumerate the steps to reproduce the HeadlessException > exception? I started the test by running ./wollmuxbar > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina >