Can run IntelliJ theme plugin - intellij-idea

I'm trying to create a theme plugin for IntelliJ. I created a plugin project using the template and then try to run the plugin. A new instance of IntelliJ starts and I can open or create a new project. After that all windows closes and I can see this in the log:
/Library/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home/bin/java
-Xmx512m -Xms256m -ea -Didea.config.path=/Users/magnus/Library/Caches/IntelliJIdea2019.2/plugins-sandbox/config
-Didea.system.path=/Users/magnus/Library/Caches/IntelliJIdea2019.2/plugins-sandbox/system
-Didea.plugins.path=/Users/magnus/Library/Caches/IntelliJIdea2019.2/plugins-sandbox/plugins
-Didea.classpath.index.enabled=false -Didea.required.plugins.id=com.magnusottosson.theme.snazzy -Didea.smooth.progress=false -Dapple.laf.useScreenMenuBar=true -Dapple.awt.fileDialogForDirectories=true "-javaagent:/Applications/IntelliJ
IDEA.app/Contents/lib/idea_rt.jar=61675:/Applications/IntelliJ
IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath
"/Library/Java/JavaVirtualMachines/openjdk-13.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/log4j.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/jdom.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/trove4j.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/openapi.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/util.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/extensions.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/bootstrap.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ
IDEA.app/Contents/lib/idea.jar" com.intellij.idea.Main WARNING: An
illegal reflective access operation has occurred WARNING: Illegal
reflective access by com.intellij.ide.ClassUtilCore to field
sun.net.www.protocol.jar.JarFileFactory.fileCache WARNING: Please
consider reporting this to the maintainers of
com.intellij.ide.ClassUtilCore WARNING: Use --illegal-access=warn to
enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future
release 2019-10-13 21:13:37,271 [ 1920] WARN -
i.mac.MacOSApplicationProvider - com/apple/eawt/AboutHandler
java.lang.NoClassDefFoundError: com/apple/eawt/AboutHandler at
com.intellij.ui.mac.MacOSApplicationProvider$Worker.initMacApplication(MacOSApplicationProvider.java:58)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.AboutHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 17 more 2019-10-13 21:13:40,875 [ 5524] WARN -
s.impl.EditorColorsManagerImpl - Cannot find scheme: VibrantInk from
plugin: com.intellij.database 2019-10-13 21:13:40,876 [ 5525]
WARN - s.impl.EditorColorsManagerImpl - Cannot find scheme: WarmNeon
from plugin: com.intellij.database 2019-10-13 21:13:40,876 [ 5525]
WARN - s.impl.EditorColorsManagerImpl - Cannot find scheme: High
сontrast from plugin: com.intellij.database 2019-10-13 21:19:13,656 [
338305] ERROR - .impl.MessageBusConnectionImpl -
com/apple/eawt/OpenURIHandler java.lang.NoClassDefFoundError:
com/apple/eawt/OpenURIHandler at
com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.OpenURIHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 136 more 2019-10-13 21:19:13,658 [ 338307] ERROR -
.impl.MessageBusConnectionImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:13,659 [ 338308] ERROR - .impl.MessageBusConnectionImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:13,659 [ 338308]
ERROR - .impl.MessageBusConnectionImpl - OS: Mac OS X 2019-10-13
21:19:13,663 [ 338312] ERROR - .impl.MessageBusConnectionImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:13,966 [ 338615]
ERROR - tartup.impl.StartupManagerImpl - com/apple/eawt/OpenURIHandler
java.lang.NoClassDefFoundError: com/apple/eawt/OpenURIHandler at
com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.OpenURIHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 132 more 2019-10-13 21:19:13,968 [ 338617] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:13,968 [ 338617] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:13,968 [ 338617]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:13,969 [ 338618] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:14,024 [ 338673]
ERROR - tartup.impl.StartupManagerImpl - null
java.lang.NullPointerException at
com.intellij.openapi.wm.impl.ToolWindowManagerImpl.appendUpdateToolWindowsPaneCmd(ToolWindowManagerImpl.java:1722)
... 2019-10-13 21:19:14,025 [ 338674] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:14,027 [ 338676] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:14,027 [ 338676]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:14,028 [ 338677] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:14,178 [ 338827]
ERROR - llij.ide.plugins.PluginManager - null
java.lang.NullPointerException at
com.intellij.codeInsight.daemon.impl.DaemonListeners$MyProfileChangeListener.lambda$profilesInitialized$0(DaemonListeners.java:524)
... 2019-10-13 21:19:14,180 [ 338829] ERROR -
llij.ide.plugins.PluginManager - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:14,181 [ 338830] ERROR - llij.ide.plugins.PluginManager - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:14,181 [ 338830]
ERROR - llij.ide.plugins.PluginManager - OS: Mac OS X 2019-10-13
21:19:14,181 [ 338830] ERROR - llij.ide.plugins.PluginManager - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:14,935 [ 339584]
ERROR - tartup.impl.StartupManagerImpl - null
java.lang.NullPointerException at
com.intellij.cloudConfig.StatusBarInfoManager$MyStartupActivity.runActivity(StatusBarInfoManager.java:74)
... 2019-10-13 21:19:14,936 [ 339585] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:14,936 [ 339585] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:14,936 [ 339585]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:14,936 [ 339585] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:15,023 [ 339672]
ERROR - leEditor.impl.EditorsSplitters - Assertion failed
java.lang.Throwable: Assertion failed at
com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:180)
... 2019-10-13 21:19:15,024 [ 339673] ERROR -
leEditor.impl.EditorsSplitters - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:15,024 [ 339673] ERROR - leEditor.impl.EditorsSplitters - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:15,024 [ 339673]
ERROR - leEditor.impl.EditorsSplitters - OS: Mac OS X 2019-10-13
21:19:15,024 [ 339673] ERROR - leEditor.impl.EditorsSplitters - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:15,112 [ 339761]
ERROR - tartup.impl.StartupManagerImpl - com/apple/eawt/OpenURIHandler
java.lang.NoClassDefFoundError: com/apple/eawt/OpenURIHandler at
com.intellij.openapi.wm.impl.IdeFrameDecorator.decorate(IdeFrameDecorator.java:43)
... Caused by: java.lang.ClassNotFoundException:
com.apple.eawt.OpenURIHandler at
com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:282)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 34 more 2019-10-13 21:19:15,113 [ 339762] ERROR -
tartup.impl.StartupManagerImpl - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:15,113 [ 339762] ERROR - tartup.impl.StartupManagerImpl - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:15,113 [ 339762]
ERROR - tartup.impl.StartupManagerImpl - OS: Mac OS X 2019-10-13
21:19:15,114 [ 339763] ERROR - tartup.impl.StartupManagerImpl - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:15,313 [ 339962]
ERROR - leEditor.impl.EditorsSplitters - Assertion failed
java.lang.Throwable: Assertion failed at
com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:180)
... 2019-10-13 21:19:15,313 [ 339962] ERROR -
leEditor.impl.EditorsSplitters - IntelliJ IDEA 2019.2.3 Build
IU-192.6817.14 2019-10-13 21:19:15,313 [ 339962] ERROR - leEditor.impl.EditorsSplitters - JDK: 13; VM: OpenJDK 64-Bit Server
VM; Vendor: Oracle Corporation 2019-10-13 21:19:15,314 [ 339963]
ERROR - leEditor.impl.EditorsSplitters - OS: Mac OS X 2019-10-13
21:19:15,314 [ 339963] ERROR - leEditor.impl.EditorsSplitters - Last
Action: WelcomeScreen.OpenProject 2019-10-13 21:19:20,161 [ 344810]
WARN - .intellij.diagnostic.VMOptions - VM options file not configured

