Hi. I know the subject of this thread is going to tempt you to flame me, but please bear with me for a while

Basically, I'm developing an application using JDBC, so I have no choice but to use Cocoa-Java. As expected, I ran into problems with the Java bridge at once... So... Could anybody give me advice on how to avoid those dreaded Java bridge errors? Are there any general guidelines I can follow that will (hopefully) keep me out of trouble? For example, I tried to create a class implementing NSTableView.DataModel, but no matter what I do I keep getting NullPointerExceptions!!! Any help, please?
Thank ya!