Bug 4213

Summary: opening multiple bash shells for debugging gets NPE
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Unassigned <frysk-bugzilla>
Status: RESOLVED FIXED    
Severity: normal CC: swagiaal
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633, 3392    

Description Andrew Cagney 2007-03-19 14:58:05 UTC
Using the process picker, select two bash shells for debugging.  The following
is seen:

java.lang.NullPointerException
   at org.eclipse.cdt.internal.core.parser.Parser.LT(FryskGui)
   at org.eclipse.cdt.internal.core.parser.Parser.errorHandling(FryskGui)
   at
org.eclipse.cdt.internal.core.parser.Parser.failParseWithErrorHandling(FryskGui)
   at org.eclipse.cdt.internal.core.parser.Parser.translationUnit(FryskGui)
   at org.eclipse.cdt.internal.core.parser.Parser.parse(FryskGui)
   at frysk.dom.cparser.CDTParser.parse(FryskGui)
   at frysk.dom.DOMImage.addSource(FryskGui)
   at frysk.dom.DOMFactory.createDOM(FryskGui)
   at frysk.gui.srcwin.SourceWindow.generateProcStackTrace(FryskGui)
   at frysk.gui.srcwin.SourceWindow.finishSourceWin(FryskGui)
   at frysk.gui.srcwin.SourceWindow$LockObserver$31.run(FryskGui)
   at org.gnu.glib.CustomEvents.runEvents(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.gtk_main(libgtkjava-2.8.so)
   at org.gnu.gtk.Gtk.main(libgtkjava-2.8.so)
   at frysk.gui.Gui.gui(FryskGui)
   at frysk.gui.FryskGui.main(FryskGui)
java.lang.NullPointerException
   at org.eclipse.cdt.internal.core.parser.Parser.LT(FryskGui)
   at org.eclipse.cdt.internal.core.parser.Parser.errorHandling(FryskGui)
   at
org.eclipse.cdt.internal.core.parser.Parser.failParseWithErrorHandling(FryskGui)
   at org.eclipse.cdt.internal.core.parser.Parser.translationUnit(FryskGui)
Comment 1 Rick Moseley 2007-03-20 18:44:56 UTC
This seems to be fixed with the same change that fixed bz #4157.  Fixed in CVS head.