Found the problem! I could use the SDK shipped with IntelliJ but I had to change the Internal Java Platform from 13 to 11 at File -> Project Structure -> SDK ->IntelliJ IDEA IU-192.6817.14

Related

Go fmt is running forever at Goland

I've installed the last version of Goland recently, but it's nevermind, because this bug is reproducible on 2020* versions too. I enabled two file watchers - gofmt and goimports as usual and it worked perfectly until today. I don't know what happened. I just see
Running file watcher "go fmt" or Running file watcher "go imports" at the bottom of the IDE and they run forever. Here the output of the IDE cmd:
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2021-10-28 15:56:49,433 [ 2519] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2021-10-28 15:56:49,441 [ 2527] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: com.intellij]
2021-10-28 15:56:49,441 [ 2527] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: com.intellij]
2021-10-28 15:56:49,441 [ 2527] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: com.intellij]
2021-10-28 15:56:49,470 [ 2556] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: HtmlTools]
2021-10-28 15:56:49,932 [ 3018] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: org.jetbrains.plugins.github]
2021-10-28 15:56:49,956 [ 3042] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: JavaScript]
2021-10-28 15:56:49,956 [ 3042] WARN - nSystem.impl.ActionManagerImpl - keymap "Visual Studio" not found [Plugin: JavaScript]
2021-10-28 15:56:49,984 [ 3070] WARN - nSystem.impl.ActionManagerImpl - keymap "Eclipse" not found [Plugin: PythonCore]
2021-10-28 15:56:49,985 [ 3071] WARN - nSystem.impl.ActionManagerImpl - keymap "NetBeans 6.5" not found [Plugin: PythonCore]
2021-10-28 15:56:53,197 [ 6283] WARN - com.intellij.util.xmlb.Binding - no accessors for com.intellij.execution.configuration.EnvironmentVariablesData
WARN - n.process.BaseOSProcessHandler - Process hasn't generated any output for a long time.
If it's a long-running mostly idle daemon process, consider overriding OSProcessHandler#readerOptions with 'BaseOutputReader.Options.forMostlySilentProcess()' to reduce CPU usage.
Command line: /usr/local/go/bin/gofmt
java.lang.Throwable: Process creation:
at com.intellij.execution.process.BaseOSProcessHandler.<init>(BaseOSProcessHandler.java:32)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:49)
at com.intellij.execution.process.CapturingProcessHandler.<init>(CapturingProcessHandler.java:24)
at com.intellij.execution.process.CapturingAnsiEscapesAwareProcessHandler.<init>(CapturingAnsiEscapesAwareProcessHandler.java:30)
at com.intellij.plugins.watcher.TaskRunnerImpl$1$1.run(TaskRunnerImpl.java:392)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:962)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:472)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:235)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:235)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
I event tried completely remove all files under ~/.config/JetBrains/GoLand* also with no success. Tried to remove .idea folder under project with the same result.
Use Linux Mint 20.2.

Intellij prints an unknown character for semicolon

In Intellij when I type semicolon it prints some special character ö .
Anyone has faced this issue before? If yes how to fix this?
Logs:
2020-10-01 16:47:29,809 [257965913] INFO - stubs.SerializationManagerImpl - Start shutting down C:\Users\--------------------------------------
2020-10-01 16:47:29,813 [257965917] INFO - stubs.SerializationManagerImpl - Finished shutting down C:\Users\--------------------------------------
2020-10-01 16:47:29,818 [257965922] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------
2020-10-01 16:47:29,825 [257965929] INFO - org.jetbrains.io.BuiltInServer - web server stopped
2020-10-01 16:47:35,734 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2020-10-01 16:47:35,785 [ 51] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-202.6397.94, 27 Jul 2020 16:09)
2020-10-01 16:47:35,787 [ 53] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2020-10-01 16:47:35,787 [ 53] INFO - #com.intellij.idea.Main - JRE: 11.0.7+10-b944.20 (JetBrains s.r.o.)
2020-10-01 16:47:35,788 [ 54] INFO - #com.intellij.idea.Main - JVM: 11.0.7+10-b944.20 (OpenJDK 64-Bit Server VM)
2020-10-01 16:47:35,789 [ 55] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx1023m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf=true -Dkotlinx.coroutines.debug=off -Djdk.module.illegalAccess.silent=true -Djb.vmOptionsFile=C:\Users\-------\AppData\Roaming\JetBrains\IdeaIC2020.2\idea64.exe.vmoptions -Djava.library.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.vendor.name=JetBrains -Didea.paths.selector=IdeaIC2020.2 -XX:ErrorFile=C:\Users\-------\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\-------\java_error_in_idea.hprof
2020-10-01 16:47:35,789 [ 55] INFO - #com.intellij.idea.Main - library path: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\\bin\server
2020-10-01 16:47:35,790 [ 56] INFO - #com.intellij.idea.Main - boot library path: C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2\jbr\bin
2020-10-01 16:47:35,797 [ 63] INFO - #com.intellij.idea.Main - locale=en_US JNU=Cp1252 file.encoding=Cp1252
idea.config.path=C:\Users\----\IdeaIC2020.2
idea.system.path=C:\Users\----\IdeaIC2020.2
idea.plugins.path=C:\Users\---\IdeaIC2020.2\plugins
idea.log.path=C:\Users\-------\AppData\Local\JetBrains\IdeaIC2020.2\log

