Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE at 'com.sun.tools.javac.jvm.Code.typecode(Code.java:230)' #60

Open
volyx opened this issue May 13, 2018 · 0 comments
Open

NPE at 'com.sun.tools.javac.jvm.Code.typecode(Code.java:230)' #60

volyx opened this issue May 13, 2018 · 0 comments

Comments

@volyx
Copy link

volyx commented May 13, 2018

Note: Injecting OO to javac8
An exception has occurred in the compiler (1.8.0_141). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program and the following diagnostic in your report. Thank you.
java.lang.NullPointerException
	at com.sun.tools.javac.jvm.Code.typecode(Code.java:230)
	at com.sun.tools.javac.jvm.Items$Item.coerce(Items.java:269)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:948)
	at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:965)
	at com.sun.tools.javac.jvm.Gen.visitApply(Gen.java:1837)
	at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1465)
	at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:946)
	at com.sun.tools.javac.jvm.Gen.visitExec(Gen.java:1776)
	at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1296)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:771)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:757)
	at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:808)
	at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1156)
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:771)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:757)
	at com.sun.tools.javac.jvm.Gen.genLoop(Gen.java:1205)
	at com.sun.tools.javac.jvm.Gen.visitForLoop(Gen.java:1176)
	at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:1000)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:771)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:757)
	at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:808)
	at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:1156)
	at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:909)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:771)
	at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:1030)
	at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:993)
	at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
	at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:736)
	at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2449)
	at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:745)
	at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1572)
	at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1536)
	at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
	at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
	at com.sun.tools.javac.main.Main.compile(Main.java:523)
	at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
	at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:50)
	at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:36)
	at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerCallable.call(AbstractDaemonCompiler.java:88)
	at org.gradle.api.internal.tasks.compile.daemon.AbstractDaemonCompiler$CompilerCallable.call(AbstractDaemonCompiler.java:76)
	at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:42)
	at org.gradle.workers.internal.WorkerDaemonServer.execute(WorkerDaemonServer.java:46)
	at org.gradle.workers.internal.WorkerDaemonServer.execute(WorkerDaemonServer.java:30)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.process.internal.worker.request.WorkerAction.run(WorkerAction.java:101)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35)
	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:155)
	at org.gradle.internal.remote.internal.hub.MessageHubBackedObjectConnection$DispatchWrapper.dispatch(MessageHubBackedObjectConnection.java:137)
	at org.gradle.internal.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:404)
	at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
	at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
	at java.lang.Thread.run(Thread.java:748)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant