From: José B. <jba...@ip...> - 2012-10-02 08:31:52
|
Says that the error is here... when I send the graph into a method in other class. gui_conveyorSystem.displayGraph(Agraph); Thanks. Em 02-10-2012 02:29, Joshua O'Madadhain escreveu: > Where does the stack trace say that the error is? > > On Mon, Oct 1, 2012 at 4:05 PM, José Barbosa <jba...@ip... > <mailto: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... >> <mailto: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... >> <mailto:Jun...@li...> >> https://lists.sourceforge.net/lists/listinfo/jung-support >> >> >> >> >> -- >> jos...@gm... >> <mailto:jos...@gm...>......sites.google.com/site/joshuaomadadhain/ >> <http://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 <tel:%2B351-918985512> | [F]:+351-273313051 <tel:%2B351-273313051> > [www]:http://www.ipb.pt/~jbarbosa <http://www.ipb.pt/%7Ejbarbosa> | [@]:jba...@ip... <mailto:jba...@ip...> > > > > > -- > jos...@gm.........sites.google.com/site/joshuaomadadhain/ > <http://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... |