Re: Debugging in Netbeans - Lists don't load

2010-02-27 Thread gnugrf

Riyad,

Thanks for replying - I may have not been clear enough. The database
connection is fine when I run the application normally. The choices from the
dropdown list are loaded, and I've also put a temporary system.out line to
spit the contents of the list out immediately after loading, so that I can
verify the contents. Everything works UNTIL I run in debug-mode in Netbeans.
At that point, the lists dont get loaded. I don't change anything, other
than running Netbeans in debug.



Riyad Kalla wrote:
 
 Garrett,
 
 I would start simple, remove Wicket as much as possible from this
 situation
 first. In your DAO or whatever you are using to do the query and load the
 results from the DB -- just System.out the contents of the list to the
 console.
 
 Until you get that working, don't bother thinking about Wicket and what is
 going on there -- it will just muddy the water.
 
 Check your console logs on startup, your persistence framework (Hibernate)
 may be crapping out an error that is scrolling by really quick, like it
 cannot find a driver or your credentials for the DB connection are wrong.
 
 Also try and check the console when issuing your first query, look for the
 same sort of data.
 
 Troubleshoot that DB connection first and foremost. At that point, it's
 either a Spring issue or something else, but make sure you get that data
 out
 of the DB first before moving on.
 
 -R
 
 On Fri, Feb 26, 2010 at 4:28 PM, Garrett Fry
 gnu...@sdf.lonestar.orgwrote:
 

 Qualifying information: Im a noob

 Trying to get a DropDownChoice working. Ive read every post I can find,
 and
 slowly losing my mind. I like to solve my own problems if I can, but I
 can't
 even debug properly. Everytime I set a breakpoint and step through... the
 Lists that are loaded via spring/hibernate don't get loaded.
 They read size(0). Because the lists dont load, I can't even find out
 whats
 going wrong in the DropDownChoice. gnu...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 

-- 
View this message in context: 
http://old.nabble.com/Debugging-in-Netbeans---Lists-don%27t-load-tp27724615p27728021.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Debugging in Netbeans - Lists don't load

2010-02-26 Thread Riyad Kalla
Garrett,

I would start simple, remove Wicket as much as possible from this situation
first. In your DAO or whatever you are using to do the query and load the
results from the DB -- just System.out the contents of the list to the
console.

Until you get that working, don't bother thinking about Wicket and what is
going on there -- it will just muddy the water.

Check your console logs on startup, your persistence framework (Hibernate)
may be crapping out an error that is scrolling by really quick, like it
cannot find a driver or your credentials for the DB connection are wrong.

Also try and check the console when issuing your first query, look for the
same sort of data.

Troubleshoot that DB connection first and foremost. At that point, it's
either a Spring issue or something else, but make sure you get that data out
of the DB first before moving on.

-R

On Fri, Feb 26, 2010 at 4:28 PM, Garrett Fry gnu...@sdf.lonestar.orgwrote:


 Qualifying information: Im a noob

 Trying to get a DropDownChoice working. Ive read every post I can find, and
 slowly losing my mind. I like to solve my own problems if I can, but I can't
 even debug properly. Everytime I set a breakpoint and step through... the
 Lists that are loaded via spring/hibernate don't get loaded.
 They read size(0). Because the lists dont load, I can't even find out whats
 going wrong in the DropDownChoice. gnu...@sdf.lonestar.org
 SDF Public Access UNIX System - http://sdf.lonestar.org

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org