[ https://issues.apache.org/jira/browse/TOBAGO-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539862#comment-14539862 ]
Dennis Kieselhorst commented on TOBAGO-1460: -------------------------------------------- JDK 1.6 support is still needed for Tobago 2, but maven-processor-plugin should only be used if JDK < 1.7 is used. Can be handled with different profiles... > Unable to build project with newer JDKs in IntelliJ IDEA > -------------------------------------------------------- > > Key: TOBAGO-1460 > URL: https://issues.apache.org/jira/browse/TOBAGO-1460 > Project: MyFaces Tobago > Issue Type: Bug > Affects Versions: 2.0.7 > Environment: JDK 1.7.0_80 > Reporter: Dennis Kieselhorst > Assignee: Dennis Kieselhorst > Fix For: 2.0.8 > > Attachments: npe-compilation.png > > > Compilation IntelliJ IDEA IU-141.814.3 results in NPE: > !npe-compilation.png! > It's hard to find, only visible in build-logs not in the GUI > {noformat} > 2015-04-28 11:08:10,769 [ 5601] INFO - s.incremental.java.JavaBuilder - > java.lang.NullPointerException > java.lang.RuntimeException: java.lang.NullPointerException > at com.sun.tools.javac.main.Main.compile(Main.java:469) > at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:132) > at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:168) > at > org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:382) > at > org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:296) > at > org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:204) > at > org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:176) > at > org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1170) > at > org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:851) > at > org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:919) > at > org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:814) > at > org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:637) > at > org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:370) > at > org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:191) > at > org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:137) > at > org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:293) > at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:124) > at > org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$1.run(BuildMain.java:242) > at > org.jetbrains.jps.service.impl.SharedThreadPoolImpl$1.run(SharedThreadPoolImpl.java:41) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at java.io.Reader.<init>(Reader.java:78) > at java.io.InputStreamReader.<init>(InputStreamReader.java:72) > at > org.apache.myfaces.tobago.apt.processor.ClassesGenerator.configure(ClassesGenerator.java:113) > at > org.apache.myfaces.tobago.apt.processor.AbstractGenerator.process(AbstractGenerator.java:86) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029) > at > com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163) > at > com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1108) > at > com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:824) > at com.sun.tools.javac.main.Main.compile(Main.java:439) > ... 23 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)