Gwt charts legend throw Null Pointer exception on clicking

2017-01-18 Thread Sarir Ahmad
Hi, is this bug in Gwt graphs -* uncaught exception: java.lang.NullPointerException * when we click on legend it throws null pointer exception which is shown in JavaScirpt I am not able to figure it out .Any help would be highly appreciated -- You received this message because you are

Re: StockWatcher example. null pointer because root panel cannot find html element 'stockList'

2013-10-10 Thread dacki Sun
Hi! I also had a NullPointerException but my problem was that I forgot to write the id in double quotes: So I changed it from: To: Maybe that helps somebody. dacki I had to simply change the code given by Google tutorial to something like this... > > From: > // Associate the Main panel wi

Re: StockWatcher example. null pointer because root panel cannot find html element 'stockList'

2013-01-04 Thread Vineet Menon
Main panel with the HTML host page. RootPanel.get().add(mainPanel); and the nullpointer Exception is no longer On Thursday, 7 August 2008 07:03:23 UTC+5:30, Anil wrote: > > Apparently there is a null pointer because root panel cannot find html > element 'stockList'. >

Re: Null pointer

2012-05-24 Thread SCK
Hi Thks very much. I follow your suggestions. It's OK now On 23 mai, 14:48, Trevor Skaife wrote: > To add to what Thad said, your map should look like this "Map String> formData" since the key of the map looks like a String, and your > just doing a toString on the value. So when you create you

Re: Null pointer

2012-05-23 Thread Trevor Skaife
To add to what Thad said, your map should look like this "Map formData" since the key of the map looks like a String, and your just doing a toString on the value. So when you create your map it should probably look something like this. Map formData = new HashMap(); It's really important that yo

Re: Null pointer

2012-05-23 Thread Thad
You're formData map is probably null. Just a guess, but I think you need to be more specific with your Map class, using, say Map or something more specific. From the develper's guide: Raw Types Collection classes such as java.util.Set and java.util.List are tricky because they operate in term

Null pointer

2012-05-23 Thread SCK
Hi I try to connect to my database with GWT RPC. But i get a error. Help please Thks java.lang.NullPointerException at org.etude.gwt.server.DatabaseServiceImpl.saveData(DatabaseServiceImpl.java: 37) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun

Re: Why can't JavascriptObject's runtime null pointer be detected ?

2012-04-09 Thread Chris Price
ne or more exceptions > caught, see full set in UmbrellaException#getCauses' when calling > method: [nsIDOMEventListener::handleEvent]"(in web model) is caused by > runtime null pointer.Question is > why this kind of runtime null pointer exception didn't got thrown out > u

Why can't JavascriptObject's runtime null pointer be detected ?

2012-04-09 Thread Alex Luya
hy this kind of runtime null pointer exception didn't got thrown out under host model.Actually,blow code won't thrown out any exception and even got alert popup in my laptop(gwt 2.4+java 7 64bit+ubuntu 12.04 64bit+eclipse 3.7).Anybody knows how to enforce eclipse throw out exception w

Null pointer exception while calling RootPanel cancelBtnPanel = RootPanel.get("Btn1");

2011-05-23 Thread Bob
Hi, I am new to GWT, stuck with a basic problem. I have 2 html pages, my first page is index.html ( which is a static page ) and my second page is register.html page which is partly static and I am trying to create the buttons using GWT. In my register.html, I have defined a table and 2 s with i

Re: null pointer error

2011-02-16 Thread Robert Lockwood
On Wed, Feb 16, 2011 at 3:28 PM, Nate wrote: > Ubuntu Helios > Eclipse > > I decided to edit the example page to see if I could actually do > something and created a Label "timeLabel". Then I attempted to add it > to the root panel and received a null pointer error

Re: null pointer error

2011-02-16 Thread Jim Douglas
to edit the example page to see if I could actually do > something and created a Label "timeLabel".  Then I attempted to add it > to the root panel and received a null pointer error. > >                 final Label timeLabel = new Label("server time"); > >      

null pointer error

2011-02-16 Thread Nate
Ubuntu Helios Eclipse I decided to edit the example page to see if I could actually do something and created a Label "timeLabel". Then I attempted to add it to the root panel and received a null pointer error. final Label timeLabel = new Label(&q

Re: HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception

2010-06-09 Thread KenJi_getpowered
; is not the same thread ;) > > On Tue, Jun 8, 2010 at 11:05 AM, KenJi_getpowered > wrote: > > > > > Hello every body, > > > I can't figure out why there is a Null Pointer Exception here. > > > I am trying to share informations through sessions within my

Re: HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception

2010-06-08 Thread olivier nouguier
re out why there is a Null Pointer Exception here. > > I am trying to share informations through sessions within my > application. I have a regular servlet that sets the session and insert > a login. then I wanted to retrieve that login into a > RemoteServiceServlet with that i

HttpSession session = getThreadLocalRequest().getSession() Null Pointer Exception

2010-06-08 Thread KenJi_getpowered
Hello every body, I can't figure out why there is a Null Pointer Exception here. I am trying to share informations through sessions within my application. I have a regular servlet that sets the session and insert a login. then I wanted to retrieve that login into a RemoteServiceServlet with

