vinnyjames | 19 May 2013 17:36
Picon
Gravatar

NumberFormatException int received an out-of-range value

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: -1000000000000000000
        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: -1000000000000000000
        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.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.RPC.decodeRequest(RPC.java:312)
        ... 17 more
Caused by: java.lang.NumberFormatException: Expected type 'int' but received an out-of-range value: -1000000000000000000
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.getNumberFormatException(ServerSerializationStreamReader.java:999)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.readInt(ServerSerializationStreamReader.java:537)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader$6.readValue(ServerSerializationStreamReader.java:122)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader$ValueReader.readValue(ServerSerializationStreamReader.java:161)
        at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamReader.deserializeValue(ServerSerializationStreamReader.java:422)
        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.deserializeClass(ServerSerializationStreamReader.java:836)
        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)
        ... 40 more

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Pritish Halder | 17 May 2013 15:36
Picon

Re: Disabled button isnt grayed out in firefox

Excellent! Great works.

It works, it helps me to make near identical IE and Firefox/Chrome.



On Wednesday, 5 December 2007 03:35:05 UTC-5, Marco wrote:

button {
    color: black;
    ..................
}

button:disabled{
    color: gray;
    ..................
}

On 19 Nov, 13:18, Simon Vogensen <vogen...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi
>
> I had the same problem and found out that if your stylesheet contains
> a style setting the color of button - that color will persist even
> when FireFox disables the button.
>
> Ex.
> button {
>     color: black; /* The textcolor of disabled buttons is overwritten
> by IE but is not by FireFox*/
>
> }
>
> So do not set this style class on your button if it is disabled :-)
>
> Kind regards
> Simon Vogensen
>
> On Sep 27, 7:36 am, Bille <ole.co...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > Thanks for the reply.
> > Im not using handwritten code either. Im using the button class and
> > the setenabled method as well. The code that is generated by gwt is
> > <button type="button" class="gwt-Button" disabled="">Ændre</button>
>
> > On Sep 20, 11:13 pm, "Fede Angeleri" <vito...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > > Peter, I'm having same problem as Billie and I'm using the Button class and
> > > the setEnabled method.
>
> > > On 9/20/07, Peter Blazejewicz <peter.blazejew... <at> gmail.com> wrote:
>
> > > > hi Bille,
>
> > > > code generated by GWT Button class in FireFox is at least for me:
>
> > > > <button disabled="disabled" class="gwt-Button" type="button">Disabled
> > > > button</button>
>
> > > > Note that generated code is different for IExplore, etc, so you should
> > > > not use handwritten html code but simply use Button class which will
> > > > write correct code for you,
>
> > > > regards,
> > > > Peter
>
> > > > On Sep 20, 9:05 am, Bille <ole.co...-Re5JQEeQqe8@public.gmane.orgm> wrote:
> > > > > Hi.
>
> > > > > I have a problem with gwt. I have a button which I disable and in
> > > > > explorer it shows the button grayed out but it doesnt in firefox.
>
> > > > > The html for the button looks like this
>
> > > > > <button type="button" class="gwt-Button" disabled="">Ændre</button>
>
> > > > > When I write a new html page and paste the above in and opens it in
> > > > > firefox it shows the button is disabled but for some reason it doesnt
> > > > > work when running with gwt.
>
> > > > > Does anyone have an idea what could be wrong?
>
> > > > > Cincirely
> > > > > Bille.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Puneet Jindal | 17 May 2013 13:05
Picon

GWT 2.5.1 issue ( -- isAssignableFrom

Hello,


CustomSerializer class isAssignableFrom giving true in one application and false in one application when given null.

In the application where it gives false it goes on to serialize using the ArrayList_CustomSerializer reflectively and throws IllegalArgumentException

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Puneet Jindal | 17 May 2013 13:00
Picon

GWT 2.5.1 - isAssignableFrom issue

Hello,


In my case isAssignableFrom of CustomFieldSerializer class is giving true in one application and giving false in one application.


After giving false in Serialization process it gies to reflectively call function of ArrayList_CustomSerializer which throws IllegalArgumentException. 

Please help.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Tugdual Huertas | 17 May 2013 10:46
Picon

GWT CellTable: prevent from refreshing all rows

Hi all,


I'm creating a widget using a cellTable that contains a tree in the first column and using a "ShowMorePagerPanel" so that datas are displayed when user reaches the bottom of the scroll. I must manage lots of datas.
My problem is that all rows of the CellTable are refreshed each time the user scroll down to retrieve next datas.
Is there a way to prevent the celltable from refreshing displayed rows?

Tugdual

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
David Lee | 17 May 2013 02:59
Picon

Cannot change Label background colors on hover using css.

So I set the style name of my GWT Label:


currentDataNameDescriptionLabel.setStyleName("NFRFP-Label NFRFP-ClickableLabel");

and I have this css:

.NFRFP-Label {
float: left;
  font-size: 17px;
  margin-right: 4px;
}

.NFRFP-ClickableLabel {
cursor: pointer;
}

.NFRFP-ClickableLabel: hover {
background-color: #EEEEEE;
}

And... no joy. When I use the Chrome Developer Plugin to edit the NFRFP-ClickableLabel class to be NFRFP-ClickableLabel:hover in a running page, well it works fine.

Any idea on how I can get the css hover selector to work with a GWT Label?

Cheers,
David


--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
dhoffer | 16 May 2013 23:39
Picon

RichTextArea & HTML how to dynamically style anchor elements?

How can I dynamically change the color for links anywhere in RichTextArea & HTML elements?  That is, I need to be able to set the link color dynamically as the user is allowed to specify the UI colors.  I can change the general foreground and background colors no problem but I'm having trouble figuring out how to change all the 'a' elements.


-Dave

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Clarissa G | 16 May 2013 21:41
Favicon

replacing jquery with GWT features in demo:: for web Designers

[UI/UEX web designer question]
Is there a way for a UI designer (myself) to still use clean HTML/CSS while pulling in GWT features/elements (that may use UIBINDER) instead of having to find/customize/use throw away jquery to demo functionality?

Thanks all!

This communication, along with any attachments, may include confidential TouchCommerce Inc. information. Any distribution or copying of this material is strictly prohibited. If you are not the intended recipient of this transmission, please contact the sender immediately

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Michael Galuza | 16 May 2013 21:36
Picon

TabLayoutPanel not displaying properly after button push

Hi, I am trying to use a TabLayoutPanel and it seems to be working fine when it is the first thing I put on the page, but when I do it after a button push (for example) it is not displaying properly.  For example, if I do something like this it works fine:
 
TabLayoutPanel tlp = new TablLayoutPanel(2.5, Style.Unit.EM);
 
hp.add(btn);
tlp.add(new HTML("Tab1"), "Tab 1 title");
tlp.add(new HTML("Tab2"), "Tab 2 title");
tlp.add(new HTML("Tab3"), "Tab 3 title");
tlp.setPixelSize(500, 400);
 
RootLayoutPanel.get().add(tlp);
 
 
However, if I do something like the following, when I click the button all I see displayed is "Tab1", no other tabs, no "Tab 1 title", etc.:
 
HorizontalPanel hp = new HorizontalPanel();
Button btn = new Button("push");
TabLayoutPanel tlp = new TablLayoutPanel(2.5, Style.Unit.EM);
 
hp.add(btn);
tlp.add(new HTML("Tab1"), "Tab 1 title");
tlp.add(new HTML("Tab2"), "Tab 2 title");
tlp.add(new HTML("Tab3"), "Tab 3 title");
tlp.setPixelSize(500, 400);
 
RootLayoutPanel.get().add(tlp);
 
btn.addClickHandler(new ClickHandler() {
   public void onClick(ClickEvent event) {
      RootLayoutPanel.get().remove(hz);
      RootLayoutPanel.get().add(tlp);
   }
};
 
 
Any ideas?  I read somewhere that there are problems with TabLayoutPanel in IE8, which I'm using, but since it displays okay in the first case I doubt that's the issue.  I wanted to see what would happen with Chrome and Firefox, but spent a couple hours struggling to install the GWT Developer Plugin on those browsers without any luck.
 
Thanks in advance for any help or suggestions...

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
bhomass | 16 May 2013 20:23
Picon

drag and drop group

I have been using GWT native Dnd successfully.


Now I have a need to create Dnd group. This means if Widget A and panel B are in the same group, I want to allow user to drag A into B. C and D forms another group. So, A can not be dropped onto D, only C can. and likewise, C can not be dropped into B.

Anyone knows how to implement this?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 
Timothy Spear | 16 May 2013 04:02
Picon

CSS

I am trying to understand the purpose and why GWT has made it so dam painful to implement CSS in GWT.

How is that for an opening line? :D

Based on the rather profuse rendered HTML, you are kinda directed down the path of UiBinder. Ok, I can kinda follow that. Docs not the best, but once you sorta figure it out, I can see how to apply it as a general set of rules. I can almost explain it to other developers.

Anyway, CSS files are a pain to maintain; as a result I and many others are used to splitting CSS files in many smaller files to facilitate maintenance.
Further, the way the UiBinder works you have to replicate and repeat style elements to include them or use a complicated and obscure ClientBundle system which does not even work with the GWT Designer!
Not only is this tedious, but it replicates huge amounts of code, makes things harder to change.
As a last point, it overrides any generic styling I have applied across all elements. Body.....

I have to be missing something. This seems like incredible overkill and there is no way I can explain all the linkages to junior developers who get to maintain code or assist on projects.

Tim

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to google-web-toolkit-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
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.
 
 

Gmane