Monday, May 4, 2026

Re: Incorrect cast hides full stack trace

Oh wow.  Yes, you're correct.  Massive air swing by me.  lol.  Thanks.

works.png

On Monday, 4 May 2026 at 5:04:40 pm UTC+10 Frank wrote:
Click on the arrow before 'Uncaught exception' in the console?
This should expand the exception?

Op maandag 4 mei 2026 om 07:27:00 UTC+2 schreef Craig Mitchell:
To reproduce:
1. Create a sample project.  Eg:  https://github.com/NaluKit/gwt-maven-springboot-archetype
2. Add a silly cast:   Integer notAnInt = (Integer)(Object)"hi";
3. Run super dev mode.
4. Visit your page.
5. It will crash on the cast, view the console.  It looks like this:

Screen.png

No mention of where your silly cast is.

However if you right click and "Copy console".  You get the following that does have where your silly cast is (highlighted in yellow):

Throwable.java:114 Uncaught Error: java.lang.ClassCastException
    at WPd_g$.Dz_g$ [as createError_0_g$] (Throwable.java:114:1)
    at WPd_g$.Oz_g$ [as initializeBackingError_0_g$] (Throwable.java:106:1)
    at WPd_g$.wz_g$ (Throwable.java:66:1)
    at WPd_g$.cA_g$ (Exception.java:29:1)
    at WPd_g$.kA_g$ (RuntimeException.java:29:1)
    at new WPd_g$ (ClassCastException.java:27:1)
    at dlf_g$ (InternalPreconditions.java:155:1)
    at qlf_g$ (InternalPreconditions.java:139:1)
    at plf_g$ (InternalPreconditions.java:134:1)
    at Lxc_g$ (Cast.java:74:1)
Dz_g$ @ Throwable.java:114
Oz_g$ @ Throwable.java:106
wz_g$ @ Throwable.java:66
cA_g$ @ Exception.java:29
kA_g$ @ RuntimeException.java:29
WPd_g$ @ ClassCastException.java:27
(anonymous) @ InternalPreconditions.java:155
(anonymous) @ InternalPreconditions.java:139
plf_g$ @ InternalPreconditions.java:134
Lxc_g$ @ Cast.java:74
amf_g$ @ App.java:43
OAc_g$ @ test_00046App__EntryMethodHolder.java:3
(anonymous) @ ModuleUtils.java:44
wI_g$ @ Impl.java:293
(anonymous) @ Impl.java:352
(anonymous) @ Impl.java:72
initializeModules_0_g$ @ ModuleUtils.java:55
(anonymous) @ GreetingService_TypeSerializer.java:10
PendingScript
h @ test.nocache.js:8
(anonymous) @ test.nocache.js:9
g @ test.nocache.js:6
w @ test.nocache.js:9
test @ test.nocache.js:17
(anonymous) @ test.nocache.js:18
PendingScript
Recompiler.loadApp @ test:348
(anonymous) @ test:568
(anonymous) @ test:286
__globals.callbacks.<computed> @ test:300
(anonymous) @ test?user.agent=safari&_callback=__gwt_sdm_globals.callbacks.c1777871930876:1
PendingScript
Recompiler.__injectScriptTag @ test:311
Recompiler.__jsonp @ test:304
Recompiler.compile @ test:284
Main.compile @ test:562
executeMain @ test:594
(anonymous) @ test:599
(anonymous) @ test:608
PendingScript
injectScriptTag @ test.nocache.js:52

Any idea why it doesn't show in the normal console?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/a2804209-b316-4ed8-9bc3-e1c27255e97cn%40googlegroups.com.
Uploaded Image

Re: Incorrect cast hides full stack trace

Click on the arrow before 'Uncaught exception' in the console?
This should expand the exception?

Op maandag 4 mei 2026 om 07:27:00 UTC+2 schreef Craig Mitchell:
To reproduce:
1. Create a sample project.  Eg:  https://github.com/NaluKit/gwt-maven-springboot-archetype
2. Add a silly cast:   Integer notAnInt = (Integer)(Object)"hi";
3. Run super dev mode.
4. Visit your page.
5. It will crash on the cast, view the console.  It looks like this:

Screen.png

No mention of where your silly cast is.

However if you right click and "Copy console".  You get the following that does have where your silly cast is (highlighted in yellow):

