IntelliJ runs Gradle tasks before commit. How to stop that? - intellij-idea

I have added a small example task to the gradle.build in one of the folders of the project:
task fail {
println "ready to fail..."
throw(new Exception("This should not be reached!"))
}
When I am trying to commit this very gradle.build file, it fails with the message:
9:53 Commit failed with error
0 files committed, 1 file failed to commit: A useful commit transaction abort!
rollback completed
abort: The system cannot find the file specified
When I am looking into the log, I see there:
Caused by: java.lang.Exception: This should not be reached!
...
2017-07-19 10:22:55,233 [ 247646] INFO - .BaseProjectImportErrorHandler - Failed to import Gradle project at 'C:/Users/543829657/workspace/dev.appl.ib.cbl' org.gradle.tooling.BuildException: Could not run build action using Gradledistribution 'https://services.gradle.org/distributions/gradle-3.2.1-bin.zip'.
Caused by: org.gradle.internal.exceptions.LocationAwareException: Build file 'C:\Users\543829657\workspace\dev.appl.ib.cbl\application\build.gradle' line: 276
...
Caused by: java.lang.Exception: This should not be reached!
...
And, surprisingly, at the end of the log appears that strange message about the lost file:
2017-07-19 10:23:05,307 [ 257720] INFO - ea.execution.HgCommandExecutor - hg.exe commit
--logfile C:\Users\543829657\.IntelliJIdea2017.1\system\.hg4idea-commit.tmp application\build.gradle
2017-07-19 10:23:07,655 [ 260068] INFO - ea.execution.HgCommandExecutor - transaction abort!
rollback completed
abort: The system cannot find the file specified
2017-07-19 10:24:38,784 [ 351197] INFO - ea.execution.HgCommandExecutor - hg.exe incoming
2017-07-19 10:24:49,856 [ 362269] INFO - ea.execution.HgCommandExecutor - hg.exe outgoing
2017-07-19 10:27:32,259 [ 524672] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Java/jdk1.8.0_72
2017-07-19 10:27:32,299 [ 524712] INFO - s.plugins.gradle.GradleManager - Instructing gradle to use java from C:/Program Files/Java/jdk1.8.0_72
2017-07-19 10:27:32,319 [ 524732] INFO - xecution.GradleExecutionHelper - Passing command-line args to Gradle Tooling API: -Didea.version=2017.1.5
-Didea.resolveSourceSetDependencies=true
-Pandroid.injected.build.model.only=true
-Pandroid.injected.build.model.only.advanced=true
-Pandroid.injected.invoked.from.ide=true
-Pandroid.injected.studio.version=2017.1.5.0.0 --init-script C:\Users\543829657\AppData\Local\Temp\ijinit.gradle
2017-07-19 10:27:33,554 [ 525967] INFO - ntellij.analysis.SonarLintTask - Running SonarLint Analysis for 'build.gradle'
2017-07-19 10:27:33,751 [ 526164] INFO - ntellij.analysis.SonarLintTask - SonarLint analysis done
2017-07-19 10:27:56,522 [ 548935] INFO - pl.ProjectRootManagerComponent - project roots have changed
2017-07-19 10:27:56,835 [ 549248] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 51ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-19 10:27:56,947 [ 549360] INFO - pl.ProjectRootManagerComponent - project roots have changed
2017-07-19 10:27:56,957 [ 549370] INFO - indexing.UnindexedFilesUpdater - Unindexed files update canceled
2017-07-19 10:27:57,084 [ 549497] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 33ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-19 10:27:57,328 [ 549741] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 244ms; general responsiveness: ok; EDT responsiveness: ok
2017-07-19 10:29:38,745 [ 651158] INFO - ea.execution.HgCommandExecutor - hg.exe incoming
2017-07-19 10:29:56,117 [ 668530] INFO - ea.execution.HgCommandExecutor - hg.exe outgoing
2017-07-19 10:34:38,752 [ 951165] INFO - ea.execution.HgCommandExecutor - hg.exe incoming
2017-07-19 10:34:54,816 [ 967229] INFO - ea.execution.HgCommandExecutor - hg.exe outgoing
I don't want IntelliJ to run the gradle tasks before the every commit. Also, I do not understand why "file not found" is declared as a reason for fail, instead of the real one.
Of course, really I have problems with a real task, but it is commented out for now, to hava a problem it its relatively pure state. It is a publishing task, and obviously, I don't need it running at IDE's will. Even worse, it is launched not from the correct directory and creates invalid folders because of that problem.
P.S. And of course, I have tried restart and caches invalidation.

The tasks do not get executed, only configured. Gradle distinguishes between the configuration phase, where the build script gets executed (yeah, a little bit confusing) to configure all tasks, and the execution phase, where selected tasks (from the command line and their dependencies) are executed. Any code provided in the closure after a task definition is meant to configure the task, but it is not executed during execution phase. Only task actions (defined by the task type), doFirst and doLast closures are executed during execution phase. A build.gradle file containing the task definition from your snippet will always fail, because you throw an exception in any configuration phase.
Modern IDEs integrate tools like Gradle (or Maven) to build the projects, but also for other tasks. So I assume, that a successful Gradle configuration is a requirement for a stable IntelliJ project. Since IntelliJ uses (helper) tasks to determine the tasks provided for a project, it cannot retrieve them, if the configuration phase fails. Therefor it interprets the project as corrupt. I don't know how Git is integrated in IntelliJ, but I could imagine that this integration requires a stable project. I guess you could compare the failing configuration phase of a Gradle project with an unparsable Maven pom.xml file.
I don't know how your real publishing task is defined, but I could imagine that you did the same mistake by putting execution code into the configuration closure, causing the task to be "executed" on each Gradle invocation, even on commit via IntelliJ.
task myTask() {
// Executed when the task is defined, everytime you run gradle
println 'Configuration phase'
doLast {
// Executed on task execution, only if the task is specified (CMD or task dependency)
println 'Execution phase'
}
}
Please note, that Gradle has a deprecated feature, which may have caused this phase confusion. You can (but you should not) define a task with the << operator, which automatically creates a doLast closure:
task myDeprecatedTask << {
println 'Execution phase'
}

Related

IntelliJ Kotlin build does nothing

I have seen the following issue repeatedly while building multiple Kotlin projects using IntelliJ IDEA Ultimate Build #IU-222.3739.54 (August 2022) and Kotlin plugin 222-1.7.10-release-334-IJ3739.54:
After making a change to existing sources and attempting to run a functional test I get an error such as:
Kotlin: Cannot find a parameter with this name: plan_type
The change I just made was adding the said enumeration to an existing enum class. Checking the logs I see mention of the alleged compilation error that gets displayed in the IDE:
2022-09-06 18:03:51,521 [1573161] INFO - #c.i.c.ComponentStoreImpl - Saving appEditorSettings took 15 ms, FileTypeManager took 14 ms
2022-09-06 18:04:14,831 [1596471] INFO - #c.i.c.i.CompileDriver - COMPILATION STARTED (BUILD PROCESS)
2022-09-06 18:04:15,975 [1597615] INFO - #c.i.c.s.BuildManager - Using preloaded build process to compile /Users/lexluthor/Workspaces/billing-service
2022-09-06 18:04:15,994 [1597634] INFO - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - KCRI storage is closed
2022-09-06 18:04:16,013 [1597653] INFO - #c.i.c.b.CompilerReferenceServiceBase - backward reference index reader is closed
2022-09-06 18:05:33,532 [1675172] INFO - #o.j.k.i.s.r.KotlinCompilerReferenceIndexStorage - KCRI storage is opened: took 50 ms for 1 storages (filling map: 47 ms, flush to storage: 3 ms)
2022-09-06 18:05:33,551 [1675191] INFO - #c.i.c.b.CompilerReferenceServiceBase - backward reference index reader is opened
2022-09-06 18:05:33,886 [1675526] INFO - #c.i.c.i.CompilerUtil - COMPILATION FINISHED (BUILD PROCESS); Errors: 1; warnings: 0 took 79046 ms: 1 min 19sec
2022-09-06 18:05:34,264 [1675904] INFO - #c.i.c.s.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: /Users/lexluthor/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/222.3739.54/IntelliJ IDEA.app/Contents/plugins/java/lib/jps-launcher.jar
2022-09-06 18:05:46,991 [1688631] INFO - #c.i.c.ComponentStoreImpl - Saving Project(name=billing-service, containerState=COMPONENT_CREATED, componentStore=/Users/lexluthor/Workspaces/billing-service)RunManager took 18 ms
COMPILATION FINISHED (BUILD PROCESS); Errors: 1
There doesn't appear to be any mention of the said error anywhere else in the log output. Here's some additional observations I have made:
The issue only occurs when building a Kotlin project using Gradle and the language version is 1.7.0 or 1.7.10. The issue does not occur if I set the language version to either 1.6.21 or 1.7.20-Beta.
The issue only occurs when using the IntelliJ IDEA builder under Gradle Settings: Preferences | Build, Execution, Deployment | Build Tools | Gradle | Gradle Projects | Build and run | Build and run using. Switching to the Gradle builder in the aforementioned settings allows me to build the project without any errors. Subsequently switching back to the IntelliJ IDEA builder after a successful Gradle build appears to fix the issue in the IDE.
The issue cannot be easily reproduced on a trivial project. I have not been able to reproduce the issue using a demo project generated using Spring Initilzr but I experience this issue frequently while making trivial changes to existing, medium-size, Kotlin projects and the previous two conditions are met.
I have searched the issue in JetBrains YouTrack without success..
I received an answer to this question from JetBrains technical support that I thought of sharing here for the benefit of anyone else who has come across this issue:
From my checking, your issue looks the same as the https://youtrack.jetbrains.com/issue/KT-53168/
There is a bug in the incremental compilation which is fixed in the 1.7.20-Beta.
You could use the 1.7.20-Beta for it currently or use other workarounds (like Gradle builder)

Why doesn't IntelliJ compile Lombok annotations?

I am trying to get set up with Lombok in an IntelliJ project. I'm using IntelliJ IDEA 2022 Community Edition. I didn't select any specific build system (Maven, Gradle, etc.) for my project, but I configured source, test, and output directories for IntelliJ.
IntelliJ does recognize Lombok within the editor, and will not show any errors if I use setters and getters generated by Lombok. It is only when compiling that I see any errors.
IntelliJ is able to compile normal java code fine when I run build, but it doesn't process Lombok annotations. Strangely, it generates generated and generated_tests directories in the output folder, which I assume are supposed to hold Java code after all annotation processing. But, those files are empty. Instead, the compiled class files (without any Lombok getters and setters) are created in their usual output folders.
In the build output, I see the warning
java: JPS incremental annotation processing is disabled. Compilation results on partial recompilation may be inaccurate. Use build process "jps.track.ap.dependencies" VM flag to enable/disable incremental annotation processing environment.
If I use the setters and getters generated by Lombok in my source code, my build instead fails with errors such as
java: cannot find symbol
symbol: method getName()
location: class mypackage.MyClass
I have followed advice from similar questions, including
I ensured that the (builtin) Lombok plugin is enabled and installed.
I checked Enable annotation processing and Obtain processors from project classpath in Settings > Build, Execution, Deployment > Compiler > Annotation Processors.
I added the -Djps.track.ap.dependencies=false flag to the "User-local build process VM Options" setting in Settings > Build, Execution, Deployment > Compiler.
I ensured that my version of Lombok is the newest one (version 1.18.24). I downloaded the jar file directly from the Project Lombok website, and included it as an external library.
After taking all of these steps, I invalidated my cache and restarted the IDE.
Other info:
I am using OpenJDK 18.
Edit 1
The following is written to log/build.log when I rebuild the project (without relying on setters and getters)
2022-06-14 22:50:45,429 [ 32] INFO - #o.j.j.c.BuildMain - Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1.2/plugins/java/lib/jps-launcher.jar
2022-06-14 22:50:45,687 [ 290] INFO - #o.j.j.c.BuildMain - Connection to IDE established in 234 ms
2022-06-14 22:50:45,857 [ 460] INFO - #o.j.j.c.JpsModelLoaderImpl - Loading model: project path = C:/Users/laxon/Desktop/Coding/Languages/Java/LombokTest, global options path = C:/Users/laxon/AppData/Roaming/JetBrains/IdeaIC2022.1/options
2022-06-14 22:50:46,037 [ 640] INFO - #o.j.j.c.JpsModelLoaderImpl - Model loaded in 179 ms
2022-06-14 22:50:46,037 [ 640] INFO - #o.j.j.c.JpsModelLoaderImpl - Project has 1 modules, 3 libraries
2022-06-14 22:50:46,111 [ 714] INFO - #c.i.u.i.FilePageCache - lower=100; upper=500; buffer=10; max=980
2022-06-14 22:50:46,557 [ 5] INFO - #o.j.j.c.BuildMain - ==================================================
2022-06-14 22:50:46,584 [ 32] INFO - #o.j.j.c.BuildMain - Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1.2/plugins/java/lib/jps-launcher.jar
2022-06-14 22:50:46,852 [ 300] INFO - #o.j.j.c.BuildMain - Connection to IDE established in 251 ms
2022-06-14 22:50:47,047 [ 495] INFO - #o.j.j.c.JpsModelLoaderImpl - Loading model: project path = C:/Users/laxon/Desktop/Coding/Languages/Java/LombokTest, global options path = C:/Users/laxon/AppData/Roaming/JetBrains/IdeaIC2022.1/options
2022-06-14 22:50:47,219 [ 667] INFO - #o.j.j.c.JpsModelLoaderImpl - Model loaded in 171 ms
2022-06-14 22:50:47,219 [ 667] INFO - #o.j.j.c.JpsModelLoaderImpl - Project has 1 modules, 3 libraries
2022-06-14 22:50:47,283 [ 731] INFO - #c.i.u.i.FilePageCache - lower=100; upper=500; buffer=10; max=980
2022-06-14 22:50:47,432 [ 880] INFO - #o.j.j.i.IncProjectBuilder - Building project; isRebuild:true; isMake:false parallel compilation:false
2022-06-14 22:50:47,433 [ 881] INFO - #o.j.k.j.b.KotlinBuilder - is Kotlin incremental compilation enabled for JVM: true
2022-06-14 22:50:47,433 [ 881] INFO - #o.j.k.j.b.KotlinBuilder - is Kotlin incremental compilation enabled for JS: true
2022-06-14 22:50:47,437 [ 885] INFO - #o.j.k.j.b.KotlinBuilder - is Kotlin compiler daemon enabled: true
2022-06-14 22:50:47,437 [ 885] INFO - #o.j.k.j.b.KotlinBuilder - Label in local history: build started 9039cfb8
2022-06-14 22:50:47,472 [ 920] INFO - #o.j.j.b.i.CompilerReferenceIndex - backward reference index deleted
java.lang.Exception
at org.jetbrains.jps.backwardRefs.index.CompilerReferenceIndex.removeIndexFiles(CompilerReferenceIndex.java:190)
at org.jetbrains.jps.backwardRefs.index.CompilerReferenceIndex.removeIndexFiles(CompilerReferenceIndex.java:183)
at org.jetbrains.jps.backwardRefs.JavaBackwardReferenceIndexWriter.initialize(JavaBackwardReferenceIndexWriter.java:69)
at org.jetbrains.jps.incremental.java.JavaBuilder.buildStarted(JavaBuilder.java:173)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:444)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:197)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:150)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:348)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:175)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:218)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
2022-06-14 22:50:47,472 [ 920] INFO - #o.j.j.b.i.CompilerReferenceIndex - backward reference index version doesn't exist
2022-06-14 22:50:47,653 [ 1101] INFO - #o.j.j.i.IncProjectBuilder - Cleaned output directories in 49 ms
2022-06-14 22:50:47,887 [ 1335] INFO - #o.j.k.j.b.KotlinBuilder - KotlinTargetsIndex created in 31 ms
2022-06-14 22:50:47,900 [ 1348] INFO - #o.j.k.j.b.KotlinBuilder - Total Kotlin global compile context initialization time: 48 ms
2022-06-14 22:50:48,377 [ 1825] INFO - #o.j.j.i.j.JavaBuilder - Compiling 1 java files; module: LombokTest
2022-06-14 22:50:49,880 [ 3328] INFO - #o.j.j.i.j.JavaBuilder - Compiling 1 java files; module: LombokTest (tests)
2022-06-14 22:50:50,562 [ 4010] INFO - #o.j.j.c.BuildSession - Build duration: Builder 'Backward references indexer' took 65 ms; 0 sources processed
2022-06-14 22:50:50,562 [ 4010] INFO - #o.j.j.c.BuildSession - Build duration: Builder 'Java' took 1 s 913 ms; 2 sources processed (956 ms per file)
2022-06-14 22:50:50,562 [ 4010] INFO - #o.j.j.c.BuildSession - Build duration: Builder 'Kotlin Builder' took 538 ms; 0 sources processed
2022-06-14 22:50:50,567 [ 4015] INFO - #o.j.j.i.j.JavaBuilder - javac 18.0.1.1 was used to compile [LombokTest]
2022-06-14 22:50:50,937 [ 3] INFO - #o.j.j.c.BuildMain - ==================================================
2022-06-14 22:50:50,963 [ 29] INFO - #o.j.j.c.BuildMain - Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2022.1.2/plugins/java/lib/jps-launcher.jar
2022-06-14 22:50:51,217 [ 283] INFO - #o.j.j.c.BuildMain - Connection to IDE established in 233 ms
2022-06-14 22:50:51,238 [ 304] INFO - #c.i.o.u.i.w.IdeaWin32 - Native filesystem for Windows is operational
2022-06-14 22:50:51,262 [ 328] INFO - #o.j.j.c.JpsModelLoaderImpl - Loading model: project path = C:/Users/laxon/Desktop/Coding/Languages/Java/LombokTest, global options path = C:/Users/laxon/AppData/Roaming/JetBrains/IdeaIC2022.1/options
2022-06-14 22:50:51,441 [ 507] INFO - #o.j.j.c.JpsModelLoaderImpl - Model loaded in 177 ms
2022-06-14 22:50:51,441 [ 507] INFO - #o.j.j.c.JpsModelLoaderImpl - Project has 1 modules, 3 libraries
2022-06-14 22:50:51,512 [ 578] INFO - #c.i.u.i.FilePageCache - lower=100; upper=500; buffer=10; max=980
2022-06-14 22:50:51,662 [ 728] INFO - #o.j.j.c.BuildMain - Pre-loaded process ready in 725 ms
2022-06-14 22:50:51,722 [ 788] INFO - #o.j.j.c.BuildMain - Build canceled, but no build session is running. Exiting.

Alt+Enter stopped working for Dart files in IntelliJ

When building Flutter apps the ALT + Enter keyboard shortcut is very convenient not only to bring up Quick Fixes but also to bring up a popup menu to wrap/remove Widgets. It was working fine until I ran flutter upgrade and updated the Dart and Flutter plugins in IntelliJ (version 2018.3.5).
I have tried messing about with the keyboard shortcuts for an hour, disabling and re-enabling Dart/Flutter plugins, restarting and invalidating caches in IntelliJ, closing all other applications and rebooting Windows 10 numerous times. Nothing works. I can not get Alt+Enter to do anything anymore. It was working fine until I updated the plugins and the Flutter SDK, so it seems something in those updates broke it.
Actually, Alt+Enter doesn't seem to work for anything, and the "suggestion bulb" does not show up either. For example, if I type
String x = 2;
the 2 gets the normal red underline, but no bulb shows up and Al+Enter does nothing. I've trippel checked that the "show intention bulb" is checked in the settings and that the correct keyboard shortcuts are assigned (just to be sure I have reset them to Default).
Has anyone else experienced this lately and found a fix? I've tried all the suggestions I could find on StackOverflow, but none of them work and none of them specifically target the Dart/Flutter intention/action/quickfix popup.
EDIT
This is the IntelliJ log after restarting. I started with the Dart SDK that seems to break Alt+Enter, then switched to the other one which makes Alt+Enter work but disables the possibility to select a device to run the app on, then switched back to the first one again (see comments near the end of the log):
// Startup with SDK C:\Users\MyUser\flutter\bin\cache\dart-sdk 2.2.0-edge.0a7dcf17eb5f2450480527d6ad1e201fb47f1e36
2019-03-04 10:10:01,523 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2019-03-04 10:10:01,539 [ 16] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-183.5912.21, 26 Feb 2019 12:01)
2019-03-04 10:10:01,539 [ 16] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2019-03-04 10:10:01,539 [ 16] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1343-b28 (JetBrains s.r.o)
2019-03-04 10:10:01,539 [ 16] INFO - #com.intellij.idea.Main - JVM: 25.152-b28 (OpenJDK 64-Bit Server VM)
2019-03-04 10:10:01,539 [ 16] 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 -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.3\bin\idea64.exe.vmoptions -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IntelliJIdea2018.3 -XX:ErrorFile=C:\Users\MyUser\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\MyUser\java_error_in_idea.hprof
2019-03-04 10:10:01,539 [ 16] INFO - #com.intellij.idea.Main - ext: C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.3\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2019-03-04 10:10:01,539 [ 16] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2019-03-04 10:10:01,570 [ 47] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 31 ms
2019-03-04 10:10:01,570 [ 47] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2019-03-04 10:10:01,648 [ 125] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2019-03-04 10:10:02,460 [ 937] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor javaee-specific.xml
2019-03-04 10:10:02,460 [ 937] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor java-specific.xml
2019-03-04 10:10:02,915 [ 1392] INFO - .intellij.idea.IdeaApplication - CPU cores: 8; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#6865c311[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory#21227af0
2019-03-04 10:10:02,931 [ 1408] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (JRE-managed HiDPI)
2019-03-04 10:10:03,151 [ 1628] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor javaee-specific.xml
2019-03-04 10:10:03,151 [ 1628] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor java-specific.xml
2019-03-04 10:10:03,508 [ 1985] INFO - llij.ide.plugins.PluginManager - 138 plugins initialized in 451 ms
2019-03-04 10:10:03,508 [ 1985] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.3.1.2), AngularJS (183.5912.21), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (183.5912.21), CVS Integration (11), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (183.5912.21), Copyright (8.1), Coverage (183.5912.21), Cucumber for Groovy (183.5912.21), Cucumber for Java (183.5912.21), DSM Analysis (1.0.0), Database Tools and SQL (183.5912.21), Docker integration (183.5912.21), Eclipse Integration (3.0), EditorConfig (183.5912.21), Emma (183.5912.21), Flash/Flex Support (183.5912.21), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (183.5912.21), GlassFish Integration (1.0), Google App Engine (1.1.4), Gradle (183.5912.21), Grails (9.0), Groovy (9.0), Guice (8.0), HTML Tools (2.0), HTTP Client (183.5912.21), Haml (183.5912.21), Heroku integration (183.5912.21), Hibernate Support (1.0), I18n for Java (183.5912.21), IDE Settings Sync (183.5912.21), IDEA CORE (183.5912.21), IntelliJ Configuration Script (183.5912.21), IntelliLang (8.0), J2ME (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), JUnit (1.0), Java Bytecode Decompiler (183.5912.21), 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), Java Stream Debugger (183.5912.21), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Less support (183.5912.21), Markdown support (183.5912.21), Maven Integration (183.5912.21), Maven Integration Extension (183.5912.21), Mercurial Integration (10.0), OpenShift integration (1.0), Osmorc (1.4.12), Perforce Integration (2.0), Performance Testing (183.5912.21), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (183.5912.21), Reactor framework support (1.0), Refactor-X (2.01), Remote Hosts Access (183.5912.21), Resin Integration (8.1), SSH Remote Run (0.1), Sass support (183.5912.21), Settings Repository (183.5912.21), Smali Support (1.0), Spring AOP/#AspectJ (1.0), Spring Batch (1.0), Spring Boot (1.0), Spring Data (1.0), Spring Integration Patterns (1.0), Spring MVC (1.0), Spring OSGi (1.0), Spring Security (1.0), Spring Support (1.0), Spring Web Flow (1.0), Spring Web Services (1.0), Spring WebSocket (1.0), Spy-js (183.5912.21), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS (999.999), Tapestry support (1.0), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), Thymeleaf (1.0), Time Tracking (1.0), Tomcat and TomEE Integration (1.0), UI Designer (183.5912.21), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WSL Support Framework (183.5912.21), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (183.5912.21), ZKM-Unscramble (1.0), dmServer Support (0.9.5), tslint (183.5912.21)
2019-03-04 10:10:03,508 [ 1985] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Dart (183.5912.23), Flutter (33.3.2), Kotlin (1.3.21-release-IJ2018.3-1), PHP (183.5429.47)
2019-03-04 10:10:04,817 [ 3294] INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED ===
2019-03-04 10:10:04,892 [ 3369] INFO - pi.util.registry.RegistryState - Registry values changed by user:
2019-03-04 10:10:04,892 [ 3369] INFO - pi.util.registry.RegistryState - git.explicit.commit.renames.prohibit.multiple.calls = false
2019-03-04 10:10:04,905 [ 3382] INFO - pi.util.registry.RegistryState - Experimental features enabled for user: inline.browse.button
2019-03-04 10:10:04,940 [ 3417] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705
2019-03-04 10:10:04,997 [ 3474] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\IntelliJ IDEA 2018.3.3\bin\fsnotifier64.exe
2019-03-04 10:10:05,007 [ 3484] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2019-03-04 10:10:05,287 [ 3764] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=0.0; restored: fontSize=12, fontScale=1.0
2019-03-04 10:10:05,708 [ 4185] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2019-03-04 10:10:05,724 [ 4201] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2019-03-04 10:10:05,775 [ 4252] INFO - gs.impl.UpdateCheckerComponent - channel: release
2019-03-04 10:10:05,901 [ 4378] INFO - j.ide.ui.OptionsTopHitProvider - 209 ms spent to cache options in application
2019-03-04 10:10:05,901 [ 4378] INFO - .openapi.application.Preloader - com.intellij.ide.ui.OptionsTopHitProvider$Activity took 207 ms
2019-03-04 10:10:05,935 [ 4412] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:122, number of extensions:100
2019-03-04 10:10:05,942 [ 4419] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:6
2019-03-04 10:10:05,975 [ 4452] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:24, number of extensions:135
2019-03-04 10:10:05,975 [ 4452] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0
2019-03-04 10:10:06,349 [ 4826] INFO - ndex.PrebuiltIndexProviderBase - Using prebuilt id-index from C:\Users\MyUser\.IntelliJIdea2018.3\system\index\.persistent\prebuilt\PHP\id-index.input
2019-03-04 10:10:06,696 [ 5173] INFO - plication.impl.ApplicationImpl - 94 application components initialized in 3639ms
2019-03-04 10:10:06,697 [ 5174] INFO - .intellij.idea.IdeaApplication - App initialization took 5993 ms
2019-03-04 10:10:06,963 [ 5440] INFO - m.intellij.ui.mac.touchbar.NST - OS doesn't support touchbar, skip nst loading
2019-03-04 10:10:07,455 [ 5932] INFO - pl$FileIndexDataInitialization - Initialization done:1513
2019-03-04 10:10:07,628 [ 6105] INFO - exImpl$StubIndexInitialization - Initialization done:171
2019-03-04 10:10:07,796 [ 6273] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0
2019-03-04 10:10:07,797 [ 6274] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=16, fontScale=1.0; restored: fontSize=16, fontScale=1.0
2019-03-04 10:10:08,017 [ 6494] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>]
2019-03-04 10:10:08,017 [ 6494] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/FAPPS/ResursAppFlutter]
2019-03-04 10:10:08,586 [ 7063] INFO - ellij.project.impl.ProjectImpl - 200 project components initialized in 1429 ms
2019-03-04 10:10:08,664 [ 7141] INFO - .openapi.application.Preloader - com.intellij.openapi.actionSystem.impl.ActionPreloader took 2766 ms
2019-03-04 10:10:08,763 [ 7240] INFO - le.impl.ModuleManagerComponent - 2 module(s) loaded in 177 ms
2019-03-04 10:10:08,893 [ 7370] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2019-03-04 10:10:09,023 [ 7500] INFO - rojectCodeStyleSettingsManager - Initialized from default code style settings.
2019-03-04 10:10:09,117 [ 7594] INFO - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA.
2019-03-04 10:10:09,743 [ 8220] INFO - PerformancePlugin - Performance Plugin is in silent mode
2019-03-04 10:10:09,787 [ 8264] INFO - CompilerWorkspaceConfiguration - Available processors: 8
2019-03-04 10:10:09,946 [ 8423] INFO - ellij.project.impl.ProjectImpl - 24 project components initialized in 16 ms
2019-03-04 10:10:09,946 [ 8423] INFO - .openapi.application.Preloader - com.intellij.ide.ui.search.SearchableOptionPreloader took 1289 ms
2019-03-04 10:10:10,287 [ 8764] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2018.3.3/lib/jps-launcher.jar;C:/Program Files/Android/Android Studio 3.3/jre/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.3.3/lib/optimizedFileManager.jar
2019-03-04 10:10:10,334 [ 8811] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2019-03-04 10:10:10,334 [ 8811] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation
2019-03-04 10:10:10,334 [ 8811] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2019-03-04 10:10:10,586 [ 9063] INFO - .openapi.application.Preloader - com.intellij.codeInsight.completion.CompletionPreloader took 632 ms
2019-03-04 10:10:10,602 [ 9079] INFO - .openapi.application.Preloader - com.intellij.ide.actions.GotoClassPresentationUpdater took 10 ms
2019-03-04 10:10:10,945 [ 9422] INFO - llij.database.util.SqlDialects - SQL dialects initialized in 78 ms
2019-03-04 10:10:11,678 [ 10155] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 924ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:10:12,569 [ 11046] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA 2018.3.3/lib/jps-launcher.jar;C:/Program Files/Android/Android Studio 3.3/jre/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA 2018.3.3/lib/optimizedFileManager.jar
2019-03-04 10:10:12,616 [ 11093] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
2019-03-04 10:10:12,616 [ 11093] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: Defaulting to no-operation (NOP) logger implementation
2019-03-04 10:10:12,616 [ 11093] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stderr]: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2019-03-04 10:10:14,417 [ 12894] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 3550ms under project opening modal progress
2019-03-04 10:10:14,502 [ 12979] INFO - ge.ExternalProjectsDataStorage - Loaded external projects data in 9 millis
2019-03-04 10:10:15,022 [ 13499] INFO - tartup.impl.StartupManagerImpl - DartDumbAwareStartupActivity run in 333ms under project opening modal progress
2019-03-04 10:10:15,033 [ 13510] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 4353ms; general responsiveness: ok; EDT responsiveness: 3/5 sluggish
2019-03-04 10:10:15,099 [ 13576] INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus ===
2019-03-04 10:10:15,103 [ 13580] INFO - cloudConfig.CloudConfigManager - === StatusBar.update create ===
2019-03-04 10:10:15,104 [ 13581] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus ===
2019-03-04 10:10:15,471 [ 13948] INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files ===
2019-03-04 10:10:15,486 [ 13963] INFO - j.ide.ui.OptionsTopHitProvider - 270 ms spent on EDT to cache options in application
2019-03-04 10:10:15,843 [ 14320] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED ===
2019-03-04 10:10:15,848 [ 14325] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 4170ms; general responsiveness: ok; EDT responsiveness: 3/4 sluggish
2019-03-04 10:10:15,873 [ 14350] INFO - Json.PackageJsonUpdateNotifier - processPackageJsonFiles []
2019-03-04 10:10:16,746 [ 15223] INFO - tartup.impl.StartupManagerImpl - D:/FAPPS/ResursAppFlutter/.idea case-sensitivity: expected=false actual=false
2019-03-04 10:10:16,767 [ 15244] INFO - #git4idea.commands.GitHandler - [.] git version
2019-03-04 10:10:16,864 [ 15341] INFO - #git4idea.commands.GitHandler - git version 2.20.1.windows.1
2019-03-04 10:10:16,892 [ 15369] INFO - ea.config.GitExecutableManager - Git version for C:\Program Files\Git\cmd\git.exe : 2.20.1
2019-03-04 10:10:16,951 [ 15428] INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus ===
2019-03-04 10:10:16,987 [ 15464] INFO - lutter.run.daemon.DeviceDaemon - starting Flutter device daemon #1: C:/Users/MyUser/flutter/bin/flutter.bat daemon
2019-03-04 10:10:17,202 [ 15679] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/FAPPS/ResursAppFlutter]
2019-03-04 10:10:17,240 [ 15717] INFO - j.ide.ui.OptionsTopHitProvider - 220 ms spent to cache options in project
2019-03-04 10:10:17,240 [ 15717] 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.
2019-03-04 10:10:17,240 [ 15717] INFO - tartup.impl.StartupManagerImpl - Activity run in 220ms on UI thread
2019-03-04 10:10:17,261 [ 15738] WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider
2019-03-04 10:10:17,339 [ 15816] INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent#2604d2f0 ===
2019-03-04 10:10:17,455 [ 15932] INFO - #io.flutter.sdk.FlutterCommand - C:\Users\MyUser\flutter\bin\flutter.bat [--no-color, config, --machine]
2019-03-04 10:10:17,460 [ 15937] INFO - #io.flutter.sdk.FlutterSdk - Calling config --machine
2019-03-04 10:10:19,028 [ 17505] INFO - #io.flutter.sdk.FlutterSdk - flutter config --machine: 1568ms
2019-03-04 10:10:19,105 [ 17582] INFO - tor.impl.FileEditorManagerImpl - Project opening took 12018 ms
2019-03-04 10:10:19,273 [ 17750] INFO - pl.ProjectRootManagerComponent - project roots have changed
2019-03-04 10:10:19,579 [ 18056] INFO - j.ide.ui.OptionsTopHitProvider - 135 ms spent on EDT to cache options in project
2019-03-04 10:10:19,901 [ 18378] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 7ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:10:19,965 [ 18442] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 64ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:10:20,618 [ 19095] INFO - tartup.impl.StartupManagerImpl - CreateKotlinSdkActivity run in 444ms on UI thread
2019-03-04 10:10:43,936 [ 42413] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting
// Switched to C:\Program Files\Dart\dart-sdk 2.1.0
2019-03-04 10:11:04,852 [ 63329] INFO - pl.ProjectRootManagerComponent - project roots have changed
2019-03-04 10:11:04,950 [ 63427] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 51ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:11:05,027 [ 63504] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 77ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:11:05,069 [ 63546] INFO - lutter.run.daemon.DeviceDaemon - shutting down Flutter device daemon #1: C:/Users/MyUser/flutter/bin/flutter.bat daemon
2019-03-04 10:11:06,653 [ 65130] WARN - com.intellij.util.xmlb.Binding - no accessors for class io.flutter.sdk.FlutterPluginLibraryProperties
2019-03-04 10:11:31,565 [ 90042] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting
// Switched back to C:\Users\MyUser\flutter\bin\cache\dart-sdk 2.2.0-edge.0a7dcf17eb5f2450480527d6ad1e201fb47f1e36
2019-03-04 10:12:04,384 [ 122861] INFO - pl.ProjectRootManagerComponent - project roots have changed
2019-03-04 10:12:04,560 [ 123037] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 42ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:12:04,612 [ 123089] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 52ms; general responsiveness: ok; EDT responsiveness: ok
2019-03-04 10:12:04,820 [ 123297] INFO - lutter.run.daemon.DeviceDaemon - starting Flutter device daemon #2: C:/Users/MyUser/flutter/bin/flutter.bat daemon
2019-03-04 10:12:04,948 [ 123425] INFO - lutter.run.daemon.DeviceDaemon - starting Flutter device daemon #3: C:/Users/MyUser/flutter/bin/flutter.bat daemon
2019-03-04 10:12:16,621 [ 135098] INFO - ide.actions.ShowFilePathAction -
Exit code 1
Here it is. You are welcome. 🤓🤓
Go to File > Settings > Editor > Intentions and Confirm the Dart Analysis Server.
For Mac OS:
Go to Android Studio -> Preferences -> Editor -> Intentions -> Quick assists powered by the Dart Analysis Server (Mark it) -> Apply.
After I did invalidate cache and restart, it worked fine.
I had the same issue. This solved it for me:
Switch to a different flutter channel. If you are on stable then go to beta or vice versa. Instructions on switching channels at this link:
https://flutter.dev/docs/development/tools/sdk/upgrading
Run flutter upgrade
Restart your IDE.
Check to see if the lightbulb (or ALT-Enter or Option-Return) is now active.
Switch back to your other channel and repeat steps 2 and 3 above.
When I imported another Flutter project I noticed that Alt+Enter was working fine in that project, but still not in the original project. I tried deleting all IntelliJ-related files (*.iml and .idea specifically) and recreating the original project - but Alt+Enter still didn't work.
That's when I started looking more carefully into the files in the lib source folder, and I found a suspicious file called analysis_options.yaml that I hadn't really noticed before. It contains
analyzer:
language:
enableSuperMixins: true
I deleted it (and the IntelliJ-related *.iml files and the .idea folder) and recreated the project - and finally Alt+Enter is working normally again!
The analysis_options.yaml file seems to have been added by a colleague a long time ago, so I'm still not sure why this problem didn't appear until after working on the project for a few months.
For those who are on Mac and nothing helps, try this:
Also, make sure that "Quick assist..." is checked (see #Gazihan Alankus's answer) and you have Dart and Flutter plugins installed on your Android Studio
For someone that might still have this issue.
If you have tried all the above and it still doesn't work.
Try disabling all your plugins and check if it has started working.
If it starts working
Enable your plugins one after the other to check for the plugin that made it not work
Check the shortcut of "Show Intention Actions" in the Keymap to see whether it's "Alt+Enter" or not. In my case, I'm using Mac OS X, Android Studio and the Eclipse Mac OS X keymap, and the shortcut of "Show Intention Actions" is "command+1".

Error initializing plugins - GraphDB 8.7.2

I have tried updating my POM from v8.6.1 to v8.7.2 and in the process successfully re-created a sample repo with the new version's preload tool.
Although I have not altered my java code at all (which runs perfectly with v.8.6.1), now I get an error when trying to retrieve the repository from the manager with the following command:
repository = repositoryManager.getRepository(repositoryId);
The error is the following:
197822 [main] INFO com.ontotext.plugin.magic-predicates - Registering InverseMagicPredicate: http://jena.hpl.hp.com/ARQ/property#strSplit
197823 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'literals-index'
198002 [main] INFO com.ontotext.plugin.literals-index - Literals indices restored.
198003 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'geospatial'
198009 [main] INFO com.ontotext.trree.plugin.geo.GeoSpatialPlugin - Plugin:geospatial initialized
198010 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'sparql-mm'
198400 [main] INFO com.ontotext.graphdb.sparqlmm.FunctionLoader - Registered 48 functions from package com.github.tkurz.sparqlmm.function.
198400 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'dependencies-plugin'
198409 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'similarity'
198429 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'GeoSPARQL'
231881 [main] INFO com.ontotext.trree.geosparql.FunctionLoader - Registered 50 functions from package com.useekm.geosparql.
231882 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'lucene-connector'
231896 [main] ERROR com.ontotext.trree.sdk.impl.PluginManager - Plugin 'lucene-connector' failed to initialize:org/json/simple/parser/ParseException
231897 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'rdfrank'
232224 [main] INFO com.ontotext.trree.sdk.impl.PluginManager - Initializing plugin 'notifications'
232237 [main] ERROR com.ontotext.trree.free.GraphDBFreeSchemaRepository - Error initializing plugins:
java.lang.NullPointerException
at com.ontotext.trree.plugin.externalsync.ExternalSyncPlugin.shutdown(ExternalSyncPlugin.java:803)
at com.ontotext.trree.sdk.PluginBase.shutdown(PluginBase.java:100)
at com.ontotext.trree.sdk.impl.PluginManager.disablePluginInt(PluginManager.java:986)
at com.ontotext.trree.sdk.impl.PluginManager.removePlugin(PluginManager.java:361)
at com.ontotext.trree.sdk.impl.PluginManager.initialize(PluginManager.java:128)
at com.ontotext.trree.OwlimSchemaRepository.initPlugins(OwlimSchemaRepository.java:1979)
at com.ontotext.trree.OwlimSchemaRepository.initializeInternal(OwlimSchemaRepository.java:242)
at org.eclipse.rdf4j.sail.helpers.AbstractSail.initialize(AbstractSail.java:188)
at org.eclipse.rdf4j.repository.sail.SailRepository.initializeInternal(SailRepository.java:151)
at org.eclipse.rdf4j.repository.base.AbstractRepository.initialize(AbstractRepository.java:34)
at org.eclipse.rdf4j.repository.manager.LocalRepositoryManager.createRepository(LocalRepositoryManager.java:270)
at org.eclipse.rdf4j.repository.manager.RepositoryManager.getRepository(RepositoryManager.java:424)
I have specified the -Dregister-external-plugins=.... in the VM Options.
Any ideas what might be wrong? Should I go for a previous version and if so, which one?
Thanks
It looks like you have an incompatible Lucene connector configuration. I recommend deleting the Lucene connector directory and once the repository starts you can recreate the connector(s). The Lucene connector directory is located in the repository's data directory: <graphdb-data-dir>/repositories/<repository-id>/storage/lucene-connector. The easiest way to find <graphdb-data-dir> is looking at the startup messages of GraphDB where it will print something like:
GraphDB Data directory: /opt/test/graphdb-free-8.7.2/data
As Konstantin mentioned the problem might also have to do with register-external-plugins.

SonarQube: errors in analysing C# and VB projects

I am trying to follow the instructions here to try SonarQube for MSBuild:
http://docs.sonarqube.org/display/SONAR/Analyzing+with+SonarQube+Scanner+for+MSBuild, but I got the following errors for C# and VB samples. I can't find any message in the sonar.log so don't know how to proceed.
C:\Tools\SonarQube\sonar-examples-master\projects\languages\csharp>where msbuild
C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe
C:\Tools\SonarQube\sonar-examples-master\projects\languages\csharp>MSBuild.SonarQube.Runner.exe end
SonarQube Scanner for MSBuild 1.1
Default properties file was found at C:\Tools\SonarQube\MSBuild.SonarQube.Runner-1.1\SonarQube.Analysis.xml
Loading analysis properties from C:\Tools\SonarQube\MSBuild.SonarQube.Runner-1.1\SonarQube.Analysis.xml
Post-processing started.
SonarQube Scanner for MSBuild End Step 1.1
WARNING: Duplicate project GUID: "12add147-fbaf-46aa-b8a4-f708d4d0f295". Check that the project is only being built for a single platform/co
nfiguration and that that the project guid is unique. The project will not be analyzed by SonarQube. Project file: C:\Tools\SonarQube\sonar-
examples-master\projects\languages\csharp\ConsoleApplication1\ConsoleApplication1.csproj
C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet>MSBuild.SonarQube.Runner.exe end
SonarQube Scanner for MSBuild 1.1
Default properties file was found at C:\Tools\SonarQube\MSBuild.SonarQube.Runner-1.1\SonarQube.Analysis.xml
Loading analysis properties from C:\Tools\SonarQube\MSBuild.SonarQube.Runner-1.1\SonarQube.Analysis.xml
Post-processing started.
SonarQube Scanner for MSBuild End Step 1.1
WARNING: File is not under the project directory and cannot currently be analysed by SonarQube. File: C:\Users\huj\AppData\Local\Temp\.NETFr
amework,Version=v4.5.AssemblyAttributes.vb, project: C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\ConsoleApplication1\C
onsoleApplication1.vbproj
SONAR_RUNNER_OPTS is not configured. Setting it to the default value of -Xmx1024m
Calling the SonarQube Scanner...
C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\.sonarqube\bin\sonar-runner\bin\..
SonarQube Runner 2.4
Java 1.8.0_60 Oracle Corporation (64-bit)
Windows 7 6.1 amd64
SONAR_RUNNER_OPTS=-Xmx1024m
INFO: Error stacktraces are turned on.
INFO: Runner configuration file: C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\.sonarqube\bin\sonar-runner\bin\..\conf\s
onar-runner.properties
INFO: Project configuration file: C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\.sonarqube\out\sonar-project.properties
INFO: Default locale: "en_US", source code encoding: "UTF-8"
INFO: Work directory: C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\.sonarqube\out\.sonar
INFO: SonarQube Server 5.2
15:43:49.634 INFO - Load global repositories
15:43:49.815 INFO - Load global repositories (done) | time=180ms
15:43:49.830 INFO - User cache: C:\Users\huj\.sonar\cache
15:43:50.224 INFO - Load plugins index
15:43:50.227 INFO - Load plugins index (done) | time=3ms
15:43:50.458 INFO - Process project properties
15:43:50.728 INFO - Load project repositories
15:43:50.741 INFO - Load project repositories (done) | time=13ms
15:43:50.747 INFO - Apply project exclusions
15:43:50.871 INFO - Load quality profiles
15:43:50.919 INFO - Load quality profiles (done) | time=48ms
15:43:50.924 INFO - Load active rules
15:43:51.344 INFO - Load active rules (done) | time=420ms
15:43:51.362 WARN - SCM provider autodetection failed. No SCM provider claims to support this project. Please use sonar.scm.provider to def
ine SCM of your project.
15:43:51.362 INFO - Publish mode
15:43:51.363 INFO - ------------- Scan ConsoleApplication1
15:43:51.459 INFO - Load server rules
15:43:51.629 INFO - Load server rules (done) | time=170ms
15:43:51.684 INFO - Base dir: C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\ConsoleApplication1
15:43:51.684 INFO - Working dir: C:\Tools\SonarQube\sonar-examples-master\projects\languages\vbnet\.sonarqube\out\.sonar\vbnet_vbnet_65E63A
B4-1055-4104-B233-A9F7CF2233DA
15:43:51.685 INFO - Source paths: Module1.vb, My Project/AssemblyInfo.vb, My Project/Resources.resx, My Project/Application.myapp, My Proje
ct/Settings.settings, App.config
15:43:51.685 INFO - Source encoding: UTF-8, default locale: en_US
15:43:51.686 INFO - Index files
15:43:51.709 INFO - 2 files indexed
15:43:51.711 INFO - Quality profile for vbnet: Sonar way
15:43:51.885 INFO - All FxCop rules are disabled, skipping its execution.
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 3.142s
Final Memory: 11M/308M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
org.sonar.runner.impl.RunnerException: Unable to execute Sonar
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:91)
at org.sonar.runner.impl.BatchLauncher$1.run(BatchLauncher.java:75)
Your C# project isn't being analysed because of the WARNING: Duplicate project GUID.... Check that your project guids are unique. You will also get this error if you run the begin step then call MSBuild multiple times for the same project before calling end. Try running begin, MSBuild .... end to see if that fixes the C# project issue. For the VB issue, please include more of the call stack from the Java error.