From: Joshua O'M. <jos...@gm...> - 2012-10-01 16:24:34
|
José, you're asking us about a NullPointerException inside your code, which we can't see, so there isn't anything we really can do to help. I suggest looking at the stack trace for the NPE; that should tell you precisely where the error is. Joshua On Mon, Oct 1, 2012 at 7:58 AM, José Barbosa <jba...@ip...> wrote: > Hello, > > I've 2 classes... I create, on the first one, the Jung graph. I want to > send this graph to another classe method where I create the visualizer. > The problem is that it gives me a Null Pointer Exception ... > > Code snap: > > Agraph = createGraph(); // creates a graph and returns the graph into > Agraph > > gui_conveyorSystem.displayGraph(Agraph); // sends the graph to a method in > other class... Gives error here... > > > Any idea why? What I've to do not to give error? > > Thanks in advance. > > José > > > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Jung-support mailing list > Jun...@li... > https://lists.sourceforge.net/lists/listinfo/jung-support > > -- jos...@gm.........sites.google.com/site/joshuaomadadhain/ Joshua O'Madadhain: Information Scientist, Musician, Philosopher-At-Tall It's that moment of dawning comprehension that I live for. -- Bill Watterson My opinions are too rational and insightful to be those of any organization. |