Hello. I'm writing an RMI application for my semester project, and I'm getting a really frustrating error! I have the interface PlugNPlayIMPL that contains 5 or so abstract methods. One method (init) is called and it creates a new JPanel in the class that was bond to the registry. Here's the problem: I'm trying to paint to the panel, but when I call <JPanel>.getGraphics(), it throws a null pointer exception. I'm checking beforehand to make sure that the JPanel has been created too... Does anyone have a solution/explanation?