{"action":"created","issue":{"url":"https://api.github.com/repos/androidannotations/androidannotations/issues/2121","repository_url":"https://api.github.com/repos/androidannotations/androidannotations","labels_url":"https://api.github.com/repos/androidannotations/androidannotations/issues/2121/labels{/name}","comments_url":"https://api.github.com/repos/androidannotations/androidannotations/issues/2121/comments","events_url":"https://api.github.com/repos/androidannotations/androidannotations/issues/2121/events","html_url":"https://github.com/androidannotations/androidannotations/issues/2121","id":302406426,"number":2121,"title":"IncompleteAnnotationException FragmentById missing element childFragment on 4.4.0","user":{"login":"henriAtstk","id":37082496,"avatar_url":"https://avatars1.githubusercontent.com/u/37082496?v=4","gravatar_id":"","url":"https://api.github.com/users/henriAtstk","html_url":"https://github.com/henriAtstk","followers_url":"https://api.github.com/users/henriAtstk/followers","following_url":"https://api.github.com/users/henriAtstk/following{/other_user}","gists_url":"https://api.github.com/users/henriAtstk/gists{/gist_id}","starred_url":"https://api.github.com/users/henriAtstk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriAtstk/subscriptions","organizations_url":"https://api.github.com/users/henriAtstk/orgs","repos_url":"https://api.github.com/users/henriAtstk/repos","events_url":"https://api.github.com/users/henriAtstk/events{/privacy}","received_events_url":"https://api.github.com/users/henriAtstk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-03-05T18:15:33Z","updated_at":"2018-03-08T08:38:11Z","closed_at":"2018-03-06T18:46:15Z","author_association":"NONE","body":"**AndroidAnnotations version**: AndroidAnnotations 4.4.0\r\n\r\n**Android compile SDK version**: 25 and 26\r\n\r\n\r\n**Stacktrace in case of AA crash**:\r\nthe part that looks more relevant:\r\n```\r\nCaused by: java.lang.annotation.IncompleteAnnotationException: org.androidannotations.annotations.FragmentById missing element childFragment\r\nat sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)\r\nat com.sun.proxy.$Proxy152.childFragment(Unknown Source)\r\n```\r\n\r\nI am trying to bring my app from \r\n compileSdkVersion 25\r\n buildToolsVersion '25.0.3'\r\n\r\nto \r\ncompileSdkVersion 26\r\nbuildToolsVersion '26.x.x'\r\n\r\nso I was forced to update the annotations version from\r\n\r\napt 'org.androidannotations:androidannotations:3.3.2'\r\nto\r\napt 'org.androidannotations:androidannotations:4.4.0'\r\n\r\nI was trying to find the meaning of this exception but I have had no success so far.\r\nI am also confused because I checked the release log and saw no reference to this exception (only happens on the new version) \r\n\r\nAny help would be most welcome!\r\n\r\nThe whole thing:\r\n\r\n```\r\nError:(33, 17) error: Something went wrong: Unexpected error in AndroidAnnotations 4.4.0!\r\nYou should check if there is already an issue about it on https://github.com/androidannotations/androidannotations/search?q=java.lang.RuntimeException&type=Issues\r\nIf none exists, please open a new one with the following content and tell us if you can reproduce it or not. Don't forget to give us as much information as you can (like parts of your code in failure).\r\nJava version: javac 1.8.0_152-release\r\nJavac processors options: androidManifestFile=C:\\stk_care\\care\\app\\build\\intermediates\\manifests\\full\\release\\AndroidManifest.xml\r\nStacktrace: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\r\nat org.androidannotations.helper.AnnotationHelper.extractAnnotationParameter(AnnotationHelper.java:352)\r\nat org.androidannotations.helper.TargetAnnotationHelper.extractAnnotationParameter(TargetAnnotationHelper.java:41)\r\nat org.androidannotations.internal.core.helper.CoreValidatorHelper.childFragmentUsedOnlyIfEnclosingClassIsFragment(CoreValidatorHelper.java:425)\r\nat org.androidannotations.internal.core.handler.AbstractFragmentByHandler.validate(AbstractFragmentByHandler.java:70)\r\nat org.androidannotations.internal.core.handler.FragmentByIdHandler.validate(FragmentByIdHandler.java:38)\r\nat org.androidannotations.handler.BaseAnnotationHandler.validate(BaseAnnotationHandler.java:65)\r\nat org.androidannotations.internal.process.ModelValidator.validate(ModelValidator.java:73)\r\nat org.androidannotations.internal.AndroidAnnotationProcessor.validateAnnotations(AndroidAnnotationProcessor.java:216)\r\nat org.androidannotations.internal.AndroidAnnotationProcessor.processThrowing(AndroidAnnotationProcessor.java:174)\r\nat org.androidannotations.internal.AndroidAnnotationProcessor.process(AndroidAnnotationProcessor.java:126)\r\nat com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)\r\nat com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)\r\nat com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)\r\nat com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)\r\nat com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)\r\nat com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170)\r\nat com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856)\r\nat com.sun.tools.javac.main.Main.compile(Main.java:523)\r\nat com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)\r\nat com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)\r\nat org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:49)\r\nat org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:36)\r\nat org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:99)\r\nat org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:52)\r\nat org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:37)\r\nat org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:35)\r\nat org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:25)\r\nat org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:198)\r\nat org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:183)\r\nat org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:120)\r\nat com.android.build.gradle.tasks.factory.AndroidJavaCompile.compile(AndroidJavaCompile.java:49)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:498)\r\nat org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)\r\nat org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:173)\r\nat org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134)\r\nat org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:121)\r\nat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:122)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\nat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:111)\r\nat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:92)\r\nat org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)\r\nat org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:63)\r\nat org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)\r\nat org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)\r\nat org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88)\r\nat org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)\r\nat org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)\r\nat org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)\r\nat org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)\r\nat org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)\r\nat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:197)\r\nat org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:107)\r\nat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)\r\nat org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)\r\nat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:124)\r\nat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:80)\r\nat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:105)\r\nat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:99)\r\nat org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:625)\r\nat org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:580)\r\nat org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:99)\r\nat org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)\r\nat org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)\r\nat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\nat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\nat org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)\r\nat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\nat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\nat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nat java.lang.reflect.Method.invoke(Method.java:498)\r\nat org.androidannotations.helper.AnnotationHelper.extractAnnotationParameter(AnnotationHelper.java:346)\r\n... 75 more\r\nCaused by: java.lang.annotation.IncompleteAnnotationException: org.androidannotations.annotations.FragmentById missing element childFragment\r\nat sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81)\r\nat com.sun.proxy.$Proxy152.childFragment(Unknown Source)\r\n... 80 more\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/androidannotations/androidannotations/issues/comments/371418088","html_url":"https://github.com/androidannotations/androidannotations/issues/2121#issuecomment-371418088","issue_url":"https://api.github.com/repos/androidannotations/androidannotations/issues/2121","id":371418088,"user":{"login":"henriAtstk","id":37082496,"avatar_url":"https://avatars1.githubusercontent.com/u/37082496?v=4","gravatar_id":"","url":"https://api.github.com/users/henriAtstk","html_url":"https://github.com/henriAtstk","followers_url":"https://api.github.com/users/henriAtstk/followers","following_url":"https://api.github.com/users/henriAtstk/following{/other_user}","gists_url":"https://api.github.com/users/henriAtstk/gists{/gist_id}","starred_url":"https://api.github.com/users/henriAtstk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henriAtstk/subscriptions","organizations_url":"https://api.github.com/users/henriAtstk/orgs","repos_url":"https://api.github.com/users/henriAtstk/repos","events_url":"https://api.github.com/users/henriAtstk/events{/privacy}","received_events_url":"https://api.github.com/users/henriAtstk/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T08:38:11Z","updated_at":"2018-03-08T08:38:11Z","author_association":"NONE","body":"@dodgex  everything is working perfectly now thanks ;)\r\n\r\n"}}
{"actor":{"display_login":"henriAtstk"}}