Re: RF Editors .with broken upgrading 2.8 RC2-> 2.8

2016-11-04 Thread vinnyjames
The stack might look better if you compile/gwtc with: -style PRETTY

On Thursday, November 3, 2016 at 11:51:52 AM UTC-7, Michaël Van Robaeys 
wrote:
>
> Upgrading gwt 2.8 RC2 to GWT 2.8 seems to have broken requestfactory 
> editors, see unreadable stacktrace below.
> Everything else but the editors are working, any clue how I could 
> debug/solve this?
> I checked the dependencies for conflicts, only difference I could see was 
> a minor version increase for js interop?
>
> The problem does not occur when the editor has no childs: removing the 
> .with(..) parameters in the requestfactory call.
>
>
> Exception: com.google.gwt.core.client.JavaScriptException: 
> (ReferenceError) : Ocj_g$ is not defined
> ConsoleLogger.java:32 ReferenceError: Ocj_g$ is not defined
> at Igj_g$ (AutoBeanCodexImpl.java:613)
> at thj_g$.whj_g$ [as extractSplittable_0_g$] 
> (AutoBeanCodexImpl.java:325)
> at YDh_g$.qjh_g$ [as setProperty_2_g$] (AbstractAutoBean.java:277)
> at gEh_g$. (ClientPropertyContext.java:45)
> at scj_g$ (ClientPropertyContext.java:53)
> at gcj_g$.ocj_g$ [as set_48_g$] (ClientPropertyContext.java:137)
> at _oj_g$.apj_g$ [as visitReferenceProperty_0_g$] 
> (AbstractRequestContext.java:949)
> at YDh_g$.dEh_g$ [as traverseProperties_0_g$] 
> (SettingsProxyAutoBean_com_google_web_bindery_requestfactory_shared_impl_EntityProxyCategory_com_goo…:142)
> at YDh_g$.sjh_g$ [as traverse_1_g$] (AbstractAutoBean.java:166)
> at YDh_g$.Xih_g$ [as accept_11_g$] (AbstractAutoBean.java:101)
> at zbh_g$.B2g_g$ [as processReturnOperation_0_g$] 
> (AbstractRequestContext.java:927)
> at zbh_g$.C2g_g$ [as processReturnOperations_0_g$] 
> (AbstractRequestContext.java:1279)
> at fqj_g$.iqj_g$ [as processPayload_0_g$] 
> (AbstractRequestContext.java:373)
> at kpj_g$.mpj_g$ [as onTransportSuccess_0_g$] 
> (AbstractRequestContext.java:1160)
> at ulj_g$.wlj_g$ [as onResponseReceived_0_g$] 
> (DefaultRequestTransport.java:136)
> at kTh_g$.mTh_g$ [as onResponseReceived_0_g$] 
> (CustomRequestTransport.java:28)
> at rkc_g$.ukc_g$ [as fireOnResponseReceived_0_g$] (Request.java:250)
> at Blc_g$.Clc_g$ [as onReadyStateChange_0_g$] (RequestBuilder.java:412)
> at XMLHttpRequest. (XMLHttpRequest.java:329)
> at jK_g$ (Impl.java:239)
> at mK_g$ (Impl.java:291)
> at XMLHttpRequest. (Impl.java:77)
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Obtaining a DivElement from a custom cell

2016-11-04 Thread vinnyjames
I've done something similar by searching up the DOM tree:

public static Element getFirstParentWithNodeName(Element e, String 
nodeName) {
Element parent = e.getParentElement();
if(parent == null) {
// end of the line
} else {
String pname = parent.getNodeName();
if(nodeName.equalsIgnoreCase(pname)) {
return parent;
} else {
return getFirstParentWithNodeName(parent, nodeName);
}
}
return null;
}


On Thursday, November 3, 2016 at 3:35:51 PM UTC-7, Paul Mazzuca wrote:
>
> Is it possible to obtain a reference to a divElement inside a GWT custom 
> cell?
>
> Many Javascript libraries (Google JS Map API, Google Charts API, etc) 
> often require a div element to be passed to the javascript in order to 
> render, for example, a map or chart.  Basically, I am trying to create a 
> cell list of charts or maps, but cannot seem to figure out how to get a 
> reference to the divElement container within each cell.
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Web App Launch View Activator displays repeatedly in Progress tab on Eclipse and debugging is very slow

2016-04-12 Thread vinnyjames
Here's the stack overflow 
question: 
http://stackoverflow.com/questions/24409791/web-app-launch-view-activator-displays-repeatedly-in-progress-tab-on-eclipse-d

On Wednesday, July 30, 2014 at 7:36:30 AM UTC-7, Punit Shukla wrote:
>
> Hi Paul, 
>
> Did you get any solution for your problem? I am also facing the same 
> problem :(
>
>>


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NEW world for me

2016-02-10 Thread vinnyjames
I can tell you I spent the last few years managing a small team to build a 
complex enterprise app with GWT and I'm happy with the architecture. 
 170,000 lines of code and counting...

Haven't tried Polymer yet but it sounds promising: 
https://www.polymer-project.org/1.0/

On Wednesday, February 10, 2016 at 3:09:12 AM UTC-8, koffi jean françois 
koffi wrote:
>
> I am new GWT developper and I have to make an enterprise application with 
> GWT so I hope that you will be prompt to help me ... Thks 
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: Continuous Delivery with GWT

2014-08-14 Thread vinnyjames
We accomplish this with context naming 
(http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#naming) and 
GWT.setUncaughtExceptionHandler(new OurExceptionHandler()).  When the 
ExceptionHandler is notified of an exception that is an instanceof 
 IncompatibleRemoteServiceException we call Window.Location.reload();  I 
redeploy new versions / fixes regularly during production hours.

This works 99% of the time.  I think there are other possible excpetions 
from new wars but have not tracked them all down.

On Monday, August 11, 2014 12:59:31 PM UTC-7, Tony BenBrahim wrote:
>
> Has anyone successfully implemented Continuous Delivery with GWT. The 
> biggest obstacle I see is GWT RPC, that seems to check that the client 
> version matches the server version, so that when a new version of a backend 
> is deployed, users will get an error message about an incorrect version and 
> be asked to refresh the browser. I will look at disabling this check, but 
> if it is not possible or has negative consequences, may have to switch to 
> REST+JSON from GWT RPC? Anyone tried this successfully?
>
> Thanks in advance
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt-kinetic a thin wrapper for Kinetic.js

2014-03-20 Thread vinnyjames
Was there something missing from: 
https://github.com/neothemachine/KineticGWT ?  I think they support 
kinetic-v4.0.1.js

On Thursday, March 20, 2014 9:48:48 AM UTC-7, confile wrote:
>
> Hi Vince, 
>
> great. I implemented only the functions I need so far. Feel free to commit 
> your added functions as well
>
> It would be great if you could help me to create a maven project so I can 
> release the jar to maven central.
>
> Best
> Michael
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: gwt-kinetic a thin wrapper for Kinetic.js

2014-03-20 Thread vinnyjames
Hi Michael, I'm going to start using this library for a drag-and-drop 
configuration tool and would love to work on it if we find any issues. 
 Already got it building from source and will let you know how it goes.
Vince

On Saturday, March 8, 2014 11:44:37 AM UTC-8, confile wrote:
>
> Hi, 
>
> I am starting to make a new get wrapper for the kinetic js 5.x branch. 
>  You can find the code here https://github.com/confile/gwt-kinetic as 
> soon as I upload some.
>
> If you are interested in working with me on this project please contact 
> me. 
>
> Best
> Michael 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: NumberFormatException int received an out-of-range value

2013-05-19 Thread vinnyjames
Using chrome's developer tools > Network tab I was able to find 
the -100 values which were the result of a bean int field 
that was initialized to -1.  Setting this value to 0 resolved the problem.

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




NumberFormatException int received an out-of-range value

2013-05-19 Thread vinnyjames
I've found the service call which can be called with different beans and it 
is only happening for a particular bean but how can I track down the exact 
field that is causing this out-of-range value?

==> localhost.2013-05-19.log <==
May 19, 2013 8:29:09 AM org.apache.catalina.core.ApplicationContext log
SEVERE: partService: An IncompatibleRemoteServiceException was thrown while 
processing this call.
com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: 
java.lang.NumberFormatException: Expected type 'int' but received an 
out-of-range value: -100
at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:323)
at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:206)
at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
at 
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.google.gwt.user.client.rpc.SerializationException: 
java.lang.NumberFormatException: Expected type 'int' but received an 
out-of-range value: -100
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:689)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:567)
at 
com.google.gwt.user.server.rpc.core.java.util.Map_ServerCustomFieldSerializerBase.deserialize(Map_ServerCustomFieldSerializerBase.java:38)
at 
com.google.gwt.user.server.rpc.core.java.util.HashMap_ServerCustomFieldSerializer.deserialize(HashMap_ServerCustomFieldSerializer.java:40)
at 
com.google.gwt.user.server.rpc.core.java.util.HashMap_ServerCustomFieldSerializer.deserializeInstance(HashMap_ServerCustomFieldSerializer.java:54)
at 
com.google.gwt.user.server.rpc.core.java.util.HashMap_ServerCustomFieldSerializer.deserializeInstance(HashMap_ServerCustomFieldSerializer.java:33)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:859)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:662)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:567)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:140)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:425)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeClass(ServerSerializationStreamReader.java:807)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeImpl(ServerSerializationStreamReader.java:878)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserialize(ServerSerializationStreamReader.java:662)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readObject(ServerSerializationStreamReader.java:567)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$8.readValue(ServerSerializationStreamReader.java:140)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:425)
at 
com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeClass(ServerSerializationStreamReader.java:807)
at 
com.google.gwt.user.ser

