{"action":"created","issue":{"url":"https://api.github.com/repos/teamed/qulice/issues/394","labels_url":"https://api.github.com/repos/teamed/qulice/issues/394/labels{/name}","comments_url":"https://api.github.com/repos/teamed/qulice/issues/394/comments","events_url":"https://api.github.com/repos/teamed/qulice/issues/394/events","html_url":"https://github.com/teamed/qulice/issues/394","id":55773398,"number":394,"title":"Build failed with message \"Caused by: java.io.IOException: Cannot run program \"javac\": CreateProcess error=2\"","user":{"login":"apocarteres","id":3305624,"avatar_url":"https://avatars.githubusercontent.com/u/3305624?v=3","gravatar_id":"","url":"https://api.github.com/users/apocarteres","html_url":"https://github.com/apocarteres","followers_url":"https://api.github.com/users/apocarteres/followers","following_url":"https://api.github.com/users/apocarteres/following{/other_user}","gists_url":"https://api.github.com/users/apocarteres/gists{/gist_id}","starred_url":"https://api.github.com/users/apocarteres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apocarteres/subscriptions","organizations_url":"https://api.github.com/users/apocarteres/orgs","repos_url":"https://api.github.com/users/apocarteres/repos","events_url":"https://api.github.com/users/apocarteres/events{/privacy}","received_events_url":"https://api.github.com/users/apocarteres/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-28T15:51:27Z","updated_at":"2015-01-28T19:42:54Z","closed_at":null,"body":"<pre>\r\nTests run: 4, Failures: 0, Errors: 2, Skipped: 1, Time elapsed: 3.979 sec <<< FAILURE! - in com.qulice.findbugs.FindBugs\r\nValidatorTest\r\nthrowsExceptionOnViolation(com.qulice.findbugs.FindBugsValidatorTest)  Time elapsed: 0.14 sec  <<< ERROR!\r\njava.lang.Exception: Unexpected exception, expected<com.qulice.spi.ValidationException> but was<java.io.IOException>\r\n        at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:28)\r\n        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n        at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n        at java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.io.IOException: Cannot run program \"javac\": CreateProcess error=2, ?? ??????? ????? ????????? ????\r\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)\r\n        at com.qulice.findbugs.BytecodeMocker.mock(BytecodeMocker.java:77)\r\n        at com.qulice.findbugs.FindBugsValidatorTest.throwsExceptionOnViolation(FindBugsValidatorTest.java:63)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n        at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:19)\r\n        ... 10 more\r\nCaused by: java.io.IOException: CreateProcess error=2, ?? ??????? ????? ????????? ????\r\n        at java.lang.ProcessImpl.create(Native Method)\r\n        at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)\r\n        at java.lang.ProcessImpl.start(ProcessImpl.java:136)\r\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)\r\n        ... 21 more\r\n\r\nexcludesIncorrectClassFormCheck(com.qulice.findbugs.FindBugsValidatorTest)  Time elapsed: 0.13 sec  <<< ERROR!\r\njava.io.IOException: Cannot run program \"javac\": CreateProcess error=2, ?? ??????? ????? ????????? ????\r\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)\r\n        at com.qulice.findbugs.BytecodeMocker.mock(BytecodeMocker.java:77)\r\n        at com.qulice.findbugs.FindBugsValidatorTest.excludesIncorrectClassFormCheck(FindBugsValidatorTest.java:78)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)\r\n        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)\r\n        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)\r\n        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)\r\n        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)\r\n        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)\r\n        at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:318)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n        at java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n        at java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.io.IOException: CreateProcess error=2, ?? ??????? ????? ????????? ????\r\n        at java.lang.ProcessImpl.create(Native Method)\r\n        at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)\r\n        at java.lang.ProcessImpl.start(ProcessImpl.java:136)\r\n        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)\r\n        ... 20 more\r\n\r\n\r\nResults :\r\n\r\nTests in error:\r\n  FindBugsValidatorTest.throwsExceptionOnViolation ╗  Unexpected exception, expe...\r\n  FindBugsValidatorTest.excludesIncorrectClassFormCheck:78 ╗ IO Cannot run progr...\r\n\r\nTests run: 4, Failures: 0, Errors: 2, Skipped: 1\r\n\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Reactor Summary:\r\n[INFO]\r\n[INFO] qulice ............................................. SUCCESS [  6.830 s]\r\n[INFO] qulice-spi ......................................... SUCCESS [ 15.182 s]\r\n[INFO] qulice-checkstyle .................................. SUCCESS [ 34.233 s]\r\n[INFO] qulice-pmd ......................................... SUCCESS [ 13.295 s]\r\n[INFO] qulice-codenarc .................................... SUCCESS [ 29.907 s]\r\n[INFO] qulice-findbugs .................................... FAILURE [  5.625 s]\r\n[INFO] qulice-xml ......................................... SKIPPED\r\n[INFO] qulice-ant ......................................... SKIPPED\r\n[INFO] qulice-maven-plugin ................................ SKIPPED\r\n[INFO] qulice-gradle-plugin ............................... SKIPPED\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 01:46 min\r\n[INFO] Finished at: 2015-01-28T18:44:55+03:00\r\n[INFO] Final Memory: 56M/494M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.17:test (default-test) on project qulice\r\n-findbugs: There are test failures.\r\n[ERROR]\r\n[ERROR] Please refer to Z:\\qulice\\qulice-findbugs\\target\\surefire-reports for the individual test results.\r\n[ERROR] -> [Help 1]\r\norg.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-p\r\nlugin:2.17:test (default-test) on project qulice-findbugs: There are test failures.\r\n</pre>\r\n\r\nsame build under OS X is fine\r\n<pre>\r\n[INFO] qulice ............................................. SUCCESS [  6.672 s]\r\n[INFO] qulice-spi ......................................... SUCCESS [ 11.525 s]\r\n[INFO] qulice-checkstyle .................................. SUCCESS [ 17.457 s]\r\n[INFO] qulice-pmd ......................................... SUCCESS [ 10.286 s]\r\n[INFO] qulice-codenarc .................................... SUCCESS [ 12.912 s]\r\n[INFO] qulice-findbugs .................................... SUCCESS [  8.722 s]\r\n[INFO] qulice-xml ......................................... SUCCESS [ 11.671 s]\r\n[INFO] qulice-ant ......................................... SUCCESS [ 28.504 s]\r\n[INFO] qulice-maven-plugin ................................ SUCCESS [02:07 min]\r\n[INFO] qulice-gradle-plugin ............................... SUCCESS [  1.228 s]\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD SUCCESS\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 03:57 min\r\n[INFO] Finished at: 2015-01-28T19:49:48+04:00\r\n[INFO] Final Memory: 144M/993M\r\n</pre>\r\n\r\n1. Windows 7 Rus clean install\r\n2. Maven 3.2+\r\n3. Oracle JDK 7\r\n4. clean checkout of master\r\n5. <pre>mvn -e clean install -Pqulice</pre>"},"comment":{"url":"https://api.github.com/repos/teamed/qulice/issues/comments/71901431","html_url":"https://github.com/teamed/qulice/issues/394#issuecomment-71901431","issue_url":"https://api.github.com/repos/teamed/qulice/issues/394","id":71901431,"user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T19:42:54Z","updated_at":"2015-01-28T19:42:54Z","body":"@apocarteres how can I reproduce the problem?"}}