IntelliJ IDEA v2019.2 Indent Pulling Values Before Equal Sign Across Line

If we take a line with an assignment value -
test = ${var.domain}
And then put the cursor before the equals sign and press the tab button, rather than tabbing the equals sign across the line, it pulls "test" with it across the line.
What is the fix for this?
Here is a copy of the startup log
I'm unable to see anything obvious in the log.
2019-10-10 14:10:25,899 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2019-10-10 14:10:26,036 [ 137] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-192.5728.98, 23 Jul 2019 07:11)
2019-10-10 14:10:26,106 [ 207] INFO - #com.intellij.idea.Main - OS: Windows Server 2016 (10.0, amd64)
2019-10-10 14:10:26,106 [ 207] INFO - #com.intellij.idea.Main - JRE: 11.0.3+12-b304.10 (JetBrains s.r.o)
2019-10-10 14:10:26,106 [ 207] INFO - #com.intellij.idea.Main - JVM: 11.0.3+12-b304.10 (OpenJDK 64-Bit Server VM)
2019-10-10 14:10:26,112 [ 213] INFO - #com.intellij.idea.Main - JVM Args: exit -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -XX:CICompilerCount=2 -Dsun.io.useCanonPrefixCache=false -Djava.net.preferIPv4Stack=true -Djdk.http.auth.tunneling.disabledSchemes="" -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djdk.attach.allowAttachSelf -Djb.vmOptionsFile=D:\Users\Me\.IdeaIC2019.2\config\idea64.exe.vmoptions -Djava.library.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2019.2\jbr\\bin;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2019.2\jbr\\bin\server -Didea.platform.prefix=Idea -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IdeaIC2019.2 -XX:ErrorFile=D:\Users\Me\java_error_in_idea_%p.log -XX:HeapDumpPath=D:\Users\Me\java_error_in_idea.hprof
2019-10-10 14:10:26,113 [ 214] INFO - #com.intellij.idea.Main - charsets: JNU=Cp1252 file=Cp1252
2019-10-10 14:10:26,167 [ 268] INFO - tellij.diagnostic.LoadingPhase - Reached SPLASH loading phase
2019-10-10 14:10:26,237 [ 338] INFO - plication.impl.ApplicationImpl - CPU cores: 2; ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#3bb746f4[Running, parallelism = 2, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0]; factory: com.intellij.concurrency.IdeaForkJoinWorkerThreadFactory#3966e951
2019-10-10 14:10:27,618 [ 1719] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-groovy.xml
2019-10-10 14:10:27,619 [ 1720] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor duplicates-detection-groovy.xml
2019-10-10 14:10:28,365 [ 2466] INFO - llij.ide.plugins.PluginManager - Cannot find optional descriptor profiler-java.xml
2019-10-10 14:10:28,524 [ 2625] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 2503 ms
2019-10-10 14:10:28,527 [ 2628] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2019-10-10 14:10:28,818 [ 2919] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.3.3), Ant (192.5728.98), Bytecode Viewer (192.5728.98), ChangeReminder (192.5728.98), Configuration Script (192.5728.98), Copyright (192.5728.98), Coverage (192.5728.98), Eclipse Interoperability (192.5728.98), EditorConfig (192.5728.98), Git (192.5728.98), GitHub (192.5728.98), Gradle (192.5728.98), Gradle-Maven (192.5728.98), Groovy (192.5728.98), IDEA CORE (192.5728.98), IntelliLang (192.5728.98), JUnit (192.5728.98), Java (192.5728.98), Java Bytecode Decompiler (192.5728.98), Java IDE Customization (192.5728.98), Java Internationalization (192.5728.98), Java Stream Debugger (192.5728.98), JavaFX (192.5728.98), Kotlin (1.3.41-release-IJ2019.2-1), Markdown (192.5728.98), Maven (192.5728.98), Mercurial (192.5728.98), Plugin DevKit (192.5728.98), Properties (192.5728.98), Settings Repository (192.5728.98), Shell Script (192.5728.98), Smali Support (192.5728.98), Subversion (192.5728.98), Task Management (192.5728.98), Terminal (192.5728.98), TestNG (192.5728.98), TextMate bundles (192.5728.98), UI Designer (192.5728.98), XPathView + XSLT (192.5728.98), XSLT Debugger (192.5728.98), YAML (192.5728.98)
2019-10-10 14:10:28,818 [ 2919] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: ANSI Highlighter (1.2.4), AWS Toolkit (1.6), Catdea (1.1.2), HashiCorp Terraform / HCL language support (0.7.7)
2019-10-10 14:10:31,249 [ 5350] INFO - tellij.diagnostic.LoadingPhase - Reached CONFIGURATION_STORE_INITIALIZED loading phase
2019-10-10 14:10:31,354 [ 5455] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=713
2019-10-10 14:10:31,769 [ 5870] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2019.2\bin\fsnotifier64.exe
2019-10-10 14:10:31,849 [ 5950] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational.
2019-10-10 14:10:34,937 [ 9038] INFO - til.net.ssl.CertificateManager - Default SSL context initialized
2019-10-10 14:10:34,999 [ 9100] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2019-10-10 14:10:35,693 [ 9794] INFO - il.indexing.FileBasedIndexImpl - File index extensions iterated:189
2019-10-10 14:10:36,944 [ 11045] INFO - ts.jetbrains.core.AwsSdkClient - Create new Apache client
2019-10-10 14:10:38,104 [ 12205] INFO - pl$FileIndexDataInitialization - Initialization done:2600
2019-10-10 14:10:38,505 [ 12606] INFO - exImpl$StubIndexInitialization - Initialization done:400
2019-10-10 14:10:38,523 [ 12624] INFO - tellij.diagnostic.LoadingPhase - Reached FRAME_SHOWN loading phase
2019-10-10 14:10:38,866 [ 12967] INFO - j.ide.ui.OptionsTopHitProvider - 879 ms spent to cache options in application
2019-10-10 14:10:41,997 [ 16098] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [D:/Users/Me/Documents/ide-my-lab]
2019-10-10 14:10:42,856 [ 16957] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=13, fontScale=1.0; restored: fontSize=13, fontScale=1.0
2019-10-10 14:10:44,413 [ 18514] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found
2019-10-10 14:10:48,394 [ 22495] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1292ms; general responsiveness: 1/1 sluggish; EDT responsiveness: ok
2019-10-10 14:10:49,010 [ 23111] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 590ms; general responsiveness: ok; EDT responsiveness: 0/1 sluggish, 1/1 very slow
2019-10-10 14:10:49,011 [ 23112] INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 8 files to update
2019-10-10 14:10:52,500 [ 26601] INFO - .diagnostic.PerformanceWatcher - Unindexed files update took 3489ms; general responsiveness: 2/4 sluggish; EDT responsiveness: 1/2 sluggish, 1/2 very slow
2019-10-10 14:10:53,521 [ 27622] INFO - plication.impl.ApplicationImpl - LONG VFS PROCESSING. Topic=NewVirtualFileSystem changes, offender=class com.intellij.psi.impl.file.impl.PsiVFSListener$2, message=after, time=129ms
2019-10-10 14:10:55,211 [ 29312] INFO - ge.ExternalProjectsDataStorage - Load external projects data in 11 millis (read time: 0)
2019-10-10 14:10:55,481 [ 29582] WARN - com.intellij.util.xmlb.Binding - no accessors for class org.jetbrains.kotlin.idea.highlighter.KotlinDefaultHighlightingSettingsProvider
2019-10-10 14:10:57,201 [ 31302] INFO - j.ide.ui.OptionsTopHitProvider - 4033 ms spent to cache options in project
2019-10-10 14:10:57,600 [ 31701] INFO - ntials.profiles.ProfileWatcher - Watching D:\Users\Me\.aws for file changes
2019-10-10 14:10:57,601 [ 31702] INFO - ntials.profiles.ProfileWatcher - Watching D:\Users\Me\.aws for file changes
2019-10-10 14:10:58,743 [ 32844] INFO - tartup.impl.StartupManagerImpl - Some post-startup activities freeze UI for noticeable time. Please consider making them DumbAware to run them in background under modal progress, or just making them faster to speed up project opening.
2019-10-10 14:10:58,863 [ 32964] WARN - lkitCredentialsProviderFactory - Failed to load AWS profiles
java.lang.IllegalArgumentException: Profile 'default' is missing required property aws_access_key_id
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider$requiredProperty$2.get(ProfileToolkitCredentialsProvider.kt:215)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider$requiredProperty$2.get(ProfileToolkitCredentialsProvider.kt:43)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.requiredProperty(ProfileToolkitCredentialsProvider.kt:214)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.requiredProperty$default(ProfileToolkitCredentialsProvider.kt:209)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.createInternalCredentialProvider(ProfileToolkitCredentialsProvider.kt:135)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProvider.<init>(ProfileToolkitCredentialsProvider.kt:50)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory$loadFromProfileFile$$inlined$map$lambda$1.invoke(ProfileToolkitCredentialsProviderFactory.kt:77)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory$loadFromProfileFile$$inlined$map$lambda$1.invoke(ProfileToolkitCredentialsProviderFactory.kt:23)
at software.aws.toolkits.core.utils.LogUtilsKt.tryOrThrowNullable(LogUtils.kt:44)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory.loadFromProfileFile(ProfileToolkitCredentialsProviderFactory.kt:70)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileToolkitCredentialsProviderFactory.<init>(ProfileToolkitCredentialsProviderFactory.kt:32)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileCredentialProviderFactory.createToolkitCredentialProviderFactory(ProfileCredentialProviderFactory.kt:14)
at software.aws.toolkits.jetbrains.core.credentials.profiles.ProfileCredentialProviderFactory.createToolkitCredentialProviderFactory(ProfileCredentialProviderFactory.kt:13)
at software.aws.toolkits.jetbrains.core.credentials.ExtensionPointCredentialsProviderRegistry.listFactories(ExtensionPointCredentialsProviderRegistry.kt:44)
at software.aws.toolkits.jetbrains.core.credentials.ExtensionPointCredentialsProviderRegistry.listFactories(ExtensionPointCredentialsProviderRegistry.kt:37)
at software.aws.toolkits.core.credentials.DefaultToolkitCredentialsProviderManager.reloadFactories(ToolkitCredentialsProviderManager.kt:85)
at software.aws.toolkits.core.credentials.DefaultToolkitCredentialsProviderManager.<init>(ToolkitCredentialsProviderManager.kt:42)
at software.aws.toolkits.jetbrains.core.credentials.DefaultCredentialManager.<init>(CredentialManager.kt:41)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:88)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.createAndInitialize(ServiceManagerImpl.java:243)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.lambda$getComponentInstance$0(ServiceManagerImpl.java:232)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:192)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:231)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213)
at com.intellij.openapi.components.ServiceManager.doGetService(ServiceManager.java:75)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:44)
at software.aws.toolkits.jetbrains.core.credentials.CredentialManager$Companion.getInstance(CredentialManager.kt:27)
at software.aws.toolkits.jetbrains.core.credentials.DefaultProjectAccountSettingsManager.<init>(ProjectAccountSettingsManager.kt:126)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:88)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66)
at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.createAndInitialize(ServiceManagerImpl.java:243)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.lambda$getComponentInstance$0(ServiceManagerImpl.java:232)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:197)
at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:231)
at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246)
at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213)
at com.intellij.openapi.components.ServiceManager.doGetService(ServiceManager.java:75)
at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:49)
at software.aws.toolkits.jetbrains.core.credentials.ProjectAccountSettingsManager$Companion.getInstance(ProjectAccountSettingsManager.kt:103)
at software.aws.toolkits.jetbrains.core.AwsSettingsPanel.<init>(AwsSettingsPanel.kt:53)
at software.aws.toolkits.jetbrains.core.AwsSettingsPanelInstaller.runActivity(AwsSettingsPanel.kt:46)
at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:205)
at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runPostStartupActivitiesFromExtensions$2(StartupManagerImpl.java:172)
at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processWithPluginDescriptor(ExtensionPointImpl.java:321)
at com.intellij.openapi.extensions.ExtensionPointName.processWithPluginDescriptor(ExtensionPointName.java:140)
at com.intellij.ide.startup.impl.StartupManagerImpl.runPostStartupActivitiesFromExtensions(StartupManagerImpl.java:170)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$null$8(ProjectManagerImpl.java:407)
at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProjectUnderProgress(ProjectManagerImpl.java:471)
at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$openProject$9(ProjectManagerImpl.java:394)
at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:439)
at com.intellij.platform.PlatformProjectOpenProcessor.prepareAndOpenProject(PlatformProjectOpenProcessor.java:272)
at com.intellij.platform.PlatformProjectOpenProcessor.lambda$doOpenProject$0(PlatformProjectOpenProcessor.java:198)
at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:253)
at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:894)
at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:447)
at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:169)
at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:591)
at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:537)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:59)
at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:156)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$null$9(ApplicationImpl.java:552)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:294)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
2019-10-10 14:10:58,897 [ 32998] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 12332ms; general responsiveness: 5/12 sluggish; EDT responsiveness: 4/12 sluggish, 7/12 very slow
2019-10-10 14:11:00,335 [ 34436] INFO - tartup.impl.StartupManagerImpl - D:/Users/Me/Documents/ide-my-lab/.idea case-sensitivity: expected=false actual=false
2019-10-10 14:11:00,395 [ 34496] INFO - tellij.diagnostic.LoadingPhase - Reached PROJECT_OPENED loading phase
2019-10-10 14:11:00,414 [ 34515] INFO - #git4idea.commands.GitHandler - [.] git version
2019-10-10 14:11:01,674 [ 35775] INFO - #git4idea.commands.GitHandler - git version 2.21.0.windows.1
2019-10-10 14:11:01,936 [ 36037] INFO - tor.impl.FileEditorManagerImpl - Project opening took 21731 ms
2019-10-10 14:11:02,169 [ 36270] INFO - pl.ProjectRootManagerComponent - project roots have changed
2019-10-10 14:11:02,969 [ 37070] INFO - ea.config.GitExecutableManager - Git version for C:\Program Files\Git\cmd\git.exe : 2.21.0
2019-10-10 14:11:02,992 [ 37093] INFO - CompilerWorkspaceConfiguration - Available processors: 2
2019-10-10 14:11:04,666 [ 38767] INFO - s.roots.VcsRootProblemNotifier - Auto-registered following mappings: []
2019-10-10 14:11:05,395 [ 39496] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 311ms; general responsiveness: ok; EDT responsiveness: ok
2019-10-10 14:11:05,609 [ 39710] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 193ms; general responsiveness: ok; EDT responsiveness: ok
2019-10-10 14:11:06,304 [ 40405] INFO - tellij.diagnostic.LoadingPhase - Reached INDEXING_FINISHED loading phase
2019-10-10 14:11:07,611 [ 41712] WARN - gnostic.WindowsDefenderChecker - wmic Windows Defender check exited with status -2147217406: ERROR:
Description = Not found
2019-10-10 14:11:08,020 [ 42121] INFO - ings.impl.UpdateCheckerService - channel: release
2019-10-10 14:11:26,885 [ 60986] INFO - #git4idea.log.GitLogProvider - Fresh repository: file://D:/Users/Me/Documents/ide-my-lab
2019-10-10 14:12:04,556 [ 98657] INFO - rationStore.ComponentStoreImpl - Saving appCodeFoldingSettings took 49 ms, DiffSettings took 582 ms, FileTypeManager took 87 ms, TextMateSettings took 18 ms
2019-10-10 14:12:06,781 [ 100882] INFO - rationStore.ComponentStoreImpl - Saving Project 'D:\Users\Me\Documents\ide-my-lab' ide-my-labCompilerConfiguration took 13 ms
2019-10-10 14:12:06,782 [ 100883] INFO - mponents.impl.stores.StoreUtil - saveProjectsAndApp took 3135 ms
The fix for this random issue was to reset the key mappings back to their defaults.
File > Settings > Keymap > choose the default from the dropline list for your OS. In my case it was "Default for Windows"
Happy coding!

