Created
March 31, 2015 18:07
-
-
Save cdesch/e79faeba20042ba7d033 to your computer and use it in GitHub Desktop.
Sugar Roboelectric Dbug
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cjs-MBP15:sugar cj$ export ANDROID_HOME=~/Library/Android/sdk/ | |
cjs-MBP15:sugar cj$ gradle build test --stacktrace | |
Download https://repo1.maven.org/maven2/org/robolectric/robolectric/2.4/robolectric-2.4.pom | |
Download https://repo1.maven.org/maven2/org/robolectric/robolectric-parent/2.4/robolectric-parent-2.4.pom | |
Download https://repo1.maven.org/maven2/org/robolectric/robolectric-annotations/2.4/robolectric-annotations-2.4.pom | |
Download https://repo1.maven.org/maven2/org/objenesis/objenesis/1.3/objenesis-1.3.pom | |
Download https://repo1.maven.org/maven2/org/objenesis/objenesis-parent/1.3/objenesis-parent-1.3.pom | |
Download https://repo1.maven.org/maven2/com/almworks/sqlite4java/sqlite4java/0.282/sqlite4java-0.282.pom | |
Download https://repo1.maven.org/maven2/org/sonatype/oss/oss-parent/4/oss-parent-4.pom | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm/5.0.1/asm-5.0.1.pom | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-parent/5.0.1/asm-parent-5.0.1.pom | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.0.1/asm-commons-5.0.1.pom | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-util/5.0.1/asm-util-5.0.1.pom | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.1/asm-analysis-5.0.1.pom | |
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/commons-codec-1.3.pom | |
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.0.3/httpclient-4.0.3.pom | |
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-client/4.0.3/httpcomponents-client-4.0.3.pom | |
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/project/4.1/project-4.1.pom | |
Download https://repo1.maven.org/maven2/com/ximpleware/vtd-xml/2.11/vtd-xml-2.11.pom | |
Download https://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.pom | |
Download https://repo1.maven.org/maven2/org/apache/maven/maven-parent/19/maven-parent-19.pom | |
Download https://repo1.maven.org/maven2/org/apache/ant/ant/1.8.0/ant-1.8.0.pom | |
Download https://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.8.0/ant-parent-1.8.0.pom | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.0.1/asm-tree-5.0.1.pom | |
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.pom | |
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcomponents-core/4.0.1/httpcomponents-core-4.0.1.pom | |
Download https://repo1.maven.org/maven2/org/apache/httpcomponents/project/4.0/project-4.0.pom | |
Download https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.8.0/ant-launcher-1.8.0.pom | |
Download https://repo1.maven.org/maven2/org/robolectric/robolectric-annotations/2.4/robolectric-annotations-2.4.jar | |
Download https://repo1.maven.org/maven2/org/objenesis/objenesis/1.3/objenesis-1.3.jar | |
Download https://repo1.maven.org/maven2/com/almworks/sqlite4java/sqlite4java/0.282/sqlite4java-0.282.jar | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm/5.0.1/asm-5.0.1.jar | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-tree/5.0.1/asm-tree-5.0.1.jar | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-commons/5.0.1/asm-commons-5.0.1.jar | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-util/5.0.1/asm-util-5.0.1.jar | |
Download https://repo1.maven.org/maven2/org/ow2/asm/asm-analysis/5.0.1/asm-analysis-5.0.1.jar | |
WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for debugUnitTest as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
Download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.3/commons-codec-1.3.jar | |
WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.3 is ignored for debugUnitTest as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
Download https://repo1.maven.org/maven2/com/ximpleware/vtd-xml/2.11/vtd-xml-2.11.jar | |
Download https://repo1.maven.org/maven2/org/apache/ant/ant-launcher/1.8.0/ant-launcher-1.8.0.jar | |
Download https://repo1.maven.org/maven2/org/apache/ant/ant/1.8.0/ant-1.8.0.jar | |
Download https://repo1.maven.org/maven2/org/robolectric/robolectric/2.4/robolectric-2.4.jar | |
WARNING: Dependency commons-logging:commons-logging:1.1.1 is ignored for releaseUnitTest as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
WARNING: Dependency org.apache.httpcomponents:httpclient:4.0.3 is ignored for releaseUnitTest as it may be conflicting with the internal version provided by Android. | |
In case of problem, please repackage it with jarjar to change the class packages | |
:example:preBuild UP-TO-DATE | |
:example:preDebugBuild UP-TO-DATE | |
:example:compileDebugNdk UP-TO-DATE | |
:example:checkDebugManifest | |
:example:preReleaseBuild UP-TO-DATE | |
:library:compileLint | |
:library:copyReleaseLint UP-TO-DATE | |
:library:preBuild UP-TO-DATE | |
:library:preReleaseBuild UP-TO-DATE | |
:library:checkReleaseManifest | |
:library:preDebugAndroidTestBuild UP-TO-DATE | |
:library:preDebugBuild UP-TO-DATE | |
:library:prepareComAndroidSupportSupportV42103Library | |
:library:prepareReleaseDependencies | |
:library:compileReleaseAidl | |
:library:compileReleaseRenderscript | |
:library:generateReleaseBuildConfig | |
:library:generateReleaseAssets UP-TO-DATE | |
:library:mergeReleaseAssets | |
:library:generateReleaseResValues | |
:library:generateReleaseResources | |
:library:mergeReleaseResources | |
:library:processReleaseManifest | |
:library:processReleaseResources | |
:library:generateReleaseSources | |
:library:compileReleaseJava | |
Note: Some input files use unchecked or unsafe operations. | |
Note: Recompile with -Xlint:unchecked for details. | |
:library:extractReleaseAnnotations | |
:library:mergeReleaseProguardFiles | |
:library:processReleaseJavaRes UP-TO-DATE | |
:library:packageReleaseJar | |
:library:compileReleaseNdk UP-TO-DATE | |
:library:packageReleaseJniLibs UP-TO-DATE | |
:library:packageReleaseLocalJar UP-TO-DATE | |
:library:packageReleaseRenderscript UP-TO-DATE | |
:library:packageReleaseResources | |
:library:bundleRelease | |
:example:prepareComAndroidSupportSupportV42103Library | |
:example:prepareComGithubSatyanLibrary131Library | |
:example:prepareDebugDependencies | |
:example:compileDebugAidl | |
:example:compileDebugRenderscript | |
:example:generateDebugBuildConfig | |
:example:generateDebugAssets UP-TO-DATE | |
:example:mergeDebugAssets | |
:example:generateDebugResValues | |
:example:generateDebugResources | |
:example:mergeDebugResources | |
:example:processDebugManifest | |
:example:processDebugResources | |
:example:generateDebugSources | |
:example:compileDebugJava | |
:example:preDexDebug | |
:example:dexDebug | |
:example:processDebugJavaRes UP-TO-DATE | |
:example:validateDebugSigning | |
:example:packageDebug | |
:example:zipalignDebug | |
:example:assembleDebug | |
:example:checkReleaseManifest | |
:example:prepareReleaseDependencies | |
:example:compileReleaseAidl | |
:example:compileReleaseRenderscript | |
:example:generateReleaseBuildConfig | |
:example:generateReleaseAssets UP-TO-DATE | |
:example:mergeReleaseAssets | |
:example:generateReleaseResValues | |
:example:generateReleaseResources | |
:example:mergeReleaseResources | |
:example:processReleaseManifest | |
:example:processReleaseResources | |
:example:generateReleaseSources | |
:example:compileReleaseJava | |
:example:lintVitalRelease SKIPPED | |
:example:compileReleaseNdk UP-TO-DATE | |
:example:preDexRelease | |
:example:dexRelease | |
:example:processReleaseJavaRes UP-TO-DATE | |
:example:packageRelease | |
:example:assembleRelease | |
:example:assemble | |
:example:compileLint | |
:example:lint | |
Ran lint on variant debug: 6 issues found | |
Ran lint on variant release: 6 issues found | |
Wrote HTML report to file:/Users/cj/AndroidStudioProjects/sugar/example/build/outputs/lint-results.html | |
Wrote XML report to /Users/cj/AndroidStudioProjects/sugar/example/build/outputs/lint-results.xml | |
:example:preCompileDebugUnitTestJava | |
:example:compileDebugUnitTestJava | |
/Users/cj/AndroidStudioProjects/sugar/example/src/test/java/com/example/sugartest/HelperRecordTests.java:23: error: reference to assertEquals is ambiguous, both method assertEquals(double,double) in Assert and method assertEquals(Object,Object) in Assert match | |
assertEquals(model.getFloat(), 0.25F); | |
^ | |
/Users/cj/AndroidStudioProjects/sugar/example/src/test/java/com/example/sugartest/HelperRecordTests.java:30: error: no suitable method found for findById(Class<FloatFieldExtendedModel>) | |
FloatFieldExtendedModel model = SugarRecord.findById(FloatFieldExtendedModel.class); | |
^ | |
method SugarRecord.<T#1>findById(Class<T#1>,Integer) is not applicable | |
(cannot instantiate from arguments because actual and formal argument lists differ in length) | |
method SugarRecord.<T#2>findById(Class<T#2>,Long) is not applicable | |
(cannot instantiate from arguments because actual and formal argument lists differ in length) | |
where T#1,T#2 are type-variables: | |
T#1 extends Object declared in method <T#1>findById(Class<T#1>,Integer) | |
T#2 extends Object declared in method <T#2>findById(Class<T#2>,Long) | |
/Users/cj/AndroidStudioProjects/sugar/example/src/test/java/com/example/sugartest/HelperRecordTests.java:31: error: reference to assertEquals is ambiguous, both method assertEquals(double,double) in Assert and method assertEquals(Object,Object) in Assert match | |
assertEquals(model.getFloat(), 0.5F); | |
^ | |
Note: /Users/cj/AndroidStudioProjects/sugar/example/src/test/java/com/example/sugartest/HelperRecordTests.java uses or overrides a deprecated API. | |
Note: Recompile with -Xlint:deprecation for details. | |
3 errors | |
:example:compileDebugUnitTestJava FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':example:compileDebugUnitTestJava'. | |
> Compilation failed; see the compiler error output for details. | |
* Try: | |
Run with --info or --debug option to get more log output. | |
* Exception is: | |
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':example:compileDebugUnitTestJava'. | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) | |
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35) | |
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64) | |
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) | |
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42) | |
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) | |
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53) | |
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) | |
at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:306) | |
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79) | |
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63) | |
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51) | |
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23) | |
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88) | |
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29) | |
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62) | |
at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23) | |
at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68) | |
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) | |
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62) | |
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55) | |
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149) | |
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106) | |
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80) | |
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33) | |
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26) | |
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51) | |
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:169) | |
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237) | |
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210) | |
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35) | |
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) | |
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) | |
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) | |
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) | |
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) | |
at org.gradle.launcher.Main.doAction(Main.java:33) | |
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) | |
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) | |
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) | |
at org.gradle.launcher.GradleMain.main(GradleMain.java:23) | |
Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details. | |
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:44) | |
at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:35) | |
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97) | |
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:50) | |
at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:36) | |
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:34) | |
at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25) | |
at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:156) | |
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:136) | |
at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:90) | |
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) | |
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235) | |
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211) | |
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222) | |
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) | |
... 44 more | |
BUILD FAILED | |
Total time: 22.97 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment