Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pitest errors with Ant #107

Closed
ssayed1 opened this issue Mar 23, 2014 · 1 comment
Closed

Pitest errors with Ant #107

ssayed1 opened this issue Mar 23, 2014 · 1 comment

Comments

@ssayed1
Copy link

ssayed1 commented Mar 23, 2014

Encountered the below errors while executing pitest for ant.

Build.xml Code:

====================Error Log=====================
[pitest] 8:48:47 PM PIT >> INFO : Verbose logging is disabled. If you encount
er an problem please enable it before reporting an issue.
[pitest] 8:48:48 PM PIT >> INFO : Sending 0 test classes to slave
[pitest] 8:48:48 PM PIT >> INFO : Sent tests to slave
[pitest] 8:48:48 PM PIT >> WARNING : Error while watching child process
[pitest] java.util.concurrent.ExecutionException: org.pitest.util.PitError: n
ull
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace be
low when reporting an issue
[pitest] VM : Java HotSpot(TM) Client VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 24.45-b08
[pitest] Uptime : 2047
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest] at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[pitest] at java.util.concurrent.FutureTask.get(FutureTask.java:188)
[pitest] at org.pitest.util.CommunicationThread.waitToFinish(Communicatio
nThread.java:60)
[pitest] at org.pitest.coverage.execute.CoverageProcess.waitToDie(Coverag
eProcess.java:34)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCo
verageData(DefaultCoverageGenerator.java:127)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculat
eCoverage(DefaultCoverageGenerator.java:82)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculat
eCoverage(DefaultCoverageGenerator.java:46)
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.runReport(Mu
tationCoverage.java:118)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:100)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:42)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ru
nReport(MutationCoverageReport.java:69)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ma
in(MutationCoverageReport.java:41)
[pitest] Caused by: org.pitest.util.PitError: null
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace be
low when reporting an issue
[pitest] VM : Java HotSpot(TM) Client VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 24.45-b08
[pitest] Uptime : 2047
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest] at org.pitest.util.Unchecked.translateCheckedException(Unchecked
.java:20)
[pitest] at org.pitest.util.SafeDataInputStream.readByte(SafeDataInputStr
eam.java:65)
[pitest] at org.pitest.util.SocketReadingCallable.receiveResults(SocketRe
adingCallable.java:64)
[pitest] at org.pitest.util.SocketReadingCallable.call(SocketReadingCalla
ble.java:37)
[pitest] at org.pitest.util.SocketReadingCallable.call(SocketReadingCalla
ble.java:13)
[pitest] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[pitest] at java.lang.Thread.run(Thread.java:744)
[pitest] Caused by: java.io.EOFException
[pitest] at java.io.DataInputStream.readByte(DataInputStream.java:267)
[pitest] at org.pitest.util.SafeDataInputStream.readByte(SafeDataInputStr
eam.java:63)
[pitest] ... 5 more
[pitest] 8:48:48 PM PIT >> INFO : Calculated coverage in 1 seconds.
[pitest] 8:48:48 PM PIT >> INFO : Created 0 mutation test units
[pitest] Exception in thread "main" org.pitest.help.PitHelpError: No mutation
s found. This probably means there is an issue with either the supplied classpat
h or filters.
[pitest] See http://pitest.org for more details.
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.checkMutatio
nsFound(MutationCoverage.java:272)
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.runReport(Mu
tationCoverage.java:144)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:100)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:42)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ru
nReport(MutationCoverageReport.java:69)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ma
in(MutationCoverageReport.java:41)

BUILD FAILED
C:\Users\Shiraz\workspace\jabref-2.9.2\build.xml:729: C:\Users\Shiraz\workspace
jabref-2.9.2\build.xml:729: Java returned: 1

Total time: 3 seconds

C:\Users\Shiraz\workspace\jabref-2.9.2>ant pit
Buildfile: C:\Users\Shiraz\workspace\jabref-2.9.2\build.xml

generate:

compile:
[javac] C:\Users\Shiraz\workspace\jabref-2.9.2\build.xml:207: warning: 'incl
udeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds
[javac] C:\Users\Shiraz\workspace\jabref-2.9.2\build.xml:213: warning: 'incl
udeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds

buildinfos:
[echo] build number = 58