custom pycharm plugin always disabled

I tryed a very simple plugin (with just an AnAction), and when I run or deploy it the result is:
On PyCharm SDK: The plugin is disabled.
On Intellij Community Edition: it works as expected
PyCharm is my primary target, so I need it to works, but have no clue to debug it. I just see this in the logs of PyCharm, which show my plugin was indeed disabled:
2015-03-11 11:34:19,911 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - IDE: PyCharm Community Edition (build #PC-139.1001, 07 Jan 2015 00:00)
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - OS: Linux (3.11.10-25-desktop, amd64)
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - JRE: 1.7.0_71-b14 (Oracle Corporation)
2015-03-11 11:34:19,923 [ 12] INFO - #com.intellij.idea.Main - JVM: 24.71-b01 (Java HotSpot(TM) 64-Bit Server VM)
2015-03-11 11:34:19,925 [ 14] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -Dawt.useSystemAAFontSettings=lcd -Djb.vmOptionsFile=/home/b/tools/pycharm-community-4.0.4/bin/pycharm64.vmoptions -XX:ErrorFile=/home/b/java_error_in_PYCHARM_%p.log -Xbootclasspath/a:/home/b/tools/pycharm-community-4.0.4/bin/../lib/boot.jar -Didea.paths.selector=PyCharm40 -Didea.platform.prefix=PyCharmCore -Didea.no.jre.check=true -Djb.restart.code=88
2015-03-11 11:34:19,951 [ 40] INFO - #com.intellij.idea.Main - JNA library loaded (64-bit) in 26 ms
2015-03-11 11:34:20,148 [ 237] INFO - .intellij.idea.IdeaApplication - WM detected: KWin
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - 13 plugins initialized in 751 ms
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: CVS Integration (11), Git Integration (8.1), GitHub, IDEA CORE, IPython Notebook (0.1), Python ReStructureText Integration (VERSION), ReStructuredText Support (136.SNAPSHOT), Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), hg4idea (10.0)
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - Loaded custom plugins: Markdown (0.9.7)
2015-03-11 11:34:21,047 [ 1136] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Android View Client code helper (1.0)
You need to mark your plugin descriptor as compatible with IDEs other than IntelliJ IDEA, by adding the correct <depends> tag. See the documentation for more information.

