Hi Evan, JsArray is a part of 1.5 RC2
On Mon, Aug 25, 2008 at 5:35 PM, Evan Ruff <[EMAIL PROTECTED]> wrote: > > Eric, I think I must be getting some version conflicts, maybe? > > I've got GWT_HOME pointing to gwt-windows-1.5.0 installation > directory, which is what I use in my project. > I've got GWT_TOOLS pointing to the gwt tools SVN repository srcs that > you pointed me to above. > > When I do a plain ant, it looks like it's going to rock it through, > but then it gives me several errors in gears, starting with: > [gwt.javac] E:\Development Projects\Google API for GWT\gears\gears\src > \com\google\gwt\gears\client\impl\Utils.java:20: cannot find symbol > [gwt.javac] symbol : class JsArrayString > [gwt.javac] location: package com.google.gwt.core.client > [gwt.javac] import com.google.gwt.core.client.JsArrayString; > > And when I hit an 'ant maps', it looks good for a while then bombs out > with with: > [gwt.javac] E:\Development Projects\Google API for GWT\maps\maps\src > \com\google\gwt\maps\client\overlay\Polygon.java:102: cannot find > symbol > [gwt.javac] symbol : class JsArray > [gwt.javac] location: class com.google.gwt.maps.client.overlay.Polygon > [gwt.javac] private static native JsArray<EncodedPolyline> > nativeArrayToJavaScriptObject( > > So it looks like I might have a versioning issue? Both were just > downloaded today from SVN, so maybe this really won't compile against > my GWT version? > > Thanks for all your help! I appreciate you taking a look at the > issues! > > E > > > > On Aug 25, 3:14 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote: >> Yup, sorry I left out that step. >> >> Checkout thehttp://google-web-toolkit.googlecode.com/svn/tools and >> set GWT_TOOLS to the directory where you place it. >> GWT_HOME should point to an unpacked distribution of gwt-1.5.1 (1.5 RC2). >> >> -Eric. >> >> On Mon, Aug 25, 2008 at 3:01 PM, Evan Ruff <[EMAIL PROTECTED]> wrote: >> >> > Hey Eric, >> >> > I gave this a shot earlier today and ended up having a whole host of >> > weird errors. My first question is, will the trunk run against RC1 or >> > will I have to upgrade to RC2? >> >> > GWT_HOME referes to my GWT installation, I assume, but where does >> > GWT_TOOLS point too? >> >> > And finally, when I do run ant, I get some errors starting with : >> >> > [taskdef] Could not load definitions from resource net/sf/antcontrib/ >> > antlib.xml. It could not be found. >> >> > and things like: >> >> > [gwt.javac] Compiling 2 source files to E:\Development Projects\Google >> > API for GWT\gadgets\build\out\build-tools\customchecks\bin >> > [gwt.javac] E:\Development Projects\Google API for GWT\gadgets\build- >> > tools\customchecks\src\com\google\gwt\checkstyle\FieldCheck.java:19: >> > package com.puppycrawl.tools.checkstyle.api does not exist >> > [gwt.javac] import com.puppycrawl.tools.checkstyle.api.DetailAST; >> >> > Is this because of a bad GWT_TOOLS enviorment var? >> >> > Thanks for your help! >> >> > Evan >> >> > On Aug 25, 2:43 pm, "Eric Ayers" <[EMAIL PROTECTED]> wrote: >> >> I've seen similar stack traces fail when the Maps API is not really >> >> loaded. More recent versions of the gwt-maps library detect this and >> >> display a message. It could also be a problem similar to that >> >> described in issue 112 that was windows specific and not fixed until >> >> r296. >> >> >> building your own jar from the latest source isn't too hard. You will >> >> need the 1.5 or 1.6 version of the JDK, the Ant utility and the >> >> Subversion client. Download the subversion code using 'svn >> >> cohttp://gwt-google-apis.googlecode.com/svn/trunktrunk', then >> >> run 'ant' on the top level file. The gwt-maps library will build and >> >> end up under maps/build/lib/gwt-maps.jar >> >> >> On Mon, Aug 25, 2008 at 2:33 PM, Evan Ruff <[EMAIL PROTECTED]> wrote: >> >> >> > Hey Eric, >> >> >> > Here's the full exception log: >> >> >> > Uncaught exception: java.lang.ExceptionInInitializerError >> >> > at >> >> > teledini.app.client.WorkbenchEntry.onModuleLoad(WorkbenchEntry.java: >> >> > 70) >> >> > at teledini.app.client.WorkbenchEntry >> >> > $2.execute(WorkbenchEntry.java:63) >> >> > at >> >> > com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java: >> >> > 311) >> >> > at com.google.gwt.user.client.CommandExecutor >> >> > $2.run(CommandExecutor.java:206) >> >> > at com.google.gwt.user.client.Timer.fireImpl(Timer.java:164) >> >> > at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:150) >> >> > at com.google.gwt.user.client.Timer.fire(Timer.java:142) >> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> > at >> >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >> >> > 39) >> >> > at >> >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: >> >> > 25) >> >> > at java.lang.reflect.Method.invoke(Method.java:585) >> >> > at >> >> > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java: >> >> > 126) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java: >> >> > 155) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java: >> >> > 294) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java: >> >> > 194) >> >> > at >> >> > org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java: >> >> > 117) >> >> > at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native >> >> > Method) >> >> > at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) >> >> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java: >> >> > 2966) >> >> > at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:721) >> >> > at com.google.gwt.dev.GWTShell.run(GWTShell.java:594) >> >> > at com.google.gwt.dev.GWTShell.main(GWTShell.java:358) >> >> > Caused by: com.google.gwt.core.client.JavaScriptException: >> >> > (TypeError): Object expected number: -2146823281 description: Object >> >> > expected >> >> > at >> >> > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: >> >> > 443) >> >> > at >> >> > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: >> >> > 215) >> >> > at >> >> > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: >> >> > 91) >> >> > at >> >> > com.google.gwt.maps.client.impl.__LatLngImplImpl.construct(transient >> >> > source for com.google.gwt.maps.client.impl.__LatLngImplImpl) >> >> > at com.google.gwt.maps.client.geom.LatLng.<init>(LatLng.java:65) >> >> > at com.google.gwt.maps.client.MapWidget.<clinit>(MapWidget.java: >> >> > 120) >> >> > at >> >> > teledini.app.client.WorkbenchEntry.onModuleLoad(WorkbenchEntry.java: >> >> > 70) >> >> > at teledini.app.client.WorkbenchEntry >> >> > $2.execute(WorkbenchEntry.java:63) >> >> > at >> >> > com.google.gwt.user.client.CommandExecutor.doExecuteCommands(CommandExecutor.java: >> >> > 311) >> >> > at com.google.gwt.user.client.CommandExecutor >> >> > $2.run(CommandExecutor.java:206) >> >> > at com.google.gwt.user.client.Timer.fireImpl(Timer.java:164) >> >> > at com.google.gwt.user.client.Timer.fireAndCatch(Timer.java:150) >> >> > at com.google.gwt.user.client.Timer.fire(Timer.java:142) >> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> >> > at >> >> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: >> >> > 39) >> >> > at >> >> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: >> >> > 25) >> >> > at java.lang.reflect.Method.invoke(Method.java:585) >> >> > at >> >> > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod(IDispatchImpl.java: >> >> > 126) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchProxy.invoke(IDispatchProxy.java: >> >> > 155) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java: >> >> > 294) >> >> > at >> >> > com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java: >> >> > 194) >> >> > at >> >> > org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java: >> >> > 117) >> >> > at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native >> >> > Method) >> >> > at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925) >> >> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java: >> >> > 2966) >> >> > at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:721) >> >> > at com.google.gwt.dev.GWTShell.run(GWTShell.java:594) >> >> > at com.google.gwt.dev.GWTShell.main(GWTShell.java:358) >> >> >> > On Aug 25, 11:17 am, "Eric Ayers" <[EMAIL PROTECTED]> wrote: >> >> >> Hey Evan, >> >> >> >> This sounds kinda familiar. Can you look at the content of the >> >> >> exception? In hosted mode, click on the exception in the tree part of >> >> >> the development shell - the stack trace for the exception should >> >> >> display in the Status window below. If it is what I think it is - a >> >> >> problem in the STATUS_CODES constants, you may need to use a more >> >> >> recent version build from source (check it out of Subversion) >> >> >> >> -Eric. >> >> >> >> On Mon, Aug 25, 2008 at 11:04 AM, Evan Ruff <[EMAIL PROTECTED]> wrote: >> >> >> >> > WHOOPS, little trigger happy. >> >> >> >> > The exception I get it: >> >> >> >> > "Uncaught Exception: java.lang.ExceptionInitilizationError" >> >> >> > "Caused by: com.google.gwt.core.client.JavaScriptException: >> >> >> > (TypeError) Object expected number: -2146823281" >> >> >> >> > I'm just trying to make a basic little map, which I pulled out of one >> >> >> > of the sample files: >> >> >> >> > MapWidget map = new MapWidget(new LatLng(37.4419, -122.1419), 13); >> >> >> >> > map.setSize("500px", "300px"); >> >> >> > map.addControl(new SmallMapControl()); >> >> >> > map.addControl(new MapTypeControl()); >> >> >> >> > RootPanel.get ().add ( map ); >> >> >> >> > Am I doing something wrong in the code, missing a dependancy? Have >> >> >> > you >> >> >> > seen this kind of error before? >> >> >> >> > Thanks! >> >> >> >> > Evan >> >> >> >> > On Aug 25, 11:01 am, Evan Ruff <[EMAIL PROTECTED]> wrote: >> >> >> >> Hey Eric, >> >> >> >> >> Thanks for the tip. I did install that one and it seems to start >> >> >> >> fine, >> >> >> >> but I get an >> >> >> >> >> "Uncaught Exception: java.lang.ExceptionInitilizationError" >> >> >> >> "Caused by: com.google.gwt.core.client.JavaScriptException: >> >> >> >> >> On Aug 25, 10:23 am, "Eric Ayers" <[EMAIL PROTECTED]> wrote: >> >> >> >> >> > Hi Evan, >> >> >> >> >> > Look for r290 >> >> >> >> > athttp://code.google.com/p/gwt-google-apis/downloads/list?can=1 >> >> >> >> >> > Building from the source would be even better, but you need to >> >> >> >> > move up to 1.5RC2 >> >> >> >> >> > On Mon, Aug 25, 2008 at 10:10 AM, Evan Ruff <[EMAIL PROTECTED]> >> >> >> >> > wrote: >> >> >> >> >> > > Hey guys, >> >> >> >> >> > > I'm having some build issuses getting up and running with >> >> >> >> > > Google Maps >> >> >> >> > > API. Either I'm attempting to use an old/incompatible jar that >> >> >> >> > > I found >> >> >> >> > > or I need to build from source and I'm having some trouble with >> >> >> >> > > that >> >> >> >> > > as well. >> >> >> >> >> > > The current JAR that I'm using is gwt-google-apis-r41. When I >> >> >> >> > > attempt >> >> >> >> > > to include this in my project and then run the project, it >> >> >> >> > > gives me >> >> >> >> > > all sorts of JSNI errors about the long data type. Attempting >> >> >> >> > > to build >> >> >> >> > > from source gives me a large number of errors as well that are >> >> >> >> > > probably due to malformed or incorrect environment variables, >> >> >> >> > > etc. >> >> >> >> >> > > I was wondering if anyone can tell me hot to get r41 working, >> >> >> >> > > or if >> >> >> >> > > someone could just send me a JAR of the latest Google Maps API >> >> >> >> > > that is >> >> >> >> > > compatible with 1.5 RC1. >> >> >> >> >> > > Also, if I'm way off here and just totally missing the boat, >> >> >> >> > > somebody >> >> ... >> >> read more ยป > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