Throwable.java:114 Uncaught Error: java.lang.ClassCastException
    at WPd_g$.Dz_g$ [as createError_0_g$] (Throwable.java:114:1)
    at WPd_g$.Oz_g$ [as initializeBackingError_0_g$] (Throwable.java:106:1)
    at WPd_g$.wz_g$ (Throwable.java:66:1)
    at WPd_g$.cA_g$ (Exception.java:29:1)
    at WPd_g$.kA_g$ (RuntimeException.java:29:1)
    at new WPd_g$ (ClassCastException.java:27:1)
    at dlf_g$ (InternalPreconditions.java:155:1)
    at qlf_g$ (InternalPreconditions.java:139:1)
    at plf_g$ (InternalPreconditions.java:134:1)
    at Lxc_g$ (Cast.java:74:1)
Dz_g$ @ Throwable.java:114
Oz_g$ @ Throwable.java:106
wz_g$ @ Throwable.java:66
cA_g$ @ Exception.java:29
kA_g$ @ RuntimeException.java:29
WPd_g$ @ ClassCastException.java:27
(anonymous) @ InternalPreconditions.java:155
(anonymous) @ InternalPreconditions.java:139
plf_g$ @ InternalPreconditions.java:134
Lxc_g$ @ Cast.java:74
amf_g$ @ App.java:43
OAc_g$ @ test_00046App__EntryMethodHolder.java:3
(anonymous) @ ModuleUtils.java:44
wI_g$ @ Impl.java:293
(anonymous) @ Impl.java:352
(anonymous) @ Impl.java:72
initializeModules_0_g$ @ ModuleUtils.java:55
(anonymous) @ GreetingService_TypeSerializer.java:10
PendingScript
h @ test.nocache.js:8
(anonymous) @ test.nocache.js:9
g @ test.nocache.js:6
w @ test.nocache.js:9
test @ test.nocache.js:17
(anonymous) @ test.nocache.js:18
PendingScript
Recompiler.loadApp @ test:348
(anonymous) @ test:568
(anonymous) @ test:286
__globals.callbacks.<computed> @ test:300
(anonymous) @ test?user.agent=safari&_callback=__gwt_sdm_globals.callbacks.c1777871930876:1
PendingScript
Recompiler.__injectScriptTag @ test:311
Recompiler.__jsonp @ test:304
Recompiler.compile @ test:284
Main.compile @ test:562
executeMain @ test:594
(anonymous) @ test:599
(anonymous) @ test:608
PendingScript
injectScriptTag @ test.nocache.js:52

Any idea why it doesn't show in the normal console?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/99944d3c-eb16-4a52-88b8-4e24833bb95cn%40googlegroups.com.

Sunday, May 3, 2026

Incorrect cast hides full stack trace

To reproduce:
1. Create a sample project.  Eg:  https://github.com/NaluKit/gwt-maven-springboot-archetype
2. Add a silly cast:   Integer notAnInt = (Integer)(Object)"hi";
3. Run super dev mode.
4. Visit your page.
5. It will crash on the cast, view the console.  It looks like this:

Screen.png

No mention of where your silly cast is.

However if you right click and "Copy console".  You get the following that does have where your silly cast is (highlighted in yellow):

Throwable.java:114 Uncaught Error: java.lang.ClassCastException
    at WPd_g$.Dz_g$ [as createError_0_g$] (Throwable.java:114:1)
    at WPd_g$.Oz_g$ [as initializeBackingError_0_g$] (Throwable.java:106:1)
    at WPd_g$.wz_g$ (Throwable.java:66:1)
    at WPd_g$.cA_g$ (Exception.java:29:1)
    at WPd_g$.kA_g$ (RuntimeException.java:29:1)
    at new WPd_g$ (ClassCastException.java:27:1)
    at dlf_g$ (InternalPreconditions.java:155:1)
    at qlf_g$ (InternalPreconditions.java:139:1)
    at plf_g$ (InternalPreconditions.java:134:1)
    at Lxc_g$ (Cast.java:74:1)
