myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-1460) Unable to build project with newer JDKs in IntelliJ IDEA
Date Fri, 05 Jun 2015 21:29:02 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-1460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575253#comment-14575253
] 

Hudson commented on TOBAGO-1460:
--------------------------------

SUCCESS: Integrated in tobago-trunk #1383 (See [https://builds.apache.org/job/tobago-trunk/1383/])
TOBAGO-1460: generate-sources ran twice, fix for MSOURCES-8 (deki: http://svn.apache.org/viewvc/?view=rev&rev=1683863)
* /myfaces/tobago/trunk/pom.xml


> 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: 3.0.0-alpha-1, 3.0.0, 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)

Mime
View raw message