Go Back   SmartClient Forums > Smart GWT Technical Q&A
Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 29th Jul 2010, 04:59
tlas tlas is offline
Registered Developer
 
Join Date: Jan 2009
Posts: 4
Default DataSource.get() returns null

Hi,

I'm just trying to evaluate SmartGWTEE ver.2.1 and I can't overpass DataSource.get() returning null.
I'm using modified builtinds example and trying to use my own datasource instead of the one from this example (using Oracle database).
I think I did all by the book but still getting this null as a return.
Maybe someone could look at my sources and find out what I'm doing wrong.

Thanks.

Regards,
tlas
Attached Files
File Type: txt DataSourceLoader.txt (2.1 KB, 4 views)
File Type: xml MagaEEDS.gwt.xml (697 Bytes, 3 views)
File Type: java MagaEEDS.java (5.8 KB, 2 views)
File Type: html MagaEEDS.html (1.9 KB, 2 views)
File Type: xml web.xml (4.4 KB, 3 views)
Reply With Quote
  #2  
Old 29th Jul 2010, 06:23
tlas tlas is offline
Registered Developer
 
Join Date: Jan 2009
Posts: 4
Default

Problem solved. It turned out that it wasn't DataSource.get() that was causing NullPointerException, I tried to use ListGrid.setDataSource(ds) before creating and setting this list.

Sorry for the confusion.

Regards,
tlas
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


©2006 Isomorphic Software   ·   Terms of use