java - defects4j database: I encountered problems during using the tools -
i beginner in software testing fields.and encountered problems during study bug databases. i'm not sure if environment installation wrong.or else? screenshot follows. answers.
[the problem photo]
wrong information follow:
$ defects4j checkout -p lang -v 1b -w ./lang_1_buggy check out 687b2e62 c:/users/gzq/desktop/lang_1_buggy.................... ok
init local repository...................................................... ok
tag post-fix revision...................................................... ok
initialize fixed program version........................................... ok
apply patch................................................................ fail
d:/defects4j/framework/projects/lang/patches/1.src.patch:20: trailing whitespace. if (hexdigits > 16) { // many long
d:/defects4j/framework/projects/lang/patches/1.src.patch:24: trailing whitespace. if (hexdigits > 8) { // many int
error:
patch failed:
src/main/java/org/apache/commons/lang3/math/numberutils.java:464 error: src/main/java/org/apache/commons/lang3/math/numberutils.java: patch not apply executed command: cd c:/users/gzq/desktop/lang_1_buggy && git apply d:/defects4j/framework/projects/lang/patches/1.src.patch 2>&1 cannot checkout program version! @ d:/defects4j/framework/bin/d4j/d4j-checkout line 94. compilation failed in require @ d:/defects4j/framework/bin/defects4j line 155 .

Comments
Post a Comment