Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Can't start shell (mac os 10.5)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  24 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
hammett  
View profile  
 More options Sep 13 2007, 3:08 pm
From: hammett <hamm...@gmail.com>
Date: Thu, 13 Sep 2007 16:08:13 -0300
Local: Thurs, Sep 13 2007 3:08 pm
Subject: Can't start shell (mac os 10.5)
Hello,

I've download both 1.4.60 and 1.4.10 with the same problem. It's
similar to what has been reported here
(http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...)
But I'm sure nothing is using the port. Using -noserver starts the
shell, but any action - like click on About - crashes the shell.

Then I decided to use JDK 1.4.2 (the default java is 1.5.0.12 on MacOS
10.5) and got the following error starting the KitchenSink sample.

hammett:KitchenSink hammett$ ./KitchenSink-shell
2007-09-13 16:01:45.267 java[282:10b] Apple AWT Java VM was loaded on
first thread -- can't start AWT.
Exception in thread "main" java.lang.InternalError: Can't start the
AWT because Java was started on the first thread.  Make sure
StartOnFirstThread is not specified in your application's Info.plist
or on the command line
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1437)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1458)
        at com.google.gwt.dev.BootStrapPlatform.maybeInitializeAWT(BootStrapPlatform.j ava:75)
        at com.google.gwt.dev.GWTShell.run(GWTShell.java:545)
        at com.google.gwt.dev.GWTShell.main(GWTShell.java:321)

Disabling the startonfirstthread is not an option as GWT checks for
it. I've downloaded GWT 1.4.60 on Windows XP it works fine (VMWare
fusion)

Any hints?

Thanks in advance

--
Cheers,
hammett
http://hammett.castleproject.org/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Reinier Zwitserloot  
View profile  
 More options Sep 13 2007, 8:22 pm
From: Reinier Zwitserloot <reini...@gmail.com>
Date: Thu, 13 Sep 2007 17:22:15 -0700
Local: Thurs, Sep 13 2007 8:22 pm
Subject: Re: Can't start shell (mac os 10.5)
Add -XstartOnFirstThread as a parameter.

the applicationCreator scripts adds it for you.

On Sep 13, 9:08 pm, hammett <hamm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hammett  
View profile  
 More options Sep 13 2007, 10:07 pm
From: hammett <hamm...@gmail.com>
Date: Thu, 13 Sep 2007 23:07:56 -0300
Local: Thurs, Sep 13 2007 10:07 pm
Subject: Re: Can't start shell (mac os 10.5)
Trying again: shell is not working on leopard, java 1.5.0.update 12.
With or without the -XstartOnFirstThread.

On 9/13/07, Reinier Zwitserloot <reini...@gmail.com> wrote:

--
Cheers,
hammett
http://hammett.castleproject.org/

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Reinier Zwitserloot  
View profile  
 More options Sep 14 2007, 7:13 pm
From: Reinier Zwitserloot <reini...@gmail.com>
Date: Fri, 14 Sep 2007 16:13:53 -0700
Local: Fri, Sep 14 2007 7:13 pm
Subject: Re: Can't start shell (mac os 10.5)
.... try applicationCreator, see if the standard skeleton that it
generates does work. I mean, I can't exactly install leopard on a
whim, and if I start guessing why it's not working, we'll be here
until kingdom come.

On Sep 14, 4:07 am, hammett <hamm...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Navarro  
View profile  
 More options Sep 19 2007, 5:31 am
From: John Navarro <johnjill.nava...@gmail.com>
Date: Wed, 19 Sep 2007 02:31:27 -0700
Local: Wed, Sep 19 2007 5:31 am
Subject: Re: Can't start shell (mac os 10.5)
Works okay with me.  But I'm having the same error if I try to run it
in eclipse.  I used the applicationCreator -eclipse to generate the
launch file.  Does anyone know how to fix this?

Thanks!

On Sep 15, 7:13 am, Reinier Zwitserloot <reini...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
krondix@gmail.com  
View profile  
 More options Sep 28 2007, 6:10 am
From: "kron...@gmail.com" <kron...@gmail.com>
Date: Fri, 28 Sep 2007 03:10:35 -0700
Local: Fri, Sep 28 2007 6:10 am
Subject: Re: Can't start shell (mac os 10.5)
I've tried applicationCreator