build:
[copy] Copying 1 file to C:\Users\Shiraz\workspace\jabref-2.9.2\build\resou
rce

compiletest:
[javac] C:\Users\Shiraz\workspace\jabref-2.9.2\build.xml:222: warning: 'incl
udeantruntime' was not set, defaulting to build.sysclasspath=last; set to false
for repeatable builds

buildtest:

test:
[java] ..................
[java] Time: 0.012
[java]
[java] OK (18 tests)
[java]

pit:
[pitest] 8:50:09 PM PIT >> INFO : Verbose logging is disabled. If you encount
er an problem please enable it before reporting an issue.
[pitest] 8:50:09 PM PIT >> INFO : Sending 0 test classes to slave
[pitest] 8:50:09 PM PIT >> INFO : Sent tests to slave
[pitest] 8:50:09 PM PIT >> WARNING : Error while watching child process
[pitest] java.util.concurrent.ExecutionException: org.pitest.util.PitError: n
ull
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace be
low when reporting an issue
[pitest] VM : Java HotSpot(TM) Client VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 24.45-b08
[pitest] Uptime : 773
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest] at java.util.concurrent.FutureTask.report(FutureTask.java:122)
[pitest] at java.util.concurrent.FutureTask.get(FutureTask.java:188)
[pitest] at org.pitest.util.CommunicationThread.waitToFinish(Communicatio
nThread.java:60)
[pitest] at org.pitest.coverage.execute.CoverageProcess.waitToDie(Coverag
eProcess.java:34)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.gatherCo
verageData(DefaultCoverageGenerator.java:127)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculat
eCoverage(DefaultCoverageGenerator.java:82)
[pitest] at org.pitest.coverage.execute.DefaultCoverageGenerator.calculat
eCoverage(DefaultCoverageGenerator.java:46)
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.runReport(Mu
tationCoverage.java:118)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:100)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:42)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ru
nReport(MutationCoverageReport.java:69)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ma
in(MutationCoverageReport.java:41)
[pitest] Caused by: org.pitest.util.PitError: null
[pitest]
[pitest] Please copy and paste the information and the complete stacktrace be
low when reporting an issue
[pitest] VM : Java HotSpot(TM) Client VM
[pitest] Vendor : Oracle Corporation
[pitest] Version : 24.45-b08
[pitest] Uptime : 773
[pitest] Input ->
[pitest] BootClassPathSupported : true
[pitest]
[pitest] at org.pitest.util.Unchecked.translateCheckedException(Unchecked
.java:20)
[pitest] at org.pitest.util.SafeDataInputStream.readByte(SafeDataInputStr
eam.java:65)
[pitest] at org.pitest.util.SocketReadingCallable.receiveResults(SocketRe
adingCallable.java:64)
[pitest] at org.pitest.util.SocketReadingCallable.call(SocketReadingCalla
ble.java:37)
[pitest] at org.pitest.util.SocketReadingCallable.call(SocketReadingCalla
ble.java:13)
[pitest] at java.util.concurrent.FutureTask.run(FutureTask.java:262)
[pitest] at java.lang.Thread.run(Thread.java:744)
[pitest] Caused by: java.io.EOFException
[pitest] at java.io.DataInputStream.readByte(DataInputStream.java:267)
[pitest] at org.pitest.util.SafeDataInputStream.readByte(SafeDataInputStr
eam.java:63)
[pitest] ... 5 more
[pitest] 8:50:09 PM PIT >> INFO : Calculated coverage in 0 seconds.
[pitest] 8:50:09 PM PIT >> INFO : Created 0 mutation test units
[pitest] Exception in thread "main" org.pitest.help.PitHelpError: No mutation
s found. This probably means there is an issue with either the supplied classpat
h or filters.
[pitest] See http://pitest.org for more details.
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.checkMutatio
nsFound(MutationCoverage.java:272)
[pitest] at org.pitest.mutationtest.tooling.MutationCoverage.runReport(Mu
tationCoverage.java:144)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:100)
[pitest] at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint
.java:42)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ru
nReport(MutationCoverageReport.java:69)
[pitest] at org.pitest.mutationtest.commandline.MutationCoverageReport.ma
in(MutationCoverageReport.java:41)

@hcoles
Copy link
Owner

hcoles commented Apr 2, 2024

Closing as 10 years old.

@hcoles hcoles closed this as completed Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants