Valid imports marked as errors, but correct import suggested, erratic scrolling, erratic cursor at top of files

已回答

Hi, I've been working on a scala project on IntelliJ for a while. Recently, it started showing me import errors. The thing is, when I call something I haven't imported yet, Intellij will suggest me the import (it's usually correct), but if I pick it (Alt+Enter), the added import will be considered an error. 

Also, scrolling to the top of the file is sometimes erratic: I scroll, but Intellij keeps scrolling back down of a few lines.

I tried going up with the cursor, but same thing: if i try going down one line, the cursor will be put back on the line above.

This is a recent issue, but this is getting really annoying and painful to work with.

I would send a video if I could.

Has anyone noticed the same thing ? Is there something wrong on my side ? 

I have IntelliJ Ultimate 2018.1, and I work on Ubuntu.

Note: the code still compiles, and works, so I don't understand why I'm seeing these errors. I'm afraid I'm missing some other errors because of this, which could cause other issues I'm facing at runtime.

0

If it is SBT project try fresh re-import (File | New | Project from existing sources... and select build.sbt file). Also try File | Invalidate Caches/Restart.. | Invalidate and Restart.

If issue remains, please attach idea.log after IDE restart and reproducing.

To better understand the issue with scrolling the screencast would really be helpful.

0

I don't know whether this is applicable to Scala projects (I don't use them myself): in Java, if you have modules with inter-dependencies, you might have to tell one of the 'base' modules to export a dependency so that dependent modules can see it as well. Hope that helps.

0

Thank you both. I have tried Andrey's suggestions but to no avail. I would attach videos/logs, but this is work code, and I'm not sure I can post videos/iamges/log of it here. It's getting worse, as now, I can't comment/delete an import statement without intellij re-adding the line I just deleted automatically. This is getting in the way of my work, and I'm paying to use IntelliJ. 

What could be causing this ? Could I have done something (bad file namings, etc) that could cause such a weird behaviour ?

It was getting difficult to work with, now this is just becoming impossible (my code won't compile with the import statement I'm desperately trying to delete).

Thank you

Jessica

0

>I can't comment/delete an import statement without intellij re-adding the line I just deleted automatically.

Check if you have File | Settings | Editor | General | Auto Import | Optimize imports on the fly (for current project) and Add unambiguous imports on the fly enabled and disable if so.

Try 2018.2 from https://www.jetbrains.com/idea/nextversion with latest Scala plugin and re-creating the project by importgin it from SBT: https://www.jetbrains.com/help/idea/sbt-support.html#import_sbt.

If issue remains please file an issue at https://youtrack.jetbrains.com/issues/SCL with a sample code that would help to reproduce the issue.

0

Hi Andrey, Yes, I did have this ticked. I went and disabled it. I removed the line, just to see if I could. I got the correct import bubble suggestion from IntelliJ, and hit Alt+Enter. Now, I tried to compile, but despite IntelliJ suggesting me this import (import com.stratio.receiver.RabbitMQUtils, it's also in my list of external libraries) and not showing me an error, the compilation fails, telling me it can't find this library (sbt assemly command).

Also, this isn't a class I had been working on. It just started giving me an import hard time, and now sbt compile fails.

I should mention, I'm coding locally, pushing the code to a remote maching, and sbt assembing there. This has been working for a really long time, I'm not modifying the code on the remote machine, just pulling and sbt assembling there. Both local/remote machines have the same sbt/scala versions.

I'm just trying to understand why IntelliJ suddenly started erroring everywhere. I've been using IntelliJ for a while, and it just started erroring recently, so I'm guessing I've done something wrong. I just have no idea what to look for, any suggestion is welcome.

Thank you for your time, I appreciate it.

Jessica

0

If the project can be built from command line by SBT - it should help to completely re-import it selecting the main build.sbt file and to overwrite existing project configuration files in import project dialog. Also try disable 3rd plugins if you have installed any (besides Scala plugin).

0

Hello Andrey,

I'll try that.
Here's my log from this morning, after starting IntelliJ, do you see anything suspicious ?

0

2018-07-24 08:35:23,116 [ 135] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-181.4668.68, 24 Apr 2018 12:23)
2018-07-24 08:35:23,116 [ 135] INFO - #com.intellij.idea.Main - OS: Linux (4.15.0-24-generic, amd64)
2018-07-24 08:35:23,116 [ 135] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1136-b29 (JetBrains s.r.o)
2018-07-24 08:35:23,116 [ 135] INFO - #com.intellij.idea.Main - JVM: 25.152-b29 (OpenJDK 64-Bit Server VM)
2018-07-24 08:35:23,120 [ 139] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.renderer=sun.java2d.marlin.MarlinRenderingEngine -XX:ErrorFile=/home/xhattam/java_error_in_IDEA_%p.log -XX:HeapDumpPath=/home/xhattam/java_error_in_IDEA.hprof -Didea.paths.selector=IntelliJIdea2018.1 -Djb.vmOptionsFile=/home/xhattam/Devtools/idea-IU-181.4668.68/bin/idea64.vmoptions -Didea.jre.check=true
2018-07-24 08:35:23,120 [ 139] INFO - #com.intellij.idea.Main - ext: /home/xhattam/Devtools/idea-IU-181.4668.68/jre64/lib/ext: [cldrdata.jar, meta-index, jaccess.jar, sunec.jar, zipfs.jar, jfxrt.jar, sunjce_provider.jar, sunpkcs11.jar, localedata.jar, nashorn.jar, dnsns.jar]
2018-07-24 08:35:23,121 [ 140] INFO - #com.intellij.idea.Main - JNU charset: UTF-8
2018-07-24 08:35:23,139 [ 158] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 18 ms
2018-07-24 08:35:23,403 [ 422] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-07-24 08:35:23,403 [ 422] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (IDE-managed HiDPI)
2018-07-24 08:35:23,897 [ 916] INFO - .intellij.idea.IdeaApplication - CPU cores: 16; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool@32ee608e[Running, parallelism = 15, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory@1fd5d4a
2018-07-24 08:35:23,949 [ 968] INFO - .intellij.idea.IdeaApplication - WM detected: Compiz
2018-07-24 08:35:24,501 [ 1520] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor python-terminal-plugin.xml
2018-07-24 08:35:25,611 [ 2630] INFO - llij.ide.plugins.PluginManager - Plugin 'HTML Tools' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,618 [ 2637] INFO - llij.ide.plugins.PluginManager - Plugin 'QuirksMode' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,619 [ 2638] INFO - llij.ide.plugins.PluginManager - Plugin 'W3C Validators' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,619 [ 2638] INFO - llij.ide.plugins.PluginManager - Plugin 'UI Designer' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,620 [ 2639] INFO - llij.ide.plugins.PluginManager - Plugin 'AngularJS' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,620 [ 2639] INFO - llij.ide.plugins.PluginManager - Plugin 'JavaScript Intention Power Pack' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,620 [ 2639] INFO - llij.ide.plugins.PluginManager - Plugin 'HTTP Client' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,621 [ 2640] INFO - llij.ide.plugins.PluginManager - Plugin 'Flash/Flex Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,621 [ 2640] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: EJB, JPA, Servlets' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,622 [ 2641] INFO - llij.ide.plugins.PluginManager - Plugin 'GlassFish Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,622 [ 2641] INFO - llij.ide.plugins.PluginManager - Plugin 'Heroku integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,622 [ 2641] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,623 [ 2642] INFO - llij.ide.plugins.PluginManager - Plugin 'JSR45 Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,623 [ 2642] INFO - llij.ide.plugins.PluginManager - Plugin 'CoffeeScript' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,623 [ 2642] INFO - llij.ide.plugins.PluginManager - Plugin 'Jetty Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,623 [ 2642] INFO - llij.ide.plugins.PluginManager - Plugin 'OpenShift integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,624 [ 2643] INFO - llij.ide.plugins.PluginManager - Plugin 'Resin Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,624 [ 2643] INFO - llij.ide.plugins.PluginManager - Plugin 'Tomcat and TomEE Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,624 [ 2643] INFO - llij.ide.plugins.PluginManager - Plugin 'CloudBees integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,624 [ 2643] INFO - llij.ide.plugins.PluginManager - Plugin 'Geronimo Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,625 [ 2644] INFO - llij.ide.plugins.PluginManager - Plugin 'WebSphere Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,625 [ 2644] INFO - llij.ide.plugins.PluginManager - Plugin 'WebLogic Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,625 [ 2644] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: Bean Validation Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,626 [ 2645] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: Contexts and Dependency Injection' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,626 [ 2645] INFO - llij.ide.plugins.PluginManager - Plugin 'Hibernate Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,626 [ 2645] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: Batch Applications' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,626 [ 2645] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: JMS, JSON Processing, Concurrency, Transaction ' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,627 [ 2646] INFO - llij.ide.plugins.PluginManager - Plugin 'Application Servers View' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,627 [ 2646] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: WebSockets' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,627 [ 2646] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Frameworks Base Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,627 [ 2646] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Drools Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,628 [ 2647] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Arquillian Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,628 [ 2647] INFO - llij.ide.plugins.PluginManager - Plugin 'Java Server Pages (JSP) Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,628 [ 2647] INFO - llij.ide.plugins.PluginManager - Plugin 'Struts 1.x' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,628 [ 2647] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss jBPM' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,629 [ 2648] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: Java Server Faces' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,629 [ 2648] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Seam Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,629 [ 2648] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Seam Pageflow Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,629 [ 2648] INFO - llij.ide.plugins.PluginManager - Plugin 'JBoss Seam Pages Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,630 [ 2649] INFO - llij.ide.plugins.PluginManager - Plugin 'Cloud Foundry integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,630 [ 2649] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: Web Services (JAX-WS)' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,630 [ 2649] INFO - llij.ide.plugins.PluginManager - Plugin 'dmServer Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,631 [ 2650] INFO - llij.ide.plugins.PluginManager - Plugin 'GWT Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,631 [ 2650] INFO - llij.ide.plugins.PluginManager - Plugin 'Google App Engine Integration' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,631 [ 2650] INFO - llij.ide.plugins.PluginManager - Plugin 'Vaadin Support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,631 [ 2650] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring Batch' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,632 [ 2651] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring OSGi' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,632 [ 2651] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring Data' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,632 [ 2651] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring MVC' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,633 [ 2652] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring Security' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,633 [ 2652] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring Integration Patterns' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,633 [ 2652] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring Web Flow' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,633 [ 2652] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring WebSocket' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,634 [ 2653] INFO - llij.ide.plugins.PluginManager - Plugin 'Spring Web Services' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,634 [ 2653] INFO - llij.ide.plugins.PluginManager - Plugin 'Struts 2' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,634 [ 2653] INFO - llij.ide.plugins.PluginManager - Plugin 'Tapestry support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,634 [ 2653] INFO - llij.ide.plugins.PluginManager - Plugin 'Thymeleaf' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,635 [ 2654] INFO - llij.ide.plugins.PluginManager - Plugin 'Java EE: RESTful Web Services (JAX-RS)' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,635 [ 2654] INFO - llij.ide.plugins.PluginManager - Plugin 'Grails' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,635 [ 2654] INFO - llij.ide.plugins.PluginManager - Plugin 'Haml' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,636 [ 2655] INFO - llij.ide.plugins.PluginManager - Plugin 'Less support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,636 [ 2655] INFO - llij.ide.plugins.PluginManager - Plugin 'Sass support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,636 [ 2655] INFO - llij.ide.plugins.PluginManager - Plugin 'Stylus support' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,637 [ 2656] INFO - llij.ide.plugins.PluginManager - Plugin 'Spy-js' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,637 [ 2656] INFO - llij.ide.plugins.PluginManager - Plugin 'tslint' can't be loaded because: Plugin is disabled
2018-07-24 08:35:25,780 [ 2799] INFO - llij.ide.plugins.PluginManager - 135 plugins initialized in 1609 ms
2018-07-24 08:35:25,782 [ 2801] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.3.0), Ant Support (1.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (181.4668.68), CVS Integration (11), Copyright (8.1), Coverage (181.4668.68), Cucumber for Groovy (181.4668.68), Cucumber for Java (181.4668.68), DSM Analysis (1.0.0), Database Tools and SQL (181.4668.68), Eclipse Integration (3.0), EditorConfig (181.4668.68), Emma (181.4668.68), FreeMarker support (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (181.4668.68), Gradle (181.4668.68), Groovy (9.0), Guice (8.0), I18n for Java (181.4668.68), IDE Settings Sync (181.4668.68), IDEA CORE (181.4668.68), IntelliLang (8.0), J2ME (1.0), JUnit (1.0), Java Bytecode Decompiler (181.4668.68), Java Stream Debugger (181.4668.68), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Support (1.0), Kotlin (1.2.31-release-IJ2018.1-1), Markdown support (181.4668.68), Maven Integration (181.4668.68), Maven Integration Extension (181.4668.68), Mercurial Integration (10.0), Osmorc (1.4.11), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (181.4668.68), Reactor framework support (1.0), Refactor-X (2.01), Remote Hosts Access (0.1), SSH Remote Run (0.1), Settings Repository (181.4668.68), Smali Support (1.0), Spring AOP/@AspectJ (1.0), Spring Boot (1.0), Spring Support (1.0), Subversion Integration (1.1), TFS Integration (999.999), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Time Tracking (1.0), UML Support (1.0), Velocity support (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (181.4668.68), ZKM-Unscramble (1.0)
2018-07-24 08:35:25,782 [ 2801] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Code Iris (2.1.2-beta), Python (2018.1.181.4668.68), Scala (2018.1.9)
2018-07-24 08:35:25,782 [ 2801] INFO - llij.ide.plugins.PluginManager - Disabled plugins: AngularJS (181.4668.68), Application Servers View (0.2.0), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (181.4668.68), Flash/Flex Support (181.4668.68), GWT Support (1.0), Geronimo Integration (1.0), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Grails (9.0), HTML Tools (2.0), HTTP Client (181.4668.68), Haml (181.4668.68), Heroku integration (181.4668.68), Hibernate Support (1.0), JBoss Arquillian Support (1.0), JBoss Drools Support (1.0), JBoss Frameworks Base Support (1.0), JBoss Integration (1.0), JBoss Seam Pageflow Support (1.0), JBoss Seam Pages Support (1.0), JBoss Seam Support (1.0), JBoss jBPM (2.0.0), JSR45 Integration (1.0), Java EE: Batch Applications (1.0), Java EE: Bean Validation Support (1.1), Java EE: Contexts and Dependency Injection (1.1), Java EE: EJB, JPA, Servlets (1.0), Java EE: JMS, JSON Processing, Concurrency, Transaction (1.0), Java EE: Java Server Faces (2.2.X.), Java EE: RESTful Web Services (JAX-RS) (1.0), Java EE: Web Services (JAX-WS) (1.9), Java EE: WebSockets (1.0), Java Server Pages (JSP) Integration (1.0), JavaScript Intention Power Pack (0.9.4), Jetty Integration (1.0), Less support (181.4668.68), OpenShift integration (1.0), QuirksMode (181.4668.68), Resin Integration (8.1), Sass support (181.4668.68), Spring Batch (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (181.4668.68), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Tapestry support (1.0), Thymeleaf (1.0), Tomcat and TomEE Integration (1.0), UI Designer (181.4668.68), Vaadin Support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), dmServer Support (0.9.5), tslint (181.4668.68)
2018-07-24 08:35:30,263 [ 7282] INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED ===
2018-07-24 08:35:30,347 [ 7366] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2018-07-24 08:35:30,491 [ 7510] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:30,501 [ 7520] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2018-07-24 08:35:30,705 [ 7724] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2018-07-24 08:35:30,705 [ 7724] INFO - pi.util.registry.RegistryState - SBT.system.in.process = true
2018-07-24 08:35:31,570 [ 8589] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=15, fontScale=0.0; restored: fontSize=15, fontScale=1.0
2018-07-24 08:35:31,696 [ 8715] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: Git4Idea]
2018-07-24 08:35:31,727 [ 8746] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: hg4idea]
2018-07-24 08:35:31,985 [ 9004] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.OptionsTopHitProvider$Activity@5e9a4765
2018-07-24 08:35:32,024 [ 9043] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2018-07-24 08:35:32,045 [ 9064] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2018-07-24 08:35:32,096 [ 9115] INFO - gs.impl.UpdateCheckerComponent - channel: release
2018-07-24 08:35:32,487 [ 9506] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:313, number of extensions:61
2018-07-24 08:35:32,494 [ 9513] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:7
2018-07-24 08:35:32,567 [ 9586] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:64, number of extensions:121
2018-07-24 08:35:32,568 [ 9587] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2018-07-24 08:35:32,861 [ 9880] INFO - pi.util.registry.RegistryValue - Registry value 'SBT.system.in.process' has changed to 'true"
2018-07-24 08:35:32,925 [ 9944] INFO - ndex.PrebuiltIndexProviderBase - Prebuilt id-index indices are missing for Python
2018-07-24 08:35:33,331 [ 10350] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.unittestLegacy.PythonUnitTestConfigurationProducer@76f1135a
2018-07-24 08:35:33,333 [ 10352] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.pytestLegacy.PyTestConfigurationProducer@57b50ae
2018-07-24 08:35:33,334 [ 10353] INFO - PyTestLegacyInterop - Disabling com.jetbrains.python.testing.nosetestLegacy.PythonNoseTestConfigurationProducer@19eff0e7
2018-07-24 08:35:33,383 [ 10402] INFO - plication.impl.ApplicationImpl - 108 application components initialized in 9217ms
2018-07-24 08:35:33,401 [ 10420] INFO - .intellij.idea.IdeaApplication - App initialization took 11401 ms
2018-07-24 08:35:34,279 [ 11298] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2018-07-24 08:35:34,282 [ 11301] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=15, fontScale=1.25; restored: fontSize=15, fontScale=1.0
2018-07-24 08:35:34,558 [ 11577] INFO - pl$FileIndexDataInitialization - Initialization done:2064
2018-07-24 08:35:34,961 [ 11980] INFO - exImpl$StubIndexInitialization - Initialization done:402
2018-07-24 08:35:35,279 [ 12298] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@6b847827
2018-07-24 08:35:35,336 [ 12355] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - []
2018-07-24 08:35:35,337 [ 12356] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/home/xhattam/Exonar/machine_learning]
2018-07-24 08:35:36,959 [ 13978] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@2cde8363
2018-07-24 08:35:37,289 [ 14308] INFO - ellij.project.impl.ProjectImpl - 212 project components initialized in 3208 ms
2018-07-24 08:35:37,555 [ 14574] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader@7dfbe30f
2018-07-24 08:35:37,573 [ 14592] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.actions.GotoClassPresentationUpdater@65351c09
2018-07-24 08:35:38,902 [ 15921] INFO - le.impl.ModuleManagerComponent - 8 module(s) loaded in 1611 ms
2018-07-24 08:35:39,876 [ 16895] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2018-07-24 08:35:39,977 [ 16996] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2018-07-24 08:35:40,964 [ 17983] INFO - CompilerBackwardReferenceIndex - backward reference index version differ due to: class java.io.FileNotFoundException
2018-07-24 08:35:41,643 [ 18662] INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 0 roots in 0 SDKs took 2ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-24 08:35:41,665 [ 18684] INFO - ellij.project.impl.ProjectImpl - 22 project components initialized in 21 ms
2018-07-24 08:35:41,881 [ 18900] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 141ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-24 08:35:45,151 [ 22170] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 3557ms under project opening modal progress
2018-07-24 08:35:45,434 [ 22453] WARN - openapi.wm.impl.ToolWindowImpl - ToolWindow icons should be 13x13. Please fix ToolWindow (ID: Code Iris) or icon jar:file:/home/xhattam/.IntelliJIdea2018.1/config/plugins/CodeIris-Idea/lib/CodeIris-Idea.jar!/logo-tiny.png
2018-07-24 08:35:45,674 [ 22693] INFO - ge.ExternalProjectsDataStorage - Loaded external projects data in 443 millis
2018-07-24 08:35:45,684 [ 22703] INFO - tartup.impl.StartupManagerImpl - ExternalSystemStartupActivity run in 510ms under project opening modal progress
2018-07-24 08:35:45,784 [ 22803] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 4274ms; general responsiveness: ok; EDT responsiveness: 2/4 sluggish
2018-07-24 08:35:46,027 [ 23046] INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus ===
2018-07-24 08:35:46,033 [ 23052] INFO - cloudConfig.CloudConfigManager - === StatusBar.update create ===
2018-07-24 08:35:46,033 [ 23052] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus ===
2018-07-24 08:35:46,119 [ 23138] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:46,120 [ 23139] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:46,154 [ 23173] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:46,154 [ 23173] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:46,793 [ 23812] INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2018-07-24 08:35:46,811 [ 23830] INFO - j.ide.ui.OptionsTopHitProvider - 527 ms spent to cache options in application
2018-07-24 08:35:47,030 [ 24049] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:47,030 [ 24049] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:47,080 [ 24099] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:47,081 [ 24100] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:47,168 [ 24187] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED ===
2018-07-24 08:35:47,197 [ 24216] INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles []
2018-07-24 08:35:47,346 [ 24365] INFO - tartup.impl.StartupManagerImpl - /home/xhattam/Exonar/machine_learning/ExonarClassification/.idea case-sensitivity: expected=true actual=true
2018-07-24 08:35:47,558 [ 24577] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [/home/xhattam/Exonar/machine_learning]
2018-07-24 08:35:47,976 [ 24995] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:47,976 [ 24995] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:47,981 [ 25000] INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus ===
2018-07-24 08:35:47,993 [ 25012] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:47,993 [ 25012] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:48,150 [ 25169] INFO - tor.impl.FileEditorManagerImpl - Project opening took 14153 ms
2018-07-24 08:35:48,951 [ 25970] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:48,951 [ 25970] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:49,042 [ 26061] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:49,042 [ 26061] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:49,427 [ 26446] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 7544ms; general responsiveness: ok; EDT responsiveness: 3/8 sluggish
2018-07-24 08:35:49,430 [ 26449] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 1 files to update
2018-07-24 08:35:49,839 [ 26858] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 409ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-24 08:35:49,951 [ 26970] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:49,951 [ 26970] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:49,997 [ 27016] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:49,997 [ 27016] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:50,016 [ 27035] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to do them in background under modal progress, or just making them faster to speed up project opening.
2018-07-24 08:35:50,016 [ 27035] INFO - tartup.impl.StartupManagerImpl - ProjectInspectionProfileStartUpActivity run in 155ms on UI thread
2018-07-24 08:35:50,117 [ 27136] INFO - pl.ProjectRootManagerComponent - project roots have changed
2018-07-24 08:35:50,402 [ 27421] INFO - CompilerWorkspaceConfiguration - Available processors: 16
2018-07-24 08:35:50,801 [ 27820] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:50,801 [ 27820] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:50,828 [ 27847] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:50,829 [ 27848] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:51,019 [ 28038] INFO - j.ide.ui.OptionsTopHitProvider - 293 ms spent to cache options in project
2018-07-24 08:35:51,065 [ 28084] INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 0 roots in 0 SDKs took 0ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-24 08:35:51,207 [ 28226] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 20ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-24 08:35:51,469 [ 28488] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 261ms; general responsiveness: ok; EDT responsiveness: ok
2018-07-24 08:35:51,541 [ 28560] INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent@5f765514 ===
2018-07-24 08:35:51,769 [ 28788] INFO - tartup.impl.StartupManagerImpl - MaintenanceActivity run in 137ms on UI thread
2018-07-24 08:35:51,910 [ 28929] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:51,911 [ 28930] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:51,958 [ 28977] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:51,958 [ 28977] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:52,899 [ 29918] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:52,900 [ 29919] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:52,937 [ 29956] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:52,938 [ 29957] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:53,897 [ 30916] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:53,898 [ 30917] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:53,951 [ 30970] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:53,951 [ 30970] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:54,236 [ 31255] INFO - ScriptTemplatesProviders - [kts] loading script definitions [] using cp:
2018-07-24 08:35:54,341 [ 31360] INFO - ScriptTemplatesProviders - [kts] loading script definitions [] using cp:
2018-07-24 08:35:54,865 [ 31884] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:54,865 [ 31884] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:54,950 [ 31969] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:54,950 [ 31969] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: /home/xhattam/Devtools/idea-IU-181.4668.68/bin/fsnotifier64
2018-07-24 08:35:56,000 [ 33019] WARN - pl.local.NativeFileWatcherImpl - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:56,001 [ 33020] WARN - api.vfs.impl.local.FileWatcher - The current inotify(7) watch limit is too low. More details.
2018-07-24 08:35:56,045 [ 33064] WARN - pl.local.NativeFileWatcherImpl - Watcher terminated with exit code 3
2018-07-24 08:35:56,045 [ 33064] WARN - api.vfs.impl.local.FileWatcher - File watcher failed to start

0

I'm putting a small portion of the logs here, where I saw a couple of errors, in a file where, despite being at the right level and not having issues before, I now have import errors (cannot resolve symbol). I tried rebuilding the package, unsuccessfully. I'm seeing this (some errors, indexing issues and python is mentionned): Note: the code compiles.

 

2018-07-24 08:57:52,569 [1349588] INFO - ij.compiler.impl.CompileDriver - COMPILATION STARTED (BUILD PROCESS) 2018-07-24 08:57:53,311 [1350330] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /home/xhattam/Devtools/idea-IU-181.4668.68/lib/jps-launcher.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/lib/tools.jar:/home/xhattam/Devtools/idea-IU-181.4668.68/lib/optimizedFileManager.jar 2018-07-24 08:57:53,341 [1350360] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2018-07-24 08:57:53,342 [1350361] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 2018-07-24 08:57:53,342 [1350361] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2018-07-24 08:58:02,679 [1359698] INFO - lij.compiler.impl.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 0; warnings: 0 took 10117 ms: 0 min 10sec 2018-07-24 08:58:02,685 [1359704] INFO - CompilerBackwardReferenceIndex - backward reference index version differ due to: class java.io.FileNotFoundException 2018-07-24 08:58:02,685 [1359704] INFO - s.CompilerReferenceServiceImpl - backward reference index reader doesn't exist 2018-07-24 08:58:02,922 [1359941] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /home/xhattam/Devtools/idea-IU-181.4668.68/lib/jps-launcher.jar:/usr/lib/jvm/java-1.8.0-openjdk-amd64/lib/tools.jar:/home/xhattam/Devtools/idea-IU-181.4668.68/lib/optimizedFileManager.jar 2018-07-24 08:58:02,949 [1359968] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2018-07-24 08:58:02,949 [1359968] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation 2018-07-24 08:58:02,949 [1359968] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2018-07-24 08:58:42,270 [1399289] INFO - pl.ProjectRootManagerComponent - project roots have changed 2018-07-24 08:58:42,312 [1399331] INFO - .diagnostic.PerformanceWatcher - Pushing Python language level to 0 roots in 0 SDKs took 0ms; general responsiveness: ok; EDT responsiveness: ok

0

Just wanted to mention that I have the same problem.

0

请先登录再写评论。