Macintosh:gwt-mac-1.4.60 krondix$ ./applicationCreator -out test
client.Test
Created directory test/src
Created directory test/src/client
Created directory test/src/public
Created file test/src/Test.gwt.xml
Created file test/src/public/Test.html
Created file test/src/client/Test.java
Created file test/Test-shell
Created file test/Test-compile
Macintosh:gwt-mac-1.4.60 krondix$ cd test
Macintosh:test krondix$ ./Test-compile
Macintosh:test krondix$ ./Test-shell
Macintosh:test krondix$

Shell started for a second and then dissappeared.
And as you see the compiler does not work either. When I removed -
XstartOnFirstThread from Test-compile, it started working.
But shell does not want to start without this option.

On Sep 15, 3:13 am, Reinier Zwitserloot <reini...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RyanD  
View profile  
 More options Oct 2 2007, 6:42 pm
From: RyanD <r...@dewell.org>
Date: Tue, 02 Oct 2007 15:42:47 -0700
Local: Tues, Oct 2 2007 6:42 pm
Subject: Re: Can't start shell (mac os 10.5)
On the latest build of leopard, I have the same experience / problem
as kron...@gmail.com outlines.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pohl.longsine@gmail.com  
View profile  
 More options Oct 21 2007, 6:37 pm
From: "pohl.longs...@gmail.com" <pohl.longs...@gmail.com>
Date: Sun, 21 Oct 2007 22:37:14 -0000
Local: Sun, Oct 21 2007 6:37 pm
Subject: Re: Can't start shell (mac os 10.5)
I'm experiencing the same problem on 9A559.  I have created an issue
to track this problem...

http://code.google.com/p/google-web-toolkit/issues/detail?id=1792


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
a y  
View profile  
 More options Oct 24 2007, 10:34 pm
From: a y <ayaya...@gmail.com>
Date: Thu, 25 Oct 2007 02:34:06 -0000
Local: Wed, Oct 24 2007 10:34 pm
Subject: Re: Can't start shell (mac os 10.5)
I fixed this issue by simply deleting the workspace and let eclipse
simply create a new one.

On Oct 21, 3:37 pm, "pohl.longs...@gmail.com"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
pohl  
View profile  
 More options Oct 26 2007, 4:06 pm
From: pohl <pohl.longs...@gmail.com>
Date: Fri, 26 Oct 2007 20:06:18 -0000
Local: Fri, Oct 26 2007 4:06 pm
Subject: Re: Can't start shell (mac os 10.5)
Could someone translate what this could mean in a non-eclipse
environment?

On Oct 24, 9:34 pm, a y <ayaya...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laszlo Ferenczi  
View profile  
 More options Oct 27 2007, 7:39 am
From: Laszlo Ferenczi <lferen...@gmail.com>
Date: Sat, 27 Oct 2007 13:39:25 +0200
Local: Sat, Oct 27 2007 7:39 am
Subject: Re: Can't start shell (mac os 10.5)

Hello,

Hosted mode doesn't work (at all) under Leopard.
I think the previous comment is just a mistake, deleting the workspace  
has nothing to do with the problem here.
Refer to this issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1792

GWT folks, could you please take a look at this ? I belive it's a  
common problem with 64bit environments. (similar issues with 64bit  
linux builds)

Regards,
Laszlo

On Oct 26, 2007, at 10:06 PM, pohl wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Ayers  
View profile  
 More options Oct 27 2007, 7:55 am
From: "Eric Ayers" <zun...@google.com>
Date: Sat, 27 Oct 2007 07:55:53 -0400
Local: Sat, Oct 27 2007 7:55 am
Subject: Re: Can't start shell (mac os 10.5)

I'm not aware of anyone on the GWT team that has 10.5 on their Mac's yet.
Would someone that has Leopard installed mind filing a ticket with Apple
regarding the CGraphicsEnvironment stack trace?  This looks like its deep
inside Apple's windowing toolkit implementation and probably not specific to
GWT applications.

(this one)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at apple.awt.CGraphicsEnvironment.displayChanged(CGraphicsEnvironment.java:65)
Invalid memory access of location 00000000 eip=00000000
        at apple.awt.CToolkit$4.run(CToolkit.java:1259)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j ava:269)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav a:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java