Strange Null Pointer Exception

2010-03-12 Thread Jolam
when i invoking a rpc service with a onclick() method, I encounter a Exception: Mar 12, 2010 11:45:40 AM com.google.appengine.tools.development.ApiProxyLocalImpl log SEVERE: [126839434065] javax.servlet.ServletContext log: Exception while dispatching incoming RPC call com.google.gwt.user.serve

Re: Null pointer in generated createStreamWriter method

2009-09-09 Thread Joe Cole
If you can reproduce this consistently it may be a compiler bug. It sounds as though the code is getting optimised out. GWT Team - is there a way to debug this situation with SOYC? On Sep 10, 6:39 am, Jennifer Vendetti wrote: > Thanks for your reply Joe.  I found a solution, although I'm not sur

Re: Null pointer in generated createStreamWriter method

2009-09-09 Thread Jennifer Vendetti
Thanks for your reply Joe. I found a solution, although I'm not sure why the change I made fixes the problem. I read Robert Hanson's GWT In Action book and followed the recommendation in Chapter 11 about using the Facade pattern to simplify working with RPC. A pared down example from our code b

Re: Null pointer in generated createStreamWriter method

2009-09-09 Thread Joe Cole
I remember something like this happening once on 1.5. >From memory (I couldn't find it in our tracker) it was to do with not implementing RemoteService or something similar to that like not implementing Serializable. This may be completely wrong as it was about 1000 tickets ago :) - but is worth a

Null pointer in generated createStreamWriter method

2009-09-08 Thread Jennifer Vendetti
Hi, I'm developing with GWT (version 1.7.0) and having trouble figuring out the source of a runtime exception. My application compiles, runs, and behaves as expected in hosted mode (on both Windows and Linux). In browser mode (also on Windows and Linux), I get a runtime exception: 'com_google_g

Gwtext Null Pointer exception : any Help Please

2009-05-27 Thread jeeva
Hi friends , i am trying to run some code , but i end in as error . may some one help me to come out this . What kind of error this is ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.refl

Re: Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
Ok, it appears I have fixed this issue. For future reference it seems that the AsyncCallback calls were causing the errors. I basically added 'type' parameters to every AsyncCallback and this solved the issue I was having! Thanks for your help. On Mar 8, 11:11 pm, "fatjack1...@googlemail.com" w

Re: Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
Yes I understand what you are saying but there is only ever one call to the database. The class making the call to the selectOrdersBeingPrepared method is on a 15 second timer so I just put a System.out.println call on the selectOrdersBeingPrepared method to observe what was happening. It seems th

Re: Java Null Pointer Exception

2009-03-08 Thread Lothar Kimmeringer
fatjack1...@googlemail.com schrieb: > dc is creates a Database Connector object. I'm not sure why there > would be two parallel calls as the connection to the database is > closed after every call... Is it a global member of the servlet? If two requests are received at the same time, they will us

Re: Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
dc is creates a Database Connector object. I'm not sure why there would be two parallel calls as the connection to the database is closed after every call... On Mar 8, 3:44 pm, Lothar Kimmeringer wrote: > fatjack1...@googlemail.com schrieb: > > >Caused by: java.lang.NullPointerException: null >

Re: Java Null Pointer Exception

2009-03-08 Thread Lothar Kimmeringer
fatjack1...@googlemail.com schrieb: >Caused by: java.lang.NullPointerException: null > at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1468) > at >com.project.server.Management.ServerSQLServiceImpl.selectOrdersBeingPrepared >(ServerSQLServiceImpl.java:492) > > > Here

Java Null Pointer Exception

2009-03-08 Thread fatjack1...@googlemail.com
Hi, I have raised an issue (Issue 3447) but have been asked to post on here first to see if anyone can help with my problem. Basically, I receive this error message at random intervals when the client makes a call to the server: [WARN] StandardContext[]Exception while dispatching incoming RPC ca

Re: StockWatcher example. null pointer because root panel cannot find html element 'stockList'

2008-09-03 Thread Nico
Hi Ian and thank you for the speedy reply. I have solved it by now.it was a combination of screen blindness, a late night and a missing quotation mark in my html. Nico On Sep 3, 2:53 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > As I remember, Anil never found the problem, he got fed up wi

Re: StockWatcher example. null pointer because root panel cannot find html element 'stockList'

2008-09-02 Thread Ian Bambury
As I remember, Anil never found the problem, he got fed up with it and started again from scratch and it worked - put it down to some caching problem, but didn't find out for sure. He sent me the zip and I couldn't get it *not* to work, so I wasn't able to help. You can send your project if you li

Re: StockWatcher example. null pointer because root panel cannot find html element 'stockList'

2008-09-02 Thread Nico
Hi Guys, I am pretty much stuck on exactly the same problem and am not entirely sure what's wrong. Anil or Ian..if you have figured out the solution, could you post it up here please? I'd be very grateful! Thanks, Nico On Aug 10, 3:48 am, "Ian Bambury" <[EMAIL PROTECTED]> wrote: > Hi Anil,