{"action":"opened","issue":{"url":"https://api.github.com/repos/xebia-france/selma/issues/59","labels_url":"https://api.github.com/repos/xebia-france/selma/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/xebia-france/selma/issues/59/comments","events_url":"https://api.github.com/repos/xebia-france/selma/issues/59/events","html_url":"https://github.com/xebia-france/selma/issues/59","id":92827630,"number":59,"title":"NullPointerException on IntelliJ compiling","user":{"login":"antoinemichaud","id":2747003,"avatar_url":"https://avatars.githubusercontent.com/u/2747003?v=3","gravatar_id":"","url":"https://api.github.com/users/antoinemichaud","html_url":"https://github.com/antoinemichaud","followers_url":"https://api.github.com/users/antoinemichaud/followers","following_url":"https://api.github.com/users/antoinemichaud/following{/other_user}","gists_url":"https://api.github.com/users/antoinemichaud/gists{/gist_id}","starred_url":"https://api.github.com/users/antoinemichaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoinemichaud/subscriptions","organizations_url":"https://api.github.com/users/antoinemichaud/orgs","repos_url":"https://api.github.com/users/antoinemichaud/repos","events_url":"https://api.github.com/users/antoinemichaud/events{/privacy}","received_events_url":"https://api.github.com/users/antoinemichaud/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-03T09:01:58Z","updated_at":"2015-07-03T09:01:58Z","closed_at":null,"body":"Hello,\r\n\r\nI can't compile anymore my project. When I click on \"make\", I get a NullPointerException. When I look in the build.log of IntelliJ, I can see this stack :\r\n\r\n`2015-07-03 10:44:10,386 [   2634]   INFO - s.incremental.java.JavaBuilder - java.lang.NullPointerException\r\njava.lang.RuntimeException: java.lang.NullPointerException\r\n\tat com.sun.tools.javac.main.Main.compile(Main.java:469)\r\n\tat com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132)\r\n\tat org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:168)\r\n\tat org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:382)\r\n\tat org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:296)\r\n\tat org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:204)\r\n\tat org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:176)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1196)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:877)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:945)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:840)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:663)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:370)\r\n\tat org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:191)\r\n\tat org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:137)\r\n\tat org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:293)\r\n\tat org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:124)\r\n\tat org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:242)\r\n\tat org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.NullPointerException\r\n\tat fr.xebia.extras.selma.codegen.MapperMethodGenerator.generateStack(MapperMethodGenerator.java:184)\r\n\tat fr.xebia.extras.selma.codegen.MapperMethodGenerator.buildMappingMethod(MapperMethodGenerator.java:98)\r\n\tat fr.xebia.extras.selma.codegen.MapperMethodGenerator.build(MapperMethodGenerator.java:59)\r\n\tat fr.xebia.extras.selma.codegen.MapperClassGenerator.build(MapperClassGenerator.java:123)\r\n\tat fr.xebia.extras.selma.codegen.MapperProcessor.generateMappingClassses(MapperProcessor.java:88)\r\n\tat fr.xebia.extras.selma.codegen.MapperProcessor.process(MapperProcessor.java:73)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029)\r\n\tat com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163)\r\n\tat com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108)\r\n\tat com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824)\r\n\tat com.sun.tools.javac.main.Main.compile(Main.java:439)\r\n\t... 23 more`\r\n\r\nNotice that if I compile with maven, all looks well. This only happens on IntelliJ compilation. \r\n\r\nIn IntelliJ, my compiler is Javac 1.7 and my annotation processors is enabled (by default).\r\n\r\nHave you any idea of the origin of the problem ?\r\n\r\nThank you"}}