incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andor E <eymux2...@googlemail.com>
Subject Re: AO 3.4: Java Extension and HeadlessException
Date Tue, 15 May 2012 09:54:47 GMT
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.<init>(Window.java:437)
2012-05-14 14:08:25 ERROR(WollMuxBar:450): java.awt.Frame.<init>(Frame.java:419)
2012-05-14 14:08:25 ERROR(WollMuxBar:450):
javax.swing.JFrame.<init>(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 <arielch@apache.org> 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
>

Mime
View raw message