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

Compilation for modules with files included from standard library is broken #660

Closed
deadok22 opened this issue Aug 7, 2015 · 0 comments
Closed
Assignees

Comments

@deadok22
Copy link
Collaborator

deadok22 commented Aug 7, 2015

Exception:

[  26981]  ERROR - ij.compiler.impl.CompileDriver - Unexpected node /usr/lib/erlang/lib/eunit-2.2.8/include/eunit.hrl; nodes=[/home/user/projects/erlang_localtime/include/tz_database.hrl, /home/user/projects/erlang_localtime/src/localtime_dst.erl, /home/user/projects/erlang_localtime/include/tz_index.hrl, /home/user/projects/erlang_localtime/src/localtime.erl, /home/user/projects/erlang_localtime/src/ibuild.erl] 
java.lang.AssertionError: Unexpected node /usr/lib/erlang/lib/eunit-2.2.8/include/eunit.hrl; nodes=[/home/user/projects/erlang_localtime/include/tz_database.hrl, /home/user/projects/erlang_localtime/src/localtime_dst.erl, /home/user/projects/erlang_localtime/include/tz_index.hrl, /home/user/projects/erlang_localtime/src/localtime.erl, /home/user/projects/erlang_localtime/src/ibuild.erl]
    at com.intellij.util.graph.GraphGenerator.buildOuts(GraphGenerator.java:55)
    at com.intellij.util.graph.GraphGenerator.<init>(GraphGenerator.java:36)
    at com.intellij.util.graph.GraphGenerator.create(GraphGenerator.java:40)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask.getTopologicallySortedErlangFilesPaths(ErlangPrepareDependenciesCompileTask.java:146)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask.getModuleBuildOrderInner(ErlangPrepareDependenciesCompileTask.java:131)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask.getModuleBuildOrders(ErlangPrepareDependenciesCompileTask.java:118)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask.access$000(ErlangPrepareDependenciesCompileTask.java:59)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask$1.compute(ErlangPrepareDependenciesCompileTask.java:78)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask$1.compute(ErlangPrepareDependenciesCompileTask.java:74)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:888)
    at org.intellij.erlang.compilation.ErlangPrepareDependenciesCompileTask.execute(ErlangPrepareDependenciesCompileTask.java:74)
    at com.intellij.compiler.impl.CompileDriver.executeCompileTasks(CompileDriver.java:627)
    at com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:88)
    at com.intellij.compiler.impl.CompileDriver$3.run(CompileDriver.java:395)
    at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:203)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
    at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
[  26984]  ERROR - ij.compiler.impl.CompileDriver - IntelliJ IDEA (Community Edition) IC-141.1531.2  Build #IC-141.1531.2 
[  26984]  ERROR - ij.compiler.impl.CompileDriver - JDK: 1.8.0_45 
[  26984]  ERROR - ij.compiler.impl.CompileDriver - VM: Java HotSpot(TM) 64-Bit Server VM 
[  26985]  ERROR - ij.compiler.impl.CompileDriver - Vendor: Oracle Corporation 
[  26985]  ERROR - ij.compiler.impl.CompileDriver - OS: Linux 
[  26985]  ERROR - ij.compiler.impl.CompileDriver - Last Action: CompileDirty 
[ 253561]   WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0 

@avesloguzova, please, fix it.

@deadok22 deadok22 self-assigned this Aug 7, 2015
avesloguzova added a commit to avesloguzova/intellij-erlang that referenced this issue Aug 7, 2015
avesloguzova added a commit to avesloguzova/intellij-erlang that referenced this issue Aug 7, 2015
avesloguzova added a commit to avesloguzova/intellij-erlang that referenced this issue Aug 7, 2015
avesloguzova added a commit to avesloguzova/intellij-erlang that referenced this issue Aug 7, 2015
@deadok22 deadok22 closed this as completed Aug 7, 2015
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