Analyze SonarQube Eclipse - Caused by: org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15

I'm using Eclipse Luna (Build id: 20150109-0600, 64 bits) on Windows with SonarQube plugin (SonarQube Java Analyser 3.4.0.20140404-0949-RELEASE)
When I try to Run Analyze, the plugin can connect with the server and download the issues of the last analyze (the problems are shown on SonarQube Issues view), but after that there is this error:
java.lang.IllegalStateException: Error status [command: C:\Program Files\Java\jre8\bin\java.exe -cp D:\temp\sonar-runner-impl1326048247551966004.jar org.sonar.runner.impl.BatchLauncherMain D:\temp\sonar-project7307491695046280128.properties]: 1
at org.sonar.runner.api.ForkedRunner.fork(ForkedRunner.java:199)
at org.sonar.runner.api.ForkedRunner.doExecute(ForkedRunner.java:144)
at org.sonar.runner.api.Runner.execute(Runner.java:90)
at org.sonar.ide.eclipse.core.internal.jobs.AnalyseProjectJob.run(AnalyseProjectJob.java:343)
at org.sonar.ide.eclipse.core.internal.jobs.AnalyseProjectJob.run(AnalyseProjectJob.java:130)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
The strange thing is that in D:\temp there is no file sonar-runner-implXXX.jar or sonar-projectXXX.properties but there are files sonar-runner-batchXXX.jar (like sonar-runner-batch1316679692029245803.jar)
Another strange thing, the command line is using a JRE 8, but my JAVA_HOME is a JDK 7, the projet where I'm running the Analyze is configured to use a JDK 7 and all my "Installed Jres" on Eclipse are acctually JDKs.
Can someone help me?
========================================================================
Hi
1 - About the temp files, they are really created and then deleted (I made a test "monitoring" the temp file while running the Analyze)
2 - And I could even copy the files and run the command line by hand, in this case i could se the real stack trace:
C:\>c:\Progra~1\Java\jdk1.8.0\jre\bin\java.exe -cp D:\temp\sonar-runner-impl5987517469765765781.jar org.sonar.runner.impl.BatchLauncherMain D:\temp\sonar-project5904228863019510021.properties
INFO: SonarQube Server 4.3.2
14:01:54.841 INFO - Preview mode
14:01:54.851 INFO - Load batch settings
14:01:55.338 INFO - User cache: C:\Users\fred\.sonar\cache
14:01:55.353 INFO - Install plugins
14:01:55.391 INFO - Include plugins:
14:01:55.391 INFO - Exclude plugins: devcockpit, buildstability, pdfreport, report, buildbreaker, scmactivity, views, jira
Exception in thread "main" 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)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.impl.BatchLauncherMain.execute(BatchLauncherMain.java:41)
at org.sonar.runner.impl.BatchLauncherMain.main(BatchLauncherMain.java:59)
Caused by: org.sonar.api.utils.SonarException: You're not authorized to execute a dry run analysis. Please contact your SonarQube administrator.
at org.sonar.batch.bootstrap.ServerClient.handleHttpException(ServerClient.java:120)
at org.sonar.batch.bootstrap.ServerClient.download(ServerClient.java:71)
at org.sonar.batch.bootstrap.PreviewDatabase.downloadDatabase(PreviewDatabase.java:85)
at org.sonar.batch.bootstrap.PreviewDatabase.start(PreviewDatabase.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.invokeMethod(ReflectionLifecycleStrategy.java:110)
at org.picocontainer.lifecycle.ReflectionLifecycleStrategy.start(ReflectionLifecycleStrategy.java:89)
at org.picocontainer.injectors.AbstractInjectionFactory$LifecycleAdapter.start(AbstractInjectionFactory.java:84)
at org.picocontainer.behaviors.AbstractBehavior.start(AbstractBehavior.java:169)
at org.picocontainer.behaviors.Stored$RealComponentLifecycle.start(Stored.java:132)
at org.picocontainer.behaviors.Stored.start(Stored.java:110)
at org.picocontainer.DefaultPicoContainer.potentiallyStartAdapter(DefaultPicoContainer.java:1015)
at org.picocontainer.DefaultPicoContainer.startAdapters(DefaultPicoContainer.java:1008)
at org.picocontainer.DefaultPicoContainer.start(DefaultPicoContainer.java:766)
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:91)
at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
... 6 more
C:\>
3 - The real problem seems to be a lack of a permission...
But how can I give permission to "dry run analysis" to an user?
========================================================================
3 - I could solve the permission problem adding "Execute Preview Analysis" permission to the users.
4 - Now other error happened: Caused by: org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
And i have no clue about it...
C:\>c:\Progra~1\Java\jdk1.8.0\jre\bin\java.exe -cp D:\temp\sonar-runner-impl5987517469765765781.jar org.sonar.runner.impl.BatchLauncherMain D:\temp\sonar-project5904228863019510021.properties
INFO: SonarQube Server 4.3.2
14:53:18.370 INFO - Preview mode
14:53:18.389 INFO - Load batch settings
14:53:18.794 INFO - User cache: C:\Users\fred\.sonar\cache
14:53:18.814 INFO - Install plugins
14:53:18.854 INFO - Include plugins:
14:53:18.854 INFO - Exclude plugins: devcockpit, buildstability, pdfreport, report, buildbreaker, scmactivity, views, jira
14:53:19.550 INFO - Create JDBC datasource for jdbc:h2:D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core\.sonartmp\preview1422550399090-0
14:53:23.617 INFO - Initializing Hibernate
14:53:26.543 INFO - Load project settings
14:53:26.634 INFO - Apply project exclusions
14:53:26.862 INFO - ------------- Scan sgl
14:53:26.873 INFO - Load module settings
14:53:27.828 INFO - Loading technical debt model...
14:53:27.842 INFO - Loading technical debt model done: 14 ms
14:53:27.842 INFO - Loading rules...
14:53:28.111 INFO - Loading rules done: 269 ms
14:53:28.152 INFO - Configure Maven plugins
14:53:28.356 INFO - Compare to previous analysis (2015-01-29)
14:53:28.366 INFO - Compare over 30 days (2014-12-30, analysis of 2015-01-01 02:44:35.053)
14:53:28.376 INFO - Compare to previous version (2015-01-29)
14:53:28.376 INFO - No quality gate is configured.
14:53:28.485 INFO - Base dir: D:\workspaces\workspace-fred\sgl
14:53:28.485 INFO - Working dir: D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core
14:53:28.485 INFO - Source dirs: D:\workspaces\workspace-fred\sgl\webApplication, D:\workspaces\workspace-fred\sgl\clientconf, D:\workspaces\workspace-fred\sgl\src\java, D:\workspaces\workspace-fred\sgl\src\conf, D:\workspaces\workspace-fred\sgl\conf
14:53:28.485 INFO - Test dirs: D:\workspaces\workspace-fred\sgl\src\test
14:53:28.485 INFO - Binary dirs: D:\workspaces\workspace-fred\sgl\webApplication\WEB-INF\classes
14:53:28.485 INFO - Source encoding: UTF-8, default locale: en_US
14:53:28.485 INFO - Index files
14:53:46.434 INFO - 959 files indexed
14:53:50.916 INFO - Quality profile for java: Minds Java Profile
14:53:51.088 INFO - Sensor JavaSquidSensor...
14:53:51.223 INFO - Java Main Files AST scan...
14:53:51.227 INFO - 946 source files to be analyzed
14:54:01.229 INFO - 127/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\model\DatabaseVersion.java
14:54:11.240 INFO - 176/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\model\MaterialReservationStatus.java
14:54:21.269 INFO - 240/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\model\strategy\AbstractTicketChangeRequestStatusStrategy.java
14:54:31.299 INFO - 321/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\permission\ApplicationModuleStrategyCourse.java
14:54:36.119 ERROR - Class not found: org.slf4j.Logger
14:54:41.320 INFO - 455/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\web\action\ActionInitSaveCorrectiveMaintenance.java
14:54:51.324 INFO - 541/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\web\action\ActionListProvider.java
14:55:01.370 INFO - 614/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\web\action\ActionSearch.java
14:55:11.395 INFO - 674/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\web\dwr\MessageManager.java
14:55:21.398 INFO - 748/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\web\service\model\xstream\WsPackageTrackingMainData.java
14:55:23.288 ERROR - Class not found: javax.el.ELContext
14:55:23.650 ERROR - Class not found: javax.el.ELContext
14:55:23.781 ERROR - Class not found: javax.el.ELContext
14:55:23.890 ERROR - Class not found: javax.el.ELContext
14:55:24.429 ERROR - Class not found: javax.el.ELContext
14:55:24.531 ERROR - Class not found: javax.el.ELContext
14:55:24.657 ERROR - Class not found: javax.el.ELContext
14:55:24.757 ERROR - Class not found: javax.el.ELContext
14:55:24.877 ERROR - Class not found: javax.el.ELContext
14:55:24.982 ERROR - Class not found: javax.el.ELContext
14:55:25.102 ERROR - Class not found: javax.el.ELContext
14:55:25.212 ERROR - Class not found: javax.el.ELContext
14:55:25.332 ERROR - Class not found: javax.el.ELContext
14:55:25.437 ERROR - Class not found: javax.el.ELContext
14:55:25.537 ERROR - Class not found: javax.el.ELContext
14:55:25.639 ERROR - Class not found: javax.el.ELContext
14:55:25.731 ERROR - Class not found: javax.el.ELContext
14:55:25.931 ERROR - Class not found: javax.el.ELContext
14:55:26.022 ERROR - Class not found: javax.el.ELContext
14:55:26.127 ERROR - Class not found: javax.el.ELContext
14:55:26.295 ERROR - Class not found: javax.el.ELContext
14:55:26.398 ERROR - Class not found: javax.el.ELContext
14:55:26.479 ERROR - Class not found: javax.el.ELContext
14:55:26.560 ERROR - Class not found: javax.el.ELContext
14:55:26.665 ERROR - Class not found: javax.el.ELContext
14:55:26.786 ERROR - Class not found: javax.el.ELContext
14:55:26.878 ERROR - Class not found: javax.el.ELContext
14:55:27.438 ERROR - Class not found: javax.el.ELContext
14:55:27.741 ERROR - Class not found: javax.el.ELContext
14:55:28.152 ERROR - Class not found: javax.el.ELContext
14:55:28.366 ERROR - Class not found: javax.el.ELContext
14:55:28.457 ERROR - Class not found: javax.el.ELContext
14:55:28.556 ERROR - Class not found: javax.el.ELContext
14:55:28.631 ERROR - Class not found: javax.el.ELContext
14:55:28.709 ERROR - Class not found: javax.el.ELContext
14:55:28.801 ERROR - Class not found: javax.el.ELContext
14:55:28.873 ERROR - Class not found: javax.el.ELContext
14:55:28.953 ERROR - Class not found: javax.el.ELContext
14:55:29.026 ERROR - Class not found: javax.el.ELContext
14:55:29.355 ERROR - Class not found: javax.el.ELContext
14:55:29.435 ERROR - Class not found: javax.el.ELContext
14:55:29.624 ERROR - Class not found: javax.el.ELContext
14:55:29.694 ERROR - Class not found: javax.el.ELContext
14:55:31.380 INFO - 848/946 files analyzed, current is D:\workspaces\workspace-fred\sgl\src\java\br\com\mindsatwork\sgl\web\taglib\display\export\ReportExcelHssfView.java
14:55:31.436 ERROR - Class not found: javax.el.ELContext
14:55:31.536 ERROR - Class not found: javax.el.ELContext
14:55:39.628 INFO - 946/946 source files analyzed
14:55:39.791 INFO - Java Main Files AST scan done: 108568 ms
14:55:39.880 INFO - Java bytecode scan...
14:55:41.734 INFO - Java bytecode scan done: 1854 ms
14:55:41.734 INFO - Java Test Files AST scan...
14:55:41.735 INFO - 13 source files to be analyzed
14:55:41.964 INFO - Java Test Files AST scan done: 230 ms
14:55:41.964 INFO - 13/13 source files analyzed
14:55:42.290 INFO - Package design analysis...
14:55:43.038 INFO - Package design analysis done: 748 ms
14:55:43.509 INFO - Sensor JavaSquidSensor done: 112421 ms
14:55:43.509 INFO - Sensor QProfileSensor...
14:55:43.512 INFO - Sensor QProfileSensor done: 3 ms
14:55:43.512 INFO - Sensor PmdSensor...
14:55:43.515 INFO - Execute PMD 5.1.1...
14:55:43.546 INFO - Java version: 1.7
14:55:43.593 INFO - PMD configuration: D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core\pmd.xml
14:55:52.299 INFO - PMD configuration: D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core\pmd-unit-tests.xml
14:55:52.300 INFO - Execute PMD 5.1.1 done: 8785 ms
14:55:52.328 INFO - Sensor PmdSensor done: 8816 ms
14:55:52.328 INFO - Sensor SurefireSensor...
14:55:52.330 INFO - parsing D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core\build\surefire-reports
14:55:52.330 WARN - Reports path not found: D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core\build\surefire-reports
14:55:52.330 INFO - Sensor SurefireSensor done: 2 ms
14:55:52.330 INFO - Sensor InitialOpenIssuesSensor...
14:55:52.373 INFO - Sensor InitialOpenIssuesSensor done: 43 ms
14:55:52.374 INFO - Sensor ProfileEventsSensor...
14:55:52.396 INFO - Sensor ProfileEventsSensor done: 22 ms
14:55:52.396 INFO - Sensor ProjectLinksSensor...
14:55:52.409 INFO - Sensor ProjectLinksSensor done: 13 ms
14:55:52.410 INFO - Sensor FindbugsSensor...
14:55:52.412 INFO - Execute Findbugs 2.0.3...
14:55:53.888 INFO - Findbugs output report: D:\workspaces\workspace-fred\.metadata\.plugins\org.eclipse.core.resources\.projects\sgl\org.sonar.ide.eclipse.core\findbugs-result.xml
Exception in thread "main" 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)
at java.security.AccessController.doPrivileged(Native Method)
at org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)
at org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)
at org.sonar.runner.impl.BatchLauncherMain.execute(BatchLauncherMain.java:41)
at org.sonar.runner.impl.BatchLauncherMain.main(BatchLauncherMain.java:59)
Caused by: org.sonar.api.utils.SonarException: Can not execute Findbugs
at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:154)
at org.sonar.plugins.findbugs.FindbugsSensor.analyse(FindbugsSensor.java:59)
at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor.java:79)
at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:70)
at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:131)
at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:178)
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:199)
at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:194)
at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:187)
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:56)
at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:44)
at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.java:82)
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapContainer.java:175)
at org.sonar.batch.bootstrap.BootstrapContainer.doAfterStart(BootstrapContainer.java:163)
at org.sonar.api.platform.ComponentContainer.startComponents(ComponentContainer.java:92)
at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer.java:77)
at org.sonar.batch.bootstrapper.Batch.startBatch(Batch.java:92)
at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:74)
at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher.java:87)
... 6 more
Caused by: java.util.concurrent.ExecutionException: java.lang.ExceptionInInitializerError
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:206)
at org.sonar.plugins.findbugs.FindbugsExecutor.execute(FindbugsExecutor.java:146)
... 35 more
Caused by: java.lang.ExceptionInInitializerError
at edu.umd.cs.findbugs.detect.SerializableIdiom.visit(SerializableIdiom.java:609)
at edu.umd.cs.findbugs.visitclass.BetterVisitor.visitField(BetterVisitor.java:286)
at org.apache.bcel.classfile.Field.accept(Field.java:92)
at edu.umd.cs.findbugs.visitclass.PreorderVisitor.doVisitField(PreorderVisitor.java:266)
at edu.umd.cs.findbugs.visitclass.PreorderVisitor.visitJavaClass(PreorderVisitor.java:349)
at org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:214)
at edu.umd.cs.findbugs.detect.SerializableIdiom.visitClassContext(SerializableIdiom.java:133)
at edu.umd.cs.findbugs.DetectorToDetector2Adapter.visitClass(DetectorToDetector2Adapter.java:74)
at edu.umd.cs.findbugs.FindBugs2.analyzeApplication(FindBugs2.java:1209)
at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:282)
at org.sonar.plugins.findbugs.FindbugsExecutor$FindbugsTask.call(FindbugsExecutor.java:201)
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)
Caused by: org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
at org.apache.bcel.classfile.Constant.readConstant(Constant.java:147)
at org.apache.bcel.classfile.ConstantPool.<init>(ConstantPool.java:68)
at org.apache.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:237)
at org.apache.bcel.classfile.ClassParser.parse(ClassParser.java:143)
at org.apache.bcel.util.SyntheticRepository.loadClass(SyntheticRepository.java:179)
at org.apache.bcel.util.SyntheticRepository.loadClass(SyntheticRepository.java:127)
at edu.umd.cs.findbugs.ba.AnalysisContext.lookupSystemClass(AnalysisContext.java:501)
at edu.umd.cs.findbugs.DeepSubtypeAnalysis.<clinit>(DeepSubtypeAnalysis.java:39)
... 15 more
C:\>
========================================================================
Hi
Find a link that report the same error on tomcat and tells that it only happens with JDK 7.
So I change de JDK version used by the Analyze (the project is compiled with JDK 7 64 bits)
I tried:
JDK 6 32 bits: no error (but a lot of warnings "java.lang.UnsupportedClassVersionError" as project is compiled to java 7)
JDK 7 32 bits: no error
JDK 7 64 bits: no error
JDK 8 64 bits: Caused by: org.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 15
It seems that Sonar only support JDK 8 on recent versions, since 4.3.
But my Sonar server is 4.3.2, so it should support....
OBS: If I compile the project with JDK 8 and then do an Anylize I receive a different error:
...
Caused by: java.lang.ArrayIndexOutOfBoundsException: 7352
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at edu.umd.cs.findbugs.asm.FBClassReader.accept(FBClassReader.java:44)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:110)
at edu.umd.cs.findbugs.classfile.engine.ClassParserUsingASM.parse(ClassParserUsingASM.java:587)
at edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:76)
at edu.umd.cs.findbugs.classfile.engine.ClassInfoAnalysisEngine.analyze(ClassInfoAnalysisEngine.java:38)
at edu.umd.cs.findbugs.classfile.impl.AnalysisCache.getClassAnalysis(AnalysisCache.java:268)
at edu.umd.cs.findbugs.ba.XFactory.getXClass(XFactory.java:652)
at edu.umd.cs.findbugs.ba.AnalysisContext.setAppClassList(AnalysisContext.java:932)
at edu.umd.cs.findbugs.FindBugs2.setAppClassList(FindBugs2.java:997)
at edu.umd.cs.findbugs.FindBugs2.execute(FindBugs2.java:225)
at org.sonar.plugins.findbugs.FindbugsExecutor$FindbugsTask.call(FindbugsExecutor.java:201)
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)
I had the exactly the same problem.
The issue was that our sonar server was working with java 7, while the eclipse sonarQube plugin was working with java 8.
(You can check that from Help->About Eclipse -> Installation Details -> Configuration tab)
I managed to solve the issue by adding bellow to the eclipse.ini file (located under the eclipse installation library.
-vm
C:\Program Files (x86)\Java\jdk1.7.0_72\bin\javaw.exe
(this should come above -vmargs)