On 10/27/07, Laszlo Ferenczi <lferen...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Houghton  
View profile  
 More options Oct 27 2007, 3:05 pm
From: "Adam Houghton" <Adam.Hough...@sas.com>
Date: Sat, 27 Oct 2007 15:05:50 -0400
Local: Sat, Oct 27 2007 3:05 pm
Subject: RE: Can't start shell (mac os 10.5)
I submitted a bug report to Apple: Problem ID 5563333 - "CGraphicsEnvironment NullPointerException breaks Google Web Toolkit in Leopard".  I included a self-contained archive (simple project & gwt-mac-1.6.0) that immediately triggers the exception.

I'll keep the issue updated if I hear anything:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1792

- Adam Houghton


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Todd  
View profile  
 More options Oct 28 2007, 9:59 pm
From: Todd <ziftyt...@gmail.com>
Date: Sun, 28 Oct 2007 18:59:39 -0700
Local: Sun, Oct 28 2007 9:59 pm
Subject: Re: Can't start shell (mac os 10.5)
Has anyone made any progress on this issue? Is anyone able to get GWT
to run under Leopard?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
stephenp  
View profile  
 More options Oct 29 2007, 2:24 am
From: stephenp <slpe...@gmail.com>
Date: Mon, 29 Oct 2007 06:24:28 -0000
Local: Mon, Oct 29 2007 2:24 am
Subject: Re: Can't start shell (mac os 10.5)
I too am seeing this problem.

I've been poking around a little and here is what I've seen. GWT uses
SWT (for display) and AWT (internally for things like ImageBundles).
Getting these two to play nicely together requires some hackery -
especially on Mac OS X. See the comments in
http://google-web-toolkit.googlecode.com/svn/trunk/dev/mac/src/com/go....

But now I am wondering if SWT and AWT don't play well together, why
not run AWT in headless mode (-Djava.awt.headless=true)? Wouldn't this
keep AWT from creating the event thread in the first place which is
conflicting with SWT (See Eric's stack trace above)? I don't know much
about headless AWT, so maybe it doesn't.

When I try to run hosted mode GWT with the headless AWT flag set I
see:
2007-10-29 00:54:31.579 java[1126:913] Process manager already
initialized -- can't fully enable headless mode.
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException:
sun.java2d.HeadlessGraphicsEnvironment
        at apple.awt.CToolkit$4.run(CToolkit.java:1258)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j ava:
269)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav a:
190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

This appears to have already been reported to apple developers in May:
http://lists.apple.com/archives/Java-dev/2007/May/msg00311.html.

So, without really having any idea what I am talking about, it seems
that Apple needs to make headless AWT work, and the GWT folks need to
use AWT headless mode to avoid conflicts with SWT.

Stephen


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Adam Houghton  
View profile  
 More options Oct 29 2007, 9:44 am
From: "Adam Houghton" <Adam.Hough...@sas.com>
Date: Mon, 29 Oct 2007 09:44:45 -0400
Local: Mon, Oct 29 2007 9:44 am
Subject: RE: Can't start shell (mac os 10.5)
One approach I (unsuccessfully) tried was swapping in the PJA toolkit,
an AWT replacement, using these system properties:
-Dawt.toolkit=com.eteks.awt.PJAToolkit
-Djava.awt.graphicsenv=com.eteks.java2d.PJAGraphicsEnvironment

I ran into some issues that looked related to Java 1.5 compatability
w/the PJA toolkit & didn't get very far.  But in theory, the general
idea of bypassing Apple's AWT code might hold potential.

- Adam


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kelly Norton  
View profile  
 More options Nov 7 2007, 10:18 am
From: "Kelly Norton" <knor...@google.com>
Date: Wed, 7 Nov 2007 10:18:10 -0500
Local: Wed, Nov 7 2007 10:18 am
Subject: Re: Can't start shell (mac os 10.5)

Just to follow up on all the Leopard threads:

There is now a test build for leopard posted on the issue tracker:
http://code.google.com/p/google-web-toolkit/issues/detail?id=1792

/kel

On Oct 29, 2007 8:44 AM, Adam Houghton <Adam.Hough...@sas.com> wrote:

