Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Deploy SWT Application with native Browser libraries via Webstart


Have a look at these bugs. Some of the issues have been resolved already.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=63306
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67384

Silenio



Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

06/02/2006 11:58 AM

Please respond to
"Eclipse Platform SWT component developers list."

To
"Eclipse Platform SWT component developers list." <platform-swt-dev@xxxxxxxxxxx>
cc
Subject
Re: [platform-swt-dev] Deploy SWT Application with native Browser        libraries via Webstart





Now i have a stacktrace from Mac OSX (SWT 3.2 on Intel):

--------------------------------------------
Java Web Start 1.4.2_09 Konsole, gestartet Fri Jun 02 17:56:34 CEST 2006
Java 2 Runtime Environment: Version 1.4.2_09 von Apple Computer, Inc.
Protokolldatei: /Users/carsten/Desktop/webstart.txt
org.eclipse.swt.SWTException: Invalid thread access
                at org.eclipse.swt.SWT.error(SWT.java:3374)
                at org.eclipse.swt.SWT.error(SWT.java:3297)
                at org.eclipse.swt.SWT.error(SWT.java:3268)
                at org.eclipse.swt.widgets.Widget.error(Widget.java:653)
                at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:331)
                at org.eclipse.swt.widgets.ToolItem.getSelection(ToolItem.java:546)
                at org.eclipse.swt.widgets.ToolItem.drawBackground(ToolItem.java:355)
                at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:999)
                at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:352)
                at org.eclipse.swt.widgets.Display.controlProc(Display.java:838)
java.lang.NullPointerException
                at org.eclipse.swt.browser.Browser.eventProc3(Browser.java:398)
java.lang.NullPointerException
                at org.eclipse.swt.browser.Browser.eventProc3(Browser.java:398)
java.lang.NullPointerException
                at org.eclipse.swt.browser.Browser.eventProc3(Browser.java:398)
java.lang.NullPointerException
                at org.eclipse.swt.browser.Browser.eventProc3(Browser.java:398)
java.lang.NullPointerException
                at org.eclipse.swt.browser.Browser.eventProc3(Browser.java:398)
-----------------------------------------------------------


Can anyone help me?


Best regards

Carsten Marx

Am 02.06.2006 um 15:19 schrieb Carsten Marx:

> Ok... recompiled with 1.4 (my fault...) and now it's working with  
> Windows. But not on Mac OSX (Intel). I used SWT 3.2development  
> Version and it works whithin Eclipse on my Mac.
>
> Are there any more hints.. ? Or someone with the same problem? Or  
> is Java Web Start not possible in this manner on Mac OSX?
>
> Best regards.
>
> Carsten Marx
>
> Am 02.06.2006 um 13:58 schrieb Leen Toelen:
>
>> I can run the application and browse around without a problem. Maybe
>> try with another version of the JRE?
>>
>> Regards,
>> Leen
>>
>> On 6/2/06, Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx> wrote:
>>>
>>> Sorry the application is chrashing before i get a stacktrace...  
>>> (On Mac
>>> Intel and Windows)
>>>
>>> So you can try it at your own:
>>> http://hci.uni-konstanz.de/MedioVis/webstart/swttest/SWTTest.jnlp
>>>
>>> BTW: The project is working fine in Eclipse and all the dlls/
>>> jnilibs are in
>>> a signed jar in the way described here:
>>> http://www.eclipse.org/swt/faq.php#javawebstart
>>> (But i think this FAQ entry is very old...  ???)
>>>
>>>
>>> Best regards
>>> Carsten Marx
>>>
>>>
>>>
>>> Am 02.06.2006 um 12:05 schrieb Leen Toelen:
>>>
>>>
>>> Do you have a stack trace? That makes debugging a lot easier.
>>>
>>> Regards,
>>> Leen
>>>
>>> On 6/2/06, Carsten Marx <Carsten.Marx@xxxxxxxxxxxxxxx> wrote:
>>> Hello,
>>>
>>> the following scenario:
>>>
>>> We habe a visual seeking system with a webbrowser included.
>>> We will use the native Browser widget from SWT.
>>> We will deploy our application via webstart for the operating  
>>> systems
>>> mac, windows and linux.
>>> The user should only click on the .jnlp file to download and start
>>> the entire application.
>>>
>>> The .jnlp loads the neseccary files depending on the operating  
>>> system
>>> from the webserver. The native libraries are included in a jar file
>>> (as described in the FAQ on the SWT website). But the application is
>>> chrashing on windows, mac and linux. The application is working
>>> perfectly within Eclipse.
>>>
>>> Here the .jnlp fle for the native libraries:
>>>
>>> ----------------CODE-------------------------
>>>
>>> <?xml version="1.0" encoding="utf-8"?>
>>> <jnlp
>>>    spec="1.0+"
>>>    codebase=""> >>>    href=""> >>>    <information>
>>>      <title>.....</title>
>>>      <homepage href=""> >>>      <description>.......</description>
>>>      <vendor>.......</vendor>
>>>    </information>
>>>    <security>
>>>      <all-permissions/>
>>>    </security>
>>>    <resources os="Windows" arch="x86">
>>>      <jar href=""> >>>      <nativelib href=""> >>>    </resources>
>>>    <resources os="Linux" arch="i386">
>>>      <jar href=""> >>>      <jar href=""> >>>      <nativelib href=""> >>>    </resources>
>>>      <resources os="Mac OS X">
>>>      <jar href=""> >>>      <nativelib href=""> >>>    </resources>
>>>    <component-desc/>
>>> </jnlp>
>>>
>>>
>>> ----------------CODE-------------------------
>>>
>>>
>>> Are there any better tutorials available or is it not possible to
>>> deploy the native Browser libraries this way?
>>> Thanks for any comments...
>>>
>>>
>>> Best regards
>>>
>>>
>>> Carsten Marx, University of Konstanz
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> platform-swt-dev mailing list
>>> platform-swt-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>>>
>>>
>>> _______________________________________________
>>> platform-swt-dev mailing list
>>> platform-swt-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>>>
>>>
>>> _______________________________________________
>>> platform-swt-dev mailing list
>>> platform-swt-dev@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>>>
>>>
>>>
>> _______________________________________________
>> platform-swt-dev mailing list
>> platform-swt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev


Back to the top