big Double accessor method and editor binding

2012-10-18 Thread vinnyjames
Is it possible to use big Double objects for accessor methods in 
conjunction with a BeanEditor implements Editor ?

With the code below it works in Eclipse but when deployed to Tomcat I get a 
NoSuchMethodError (see below)

class Bean {
Double foo = null;
public void setFoo(Double foo) {
this.foo = foo;
}
public Double getFoo() {
return foo;
}
}

The BeanEditor uses a home-grown DoubleEditor tied to a TextBox:

@UiField
@Editor.Ignore
public TextBox foo = new TextBox();
public DoubleEditor fooEditor = new DoubleEditor(foo);

And the DoubleEditor has a getValue and setValue that is tied to the 
TextBox:

public class DoubleEditor implements LeafValueEditor{

Here's the exception in tomcat's localhost.log:

Oct 18, 2012 8:59:07 PM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
abstract void 
foo.client.service.PartService.updateBreakerDef(foo.shared.model.parts.BreakerDef)
 
throws foo.shared.QException' threw an unexpected exception: 
java.lang.NoSuchMethodError: foo.shared.model.parts.BreakerDef.getRawCost()D
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at 
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at 
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:877)
at 
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:594)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1675)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoSuchMethodError: 
foo.shared.model.parts.BreakerDef.getRawCost()D
at foo.server.db.BreakerDefDB.update(BreakerDefDB.java:99)
at foo.server.PartServiceImpl.updateBreakerDef(PartServiceImpl.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
... 17 more

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/uvjkbPDOw9cJ.
To post to this group, send email to google-web-toolkit@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: Validating ClientBundles ?

2010-01-08 Thread vinnyjames
I had the same issue and unchecking the box fixed it.  When I start
eclipse (even without a google project open) it hits this and seems to
consume a lot of resources.  I have to kill the eclipse process from
the command line and even other processes complain that they cannot
fork (e.g. starting firefox or even an ls on the command line).  This
is on eclipse 3.5.1.R35x_... running on Fedora 11 w/
2.6.30.10-105.fc11.i686.PAE which is a guest on XenServer 5.5
-- 
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.