Dz_g$ @ Throwable.java:114
Oz_g$ @ Throwable.java:106
wz_g$ @ Throwable.java:66
cA_g$ @ Exception.java:29
kA_g$ @ RuntimeException.java:29
WPd_g$ @ ClassCastException.java:27
(anonymous) @ InternalPreconditions.java:155
(anonymous) @ InternalPreconditions.java:139
plf_g$ @ InternalPreconditions.java:134
Lxc_g$ @ Cast.java:74
amf_g$ @ App.java:43
OAc_g$ @ test_00046App__EntryMethodHolder.java:3
(anonymous) @ ModuleUtils.java:44
wI_g$ @ Impl.java:293
(anonymous) @ Impl.java:352
(anonymous) @ Impl.java:72
initializeModules_0_g$ @ ModuleUtils.java:55
(anonymous) @ GreetingService_TypeSerializer.java:10
PendingScript
h @ test.nocache.js:8
(anonymous) @ test.nocache.js:9
g @ test.nocache.js:6
w @ test.nocache.js:9
test @ test.nocache.js:17
(anonymous) @ test.nocache.js:18
PendingScript
Recompiler.loadApp @ test:348
(anonymous) @ test:568
(anonymous) @ test:286
__globals.callbacks.<computed> @ test:300
(anonymous) @ test?user.agent=safari&_callback=__gwt_sdm_globals.callbacks.c1777871930876:1
PendingScript
Recompiler.__injectScriptTag @ test:311
Recompiler.__jsonp @ test:304
Recompiler.compile @ test:284
Main.compile @ test:562
executeMain @ test:594
(anonymous) @ test:599
(anonymous) @ test:608
PendingScript
injectScriptTag @ test.nocache.js:52

Any idea why it doesn't show in the normal console?

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/d72ca1a9-4559-448b-9e15-1230d3e5fd88n%40googlegroups.com.
Uploaded Image

Thursday, April 30, 2026

Re: GWT Deferred Binding Error – UiBinder Not Resolved from Dependent Module (phoenix-air)

Did you fix the error with your MonitorServiceInterfaceProxyGenerator?

On Thursday, 30 April 2026 at 7:01:30 pm UTC+10 Arpan Ameta wrote:
Hello All,

Anyone can please help us...??

On Wednesday, March 25, 2026 at 12:13:19 PM UTC+5:30 Arpan Ameta wrote:
Screenshot 2026-03-25 120849.pngScreenshot 2026-03-25 120822.png

Hi Craig,

Thanks for pointing that out.

Yes, in the screenshot I shared, there is indeed an error related to MonitorServiceInterfaceProxyGenerator. However, this is a custom generator used across multiple modules in our project, and those modules are compiling and working fine even after the upgrade.

That’s why I’m a bit unsure if this generator is the root cause here, or if it’s just a side effect of something failing earlier in the compilation chain.

Also, the failure still surfaces specifically at:

AwbCustomer.AwbCustomerUiBinder

which makes it look like a UiBinder deferred binding issue at first glance.

That said, I agree with your point — if the generator fails, it could potentially break the binding process. I’ll try isolating this further by:

  • Checking if this module has any differences in how the generator is used
  • Verifying if any recent changes or stricter rules in GWT 2.12.0 / JDK 17 are affecting it
  • Temporarily disabling or bypassing the generator (if possible) to see if the error persists

I’ll update once I have more findings.

Thanks again for your help!

On Wednesday, March 25, 2026 at 4:33:36 AM UTC+5:30 Craig Mitchell wrote:
Is your screenshot saying there is an error with the MonitorServiceInterfaceProxyGenerator?  I've no clue what that is, but that error could be causing the error with the AwbCustomer.

On Tuesday, 24 March 2026 at 10:56:33 pm UTC+11 Arpan Ameta wrote:
Screenshot 2026-03-24 165332.pngScreenshot 2026-03-24 172248.pngScreenshot 2026-03-24 165414.png

Hi Craig,

Thanks for your response.

Yes, the error occurs during compilation (GWT Code Server / compile), but interestingly I do not see the “Unable to find resource” error for the AwbCustomer.ui.xml file.

The .ui.xml file is present in the correct package and follows the same naming convention as other working modules. That’s why this is a bit confusing — if it were a missing or misplaced file, I would expect that specific error to show up.

In this case, the compilation fails directly with the deferred binding error:

Failed to resolve 'AwbCustomer.AwbCustomerUiBinder' via deferred binding

Also worth noting:

  • Other UiBinder classes in different modules are compiling fine
  • This issue started only after upgrading to GWT 2.12.0 and JDK 17
  • The structure and setup of this module is consistent with others that are working

Because of this, I’m wondering if this could be related to stricter checks in the newer GWT version or something subtle being missed in this particular class/module.

Please let me know if there’s anything specific you’d recommend checking beyond the usual .ui.xml placement — happy to dig deeper.

Thanks again for your help!

On Tuesday, March 24, 2026 at 2:53:06 PM UTC+5:30 Craig Mitchell wrote:
I assume you get this error when running, and the GWT Code Server fails to compile that class.

If you've misspelt or misplaced the ui.xml file, you should also get an error like:

[ERROR] Unable to find resource: blah/blah/.../AwbCustomer.ui.xml

Do you see that error?
On Tuesday, 24 March 2026 at 5:58:33 pm UTC+11 Arpan Ameta wrote:

Hi Team,

I’m currently facing an issue after upgrading our project to GWT 2.12.0 and JDK 17, and I’d really appreciate any guidance or suggestions from the community.

While most of our modules are compiling and working fine post-upgrade, one specific module is failing during GWT compilation with the following error:

[ERROR] Failed to resolve 'com.shipco.air.modules.awb.client.airimport.view.awbpopup.AwbCustomer.AwbCustomerUiBinder' via deferred binding

From the logs, it appears to be a UiBinder-related issue during deferred binding. The same pattern and structure are used in other modules, and they are working without any problems.

A few points to highlight:

  • This issue started only after upgrading to GWT 2.12.0 and JDK 17
  • Other UiBinder-based components in different modules are compiling successfully
  • The .ui.xml file exists and is correctly placed
  • Module inheritance and source paths appear to be properly configured
  • There is also a custom generator involved (MonitorServiceInterfaceProxyGenerator), though it's used elsewhere without issues

At this point, I’m unsure whether this is:

  • A compatibility issue with GWT 2.12.0 or JDK 17
  • A stricter validation introduced in newer versions
  • Or something specific being missed in this module

If anyone has encountered a similar issue or has suggestions on what to check next, your help would be greatly appreciated.

Thanks in advance for your support!

On Friday, March 20, 2026 at 6:18:18 PM UTC+5:30 Thomas Broyer wrote:


On Friday, March 20, 2026 at 1:19:56 PM UTC+1 arpanam...@gmail.com wrote:

>   * Maven build with net.ltgt.gwt.maven:gwt-maven-plugin
> ----


> Any insights or best practices for structuring GWT modules across Maven projects would be really helpful.

For a client-only library, use `<packaging>gwt-lib</packaging>`, and then depend on it using <type>gwt-lib</type> for better running/debugging support: https://tbroyer.github.io/gwt-maven-plugin/codeserver.html

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/a0b1224e-3817-42ac-8597-0ba2f8ce2f18n%40googlegroups.com.

Re: GWT Deferred Binding Error – UiBinder Not Resolved from Dependent Module (phoenix-air)

Hello All,

Anyone can please help us...??

On Wednesday, March 25, 2026 at 12:13:19 PM UTC+5:30 Arpan Ameta wrote:
Screenshot 2026-03-25 120849.pngScreenshot 2026-03-25 120822.png

Hi Craig,

Thanks for pointing that out.

Yes, in the screenshot I shared, there is indeed an error related to MonitorServiceInterfaceProxyGenerator. However, this is a custom generator used across multiple modules in our project, and those modules are compiling and working fine even after the upgrade.

That’s why I’m a bit unsure if this generator is the root cause here, or if it’s just a side effect of something failing earlier in the compilation chain.

Also, the failure still surfaces specifically at:

AwbCustomer.AwbCustomerUiBinder

which makes it look like a UiBinder deferred binding issue at first glance.

That said, I agree with your point — if the generator fails, it could potentially break the binding process. I’ll try isolating this further by:

  • Checking if this module has any differences in how the generator is used
  • Verifying if any recent changes or stricter rules in GWT 2.12.0 / JDK 17 are affecting it
  • Temporarily disabling or bypassing the generator (if possible) to see if the error persists

I’ll update once I have more findings.

Thanks again for your help!

On Wednesday, March 25, 2026 at 4:33:36 AM UTC+5:30 Craig Mitchell wrote:
Is your screenshot saying there is an error with the MonitorServiceInterfaceProxyGenerator?  I've no clue what that is, but that error could be causing the error with the AwbCustomer.

On Tuesday, 24 March 2026 at 10:56:33 pm UTC+11 Arpan Ameta wrote:
Screenshot 2026-03-24 165332.pngScreenshot 2026-03-24 172248.pngScreenshot 2026-03-24 165414.png

Hi Craig,

Thanks for your response.

Yes, the error occurs during compilation (GWT Code Server / compile), but interestingly I do not see the “Unable to find resource” error for the AwbCustomer.ui.xml file.

