ggeorg / gwt-mosaic

Automatically exported from code.google.com/p/gwt-mosaic
1 stars 0 forks source link

GWT Mosaic and GWT 1.6 r4528 #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have tried to get Mosaic work with GWT 1.6 r4528 and Incubator r1431 
(compatible with GWT 1.6).
I get this error :

[ERROR] Failed to create an instance of 
'org.gwt.mosaic.showcase.client.ShowcaseImages' via deferred binding 
java.lang.RuntimeException: Could not find a native method with the 
signature '@com.google.gwt.core.client.impl.Impl::getModuleBaseURL()'
    at 
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.
java:62)
    at 
com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:158
)
    at 
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:495)
    at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:27
0)
    at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.j
ava:91)
    at com.google.gwt.core.client.impl.Impl.getModuleBaseURL(Impl.java)
    at com.google.gwt.core.client.GWT.getModuleBaseURL(GWT.java:115)
    at 
org.gwt.mosaic.showcase.client.ShowcaseImages_generatedBundle.<clinit>(Show
caseImages_generatedBundle.java:8)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at 
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.ja
va:563)
    at 
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:401)
    at 
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:39)
    at com.google.gwt.core.client.GWT.create(GWT.java:91)
    at 
org.gwt.mosaic.showcase.client.Showcase.<clinit>(Showcase.java:165)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at 
com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.ja
va:563)
    at 
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:340)
    at 
com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java
:345)
    at 
com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$300(BrowserWidgetIE6.ja
va:37)
    at 
com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidg
etIE6.java:76)

Seems to be related to the GWT.getModuleBaseURL() located in the 
imagebundle_generated.java. 

There is no "known" pb with ImageBundle and GWT 1.6 trunk version. I use it 
in another projet without any issue. 

Sami

Original issue reported on code.google.com by sami.ja...@gmail.com on 26 Jan 2009 at 9:57

GoogleCodeExporter commented 9 years ago
Hi,

I have to check that, I got the same error last Saturday I tried with the 
latest from
GWT trunk and GWT Incubator trunk. I was sick those days so I stopped there. I 
will
try again in the week end.

Thanks,
George.

Original comment by georgopo...@gmail.com on 28 Jan 2009 at 8:16

GoogleCodeExporter commented 9 years ago
Please try:

http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/?r=529

Kind Regards,
George.

Original comment by georgopo...@gmail.com on 29 Jan 2009 at 6:16

GoogleCodeExporter commented 9 years ago
Checked out r529 and got the same error... 
Does it work for you ?

My gwt-user release is r4528 and I run on Windows XP

Any idea?

Sami

Original comment by sami.ja...@gmail.com on 29 Jan 2009 at 6:57

GoogleCodeExporter commented 9 years ago
Cameron started that branch, he told me it works for him. On Saturday I tried 
with
r4528 too and got the same error.

I will check that tomorrow.

Thanks,
George.

Original comment by georgopo...@gmail.com on 29 Jan 2009 at 7:20

GoogleCodeExporter commented 9 years ago
The problem with Showcase dissaperas if I remove:

  static {
    GWTBeansBinding.init();
  }

Original comment by georgopo...@gmail.com on 6 Feb 2009 at 9:34

GoogleCodeExporter commented 9 years ago
OK branch GWT-1.6 should work without any exception. 

http://code.google.com/p/gwt-mosaic/source/browse/branches/GWT-1.6/?r=552

gwt-beans-binding-0.2.3 is used, and the latest from GWT trunk and GWT Incubator
trunk revision 1477

Thanks,
George.

Original comment by georgopo...@gmail.com on 6 Feb 2009 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by georgopo...@gmail.com on 6 Feb 2009 at 11:36