--
If you received this communication by mistake, you are entitled to one free
ice cream cone on me. Simply print out this email including all relevant
SMTP headers and present them at my desk to claim your creamy treat. We'll
have a laugh at my emailing incompetence, and play a game of ping pong.
(offer may not be valid in all States).

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rjcarr  
View profile  
 More options Dec 13 2007, 7:05 pm
From: rjcarr <rjc...@gmail.com>
Date: Thu, 13 Dec 2007 16:05:49 -0800 (PST)
Local: Thurs, Dec 13 2007 7:05 pm
Subject: Re: Can't start shell (mac os 10.5)
It seems I'm missing something.  I have the special leopard 61 release
and it gives the internal error just like the 60 release did:

"Apple AWT Java VM was loaded on first thread -- can't start AWT."

I'm fairly certain I'm doing everything correctly.  I don't use
eclipse or any other IDE, just using the generated -shell script.
Ideas?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rjcarr  
View profile  
 More options Dec 13 2007, 7:57 pm
From: rjcarr <rjc...@gmail.com>
Date: Thu, 13 Dec 2007 16:57:19 -0800 (PST)
Local: Thurs, Dec 13 2007 7:57 pm
Subject: Re: Can't start shell (mac os 10.5)
Quick update to my last comment ... it gives the "first thread" error
if started with the -shell script, but if started through ant, it
works fine.  And the ant I'm using is the one that came with leopard.

Not sure if this helps, but I thought I'd update.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Essington  
View profile  
 More options Dec 14 2007, 11:43 am
From: Jason Essington <jason.essing...@gmail.com>
Date: Fri, 14 Dec 2007 09:43:58 -0700
Local: Fri, Dec 14 2007 11:43 am
Subject: Re: Can't start shell (mac os 10.5)
look at the shell script, it builds the GWT paths up as absolute  
paths, resolving symlinks in the process so, it probably says  
something like:

.../Users/rjcarr/gwt-mac-1.4.60/gwt-user.jar...

fix the paths to the gwt-user, and gwt-dev-mac jars, and you should be  
good to go.

-jason
On Dec 13, 2007, at 5:57 PM, rjcarr wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
rjcarr  
View profile  
 More options Dec 14 2007, 12:50 pm
From: rjcarr <rjc...@gmail.com>
Date: Fri, 14 Dec 2007 09:50:36 -0800 (PST)
Local: Fri, Dec 14 2007 12:50 pm
Subject: Re: Can't start shell (mac os 10.5)
Thanks for the suggestion, but as I said, I'm sure I have everything
correct, and specifically, I made the changes you recommend.  I even
created a brand new app with application creator and get the same
thing, the first thread error.

However, if I start the app with ant (by creating a target that calls
GWTShell with the correct arguments), it works fine.

You're saying you can use the -shell script and it works in leopard?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Essington  
View profile  
 More options Dec 14 2007, 1:12 pm
From: Jason Essington <jason.essing...@gmail.com>
Date: Fri, 14 Dec 2007 11:12:14 -0700
Local: Fri, Dec 14 2007 1:12 pm
Subject: Re: Can't start shell (mac os 10.5)
yup, just tried it with one of my projects ...

only change I had to make was to change the path for both the gwt-
user.jar and gwt-dev-mac.jar, and it fired right up.

-jason

On Dec 14, 2007, at 10:50 AM, rjcarr wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert J. Carr  
View profile  
 More options Dec 14 2007, 1:24 pm
From: "Robert J. Carr" <rjc...@gmail.com>
Date: Fri, 14 Dec 2007 10:24:17 -0800
Local: Fri, Dec 14 2007 1:24 pm
Subject: Re: Can't start shell (mac os 10.5)
Well, thanks for checking ... I quadruple checked everything was
right, but something must have slipped by.  Good to know it is just
me, thanks for looking into it.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Essington  
View profile  
 More options Dec 14 2007, 1:43 pm
From: Jason Essington <jason.essing...@gmail.com>
Date: Fri, 14 Dec 2007 11:43:08 -0700
Local: Fri, Dec 14 2007 1:43 pm
Subject: Re: Can't start shell (mac os 10.5)
There has to be some difference in the parameters that you are passing  
then, because ultimately both ant, and the shell script call GWTCompile.

It sounds to me that there's still something not right with your shell  
script, or perhaps with your shell environment that is tripping things  
up.

-jason
On Dec 14, 2007, at 11:24 AM, Robert J. Carr wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »