From: Joshua O'M. <jos...@gm...> - 2012-10-02 01:29:11
|
Where does the stack trace say that the error is? On Mon, Oct 1, 2012 at 4:05 PM, José Barbosa <jba...@ip...> wrote: > Thnak you Joshua. > I've print the stack trace, but with no success. > I just don't understand why give this error because I print the graph just > before and is OK. > > Thank you anyway. > > Em 01-10-2012 17:24, Joshua O'Madadhain escreveu: > > 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. > > > -- > José Barbosa > Polytechnic Institute of Bragança > Quinta Sta Apolónia, Apartado 1134 > 5301-857 Bragança > Portugal > [T]: +351-918985512 | [F]: +351-273313051 > [www]: http://www.ipb.pt/~jbarbosa | [@]: jba...@ip... > > -- 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. |