Re: Compiler Bug in 2.1.0.m2

2010-07-22 Thread Björn
Hi Olivier,

thanks for your quick response and your workaround. It works!

cheers,

Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compiler Bug in 2.1.0.m2

2010-07-20 Thread Olivier Monaco
Hi,

I've updated the issue with a more specific test case and a possible
workaround.

Olivier

On 19 juil, 15:09, Björn bjoernham...@web.de wrote:
 Hi George, hi Gal,

 thanks for you help! The Resymbolization did the trick.

 After having two days of real fun with compiled javascript I think I
 found a bug in the gwt compiler. If your interested take a look 
 athttp://code.google.com/p/google-web-toolkit/issues/detail?id=5133.

 Hope it will be fixed soon...

 cheers,

 Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compiler Bug in 2.1.0.m2

2010-07-20 Thread Paul Stockley
The GWT team needs to be all over issues like this. Nothing will put
people off GWT quicker than a flaky compiler you cannot depend on.

On Jul 20, 5:53 am, Olivier Monaco olivier.mon...@free.fr wrote:
 Hi,

 I've updated the issue with a more specific test case and a possible
 workaround.

 Olivier

 On 19 juil, 15:09, Björn bjoernham...@web.de wrote:



  Hi George, hi Gal,

  thanks for you help! The Resymbolization did the trick.

  After having two days of real fun with compiled javascript I think I
  found a bug in the gwt compiler. If your interested take a look 
  athttp://code.google.com/p/google-web-toolkit/issues/detail?id=5133.

  Hope it will be fixed soon...

  cheers,

  Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compiler Bug in 2.1.0.m2

2010-07-20 Thread Olivier Monaco
If you think so, star the issue

On 20 juil, 15:46, Paul Stockley pstockl...@gmail.com wrote:
 The GWT team needs to be all over issues like this. Nothing will put
 people off GWT quicker than a flaky compiler you cannot depend on.

 On Jul 20, 5:53 am, Olivier Monaco olivier.mon...@free.fr wrote:

  Hi,

  I've updated the issue with a more specific test case and a possible
  workaround.

  Olivier

  On 19 juil, 15:09, Björn bjoernham...@web.de wrote:

   Hi George, hi Gal,

   thanks for you help! The Resymbolization did the trick.

   After having two days of real fun with compiled javascript I think I
   found a bug in the gwt compiler. If your interested take a look 
   athttp://code.google.com/p/google-web-toolkit/issues/detail?id=5133.

   Hope it will be fixed soon...

   cheers,

   Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Compiler Bug in 2.1.0.m2

2010-07-16 Thread Björn
Hi there,

seems like I found a bug in the GWT compiler. IfI compile the source
code with -draftCompile the applications works as excected. If I
remove this parameter I am getting a NullpointerException in my
javascript (in IE6 as well as FF).

I wanted to have a closer look at the javacode that ist responsible
for the Nullpointer and added the parameter -style DETAILED.
Surprisingly no NullpointerException occured. No NullpointerException
as well with -style PRETTY.

Any ideas how I could find out how to solve the problem? My generated
*.cache.html files have 800k size. I don't see a chance to analize the
obfuscated javascript.

The problem occured while upgrading from 1.5.3 to 2.1.0.m2. I am
trying to compile the code with the newest 2.0 version and let you
know if that helps.

cheers,

Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compiler Bug in 2.1.0.m2

2010-07-16 Thread Gal Dolber
Maybe this can help you:
http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions

Look at the bottom for: Resymbolization

Best

2010/7/16 Björn bjoernham...@web.de

 Hi there,

 seems like I found a bug in the GWT compiler. IfI compile the source
 code with -draftCompile the applications works as excected. If I
 remove this parameter I am getting a NullpointerException in my
 javascript (in IE6 as well as FF).

 I wanted to have a closer look at the javacode that ist responsible
 for the Nullpointer and added the parameter -style DETAILED.
 Surprisingly no NullpointerException occured. No NullpointerException
 as well with -style PRETTY.

 Any ideas how I could find out how to solve the problem? My generated
 *.cache.html files have 800k size. I don't see a chance to analize the
 obfuscated javascript.

 The problem occured while upgrading from 1.5.3 to 2.1.0.m2. I am
 trying to compile the code with the newest 2.0 version and let you
 know if that helps.

 cheers,

 Björn

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-tool...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
http://ajax-development.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compiler Bug in 2.1.0.m2

2010-07-16 Thread Björn
Hi again,

bad news. I got the same result with 2.0.3.

Our project is working with the gwt quite happy for the last 4 years.
But this situation has allways been in the top 3 topics of our risk
list.

Any thoughts would be greatly appreciated.

Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Compiler Bug in 2.1.0.m2

2010-07-16 Thread George Georgovassilis
Hell Björn,

I know your pain. In this case you have really only one option:
loggin!
Grab yourself a nice div somewhere on your page and start mercelessly
logging what your application is doing to that div and try to narrow
down where the error happens.

Also try/catch block which Window.alert() the exception will help you
close up on the error fast.

On Jul 16, 9:29 am, Björn bjoernham...@web.de wrote:
 Hi again,

 bad news. I got the same result with 2.0.3.

 Our project is working with the gwt quite happy for the last 4 years.
 But this situation has allways been in the top 3 topics of our risk
 list.

 Any thoughts would be greatly appreciated.

 Björn

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.