Bug 5385 - fhpd next command on corefile process causes an NPE
Summary: fhpd next command on corefile process causes an NPE
Status: NEW
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
Depends on:
Blocks: 2246
  Show dependency treegraph
Reported: 2007-11-21 10:36 UTC by Phil Muldoon
Modified: 2007-11-21 10:36 UTC (History)
0 users

See Also:
Last reconfirmed:


Note You need to log in before you can comment on or make changes to this bug.
Description Phil Muldoon 2007-11-21 10:36:44 UTC
The next command should not even work on a corefile process, and checks should
be placed to prohibit use. Current usage:

[pmuldoon@localhost frysk_bin]$ ./frysk-core/frysk/bindir/fhpd core.11108

Attached to core file: /home/pmuldoon/frysk_bin/core.11108
(fhpd) next
Internal Error: java.lang.NullPointerException
   at frysk.stepping.SteppingEngine.stepOver(fhpd)
   at frysk.hpd.StepNextCommand.interpret(fhpd)
   at frysk.hpd.ParameterizedCommand.interpret(fhpd)
   at frysk.hpd.MultiLevelCommand.interpret(fhpd)
   at frysk.hpd.CLI.execCommand(fhpd)
   at frysk.bindir.fhpd.main(fhpd)