Method for repairing null pointer exception
AssigneeKorea University Research and Business Foundation
InventorsHakjoo OH, Junhee LEE, Seongjoon HONG
Life of this patent
Estimating the term…
Abstract
Disclosed is a method for repairing a null pointer exception performed by a computing device including a processor, which includes: obtaining an original program; and obtaining, by using a classification model, a patch program from the original program by repairing an error of the original program; and, in which the classification model may be trained in advance by using a null processing pattern dataset obtained from at least one program.
Claims10
A method for repairing a null pointer exception performed by a computing device including a processor, the method comprising:
- obtaining an original program;
- and
- obtaining, by using a classification model, a patch program from the original program acquired by repairing an error of the original program,
- wherein the classification model is trained in advance by using a null processing pattern dataset obtained from at least one program.
A computer program stored in a computer-readable storage medium, wherein the computer program comprises instructions for causing a processor of a computing device for repairing a null pointer exception to perform the following steps, the steps comprising:
- obtaining an original program;
- and
- obtaining, by using a classification model, a patch program from the original program by repairing an error of the original program;
- and,
- wherein the classification model is trained in advance by using a null processing pattern dataset obtained from at least one program.
A computing device for repairing a null pointer exception, comprising:
- a processor including at least one core;
- a memory for storing computer programs executable by the processor;
- and
- a network unit,
- wherein the processor is configured to
- obtain an original program, and
- obtain, by using a classification model, a patch program from the original program by repairing an error of the original program and,
- wherein the classification model is trained in advance by using a null processing pattern dataset obtained from at least one program.
Dependencies are inferred from the claim text.