The .ui.xml file is present in the correct package and follows the same naming convention as other working modules. That’s why this is a bit confusing — if it were a missing or misplaced file, I would expect that specific error to show up.

In this case, the compilation fails directly with the deferred binding error:

Failed to resolve 'AwbCustomer.AwbCustomerUiBinder' via deferred binding

Also worth noting:

  • Other UiBinder classes in different modules are compiling fine
  • This issue started only after upgrading to GWT 2.12.0 and JDK 17
  • The structure and setup of this module is consistent with others that are working

Because of this, I’m wondering if this could be related to stricter checks in the newer GWT version or something subtle being missed in this particular class/module.

Please let me know if there’s anything specific you’d recommend checking beyond the usual .ui.xml placement — happy to dig deeper.

Thanks again for your help!

On Tuesday, March 24, 2026 at 2:53:06 PM UTC+5:30 Craig Mitchell wrote:
I assume you get this error when running, and the GWT Code Server fails to compile that class.

If you've misspelt or misplaced the ui.xml file, you should also get an error like:

[ERROR] Unable to find resource: blah/blah/.../AwbCustomer.ui.xml

Do you see that error?
On Tuesday, 24 March 2026 at 5:58:33 pm UTC+11 Arpan Ameta wrote:

Hi Team,

I’m currently facing an issue after upgrading our project to GWT 2.12.0 and JDK 17, and I’d really appreciate any guidance or suggestions from the community.

While most of our modules are compiling and working fine post-upgrade, one specific module is failing during GWT compilation with the following error:

[ERROR] Failed to resolve 'com.shipco.air.modules.awb.client.airimport.view.awbpopup.AwbCustomer.AwbCustomerUiBinder' via deferred binding

From the logs, it appears to be a UiBinder-related issue during deferred binding. The same pattern and structure are used in other modules, and they are working without any problems.

A few points to highlight:

  • This issue started only after upgrading to GWT 2.12.0 and JDK 17
  • Other UiBinder-based components in different modules are compiling successfully
  • The .ui.xml file exists and is correctly placed
  • Module inheritance and source paths appear to be properly configured
  • There is also a custom generator involved (MonitorServiceInterfaceProxyGenerator), though it's used elsewhere without issues

At this point, I’m unsure whether this is:

  • A compatibility issue with GWT 2.12.0 or JDK 17
  • A stricter validation introduced in newer versions
  • Or something specific being missed in this module

If anyone has encountered a similar issue or has suggestions on what to check next, your help would be greatly appreciated.

Thanks in advance for your support!

On Friday, March 20, 2026 at 6:18:18 PM UTC+5:30 Thomas Broyer wrote:


On Friday, March 20, 2026 at 1:19:56 PM UTC+1 arpanam...@gmail.com wrote:

>   * Maven build with net.ltgt.gwt.maven:gwt-maven-plugin
> ----


> Any insights or best practices for structuring GWT modules across Maven projects would be really helpful.

For a client-only library, use `<packaging>gwt-lib</packaging>`, and then depend on it using <type>gwt-lib</type> for better running/debugging support: https://tbroyer.github.io/gwt-maven-plugin/codeserver.html

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/7df80812-a37b-4946-957b-5591494f8415n%40googlegroups.com.

Thursday, April 16, 2026

Re: Build warning

Thanks, I have created an issue for it: https://github.com/gwtproject/gwt/issues/10309

-- J.

Mirza Hadžič schrieb am Donnerstag, 16. April 2026 um 15:41:41 UTC+2:
Hi,

Java 26 with GWT 2.13 has this warnig:

WARNING: Final field map in class
com.google.gwt.thirdparty.guava.common.collect.ImmutableMultimap has
been mutated reflectively by class
com.google.gwt.thirdparty.guava.common.collect.Serialization$FieldSetter
in unnamed module @74e52303 (fi

Mirza

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/3b7b65b4-7857-4588-95ca-43109595d31bn%40googlegroups.com.

Build warning

Hi, Java 26 with GWT 2.13 has this warnig: WARNING: Final field map in class com.google.gwt.thirdparty.guava.common.collect.ImmutableMultimap has been mutated reflectively by class com.google.gwt.thirdparty.guava.common.collect.Serialization$FieldSetter in unnamed module @74e52303 (fi Mirza -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/6501a164-70db-4666-9f5d-6c9e2a0a0709%40digitech.cz.