Intellij IDEA StackOverflow error when building project - java
I'm working with Intellij IDEA Community Edition, having a maven project with 6 modules and 122 classes in total.
When I'm trying to run the main class from one of the sub-modules, IDEA first builds the project and this is when I get the StackOverflowError message. Of course it happens when I just build the project.
It looks like this:
Information:javac 1.8.0_25 was used to compile java sources
Information:09/08/2018 14:44 - Compilation completed with 1 error and 1 warning in 5 s 57 ms
Error:java: java.lang.StackOverflowError
IDEA version is: 2018.1.6
I tried reinstalling the same version and installing a previous version 2016.x.x (don't remember exactly). Also tried the solution with -Xss4m suggested here , but with no success. I don't have this problem on other similar projects (maven with modules).
Does anyone know why this could happen or how can I investigate the problem?
Might it be related to lombok (I'm using the lombok plugin in IDEA)?
UPDATE:
I add the build logs below:
```
2018-08-09 15:00:10,503 [ 116169] INFO - .incremental.IncProjectBuilder - Building project; isRebuild:false; isMake:true parallel compilation:false
2018-08-09 15:00:10,573 [ 116239] INFO - .incremental.IncProjectBuilder - Cleaned output directories in 6 ms
2018-08-09 15:00:10,731 [ 116397] INFO - s.incremental.java.JavaBuilder - Compiling 24 java files; module: PROJECT_XXX_MODULE1
2018-08-09 15:00:13,261 [ 118927] INFO - s.incremental.java.JavaBuilder - java.lang.StackOverflowError
java.lang.RuntimeException: java.lang.StackOverflowError
at com.sun.tools.javac.main.Main.compile(Main.java:553)
at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:198)
at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:453)
at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:317)
at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:244)
at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:202)
at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1314)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:991)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1063)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:954)
at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:787)
at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:376)
at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:183)
at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)
at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:308)
at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:137)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:235)
at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$$Lambda$26/31644974.run(Unknown Source)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl.lambda$executeOnPooledThread$0(SharedThreadPoolImpl.java:42)
at org.jetbrains.jps.service.impl.SharedThreadPoolImpl$$Lambda$8/7438855.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.StackOverflowError
at com.sun.tools.javac.code.Types$UnaryVisitor.visit(Types.java:4532)
at com.sun.tools.javac.code.Types.supertype(Types.java:2295)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1956)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1945)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:778)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4451)
at com.sun.tools.javac.code.Types.asSuper(Types.java:1942)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1958)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1945)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:778)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4451)
at com.sun.tools.javac.code.Types.asSuper(Types.java:1942)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1965)
at com.sun.tools.javac.code.Types$13.visitClassType(Types.java:1945)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:778)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4451)
at com.sun.tools.javac.code.Types.asSuper(Types.java:1942)
at com.sun.tools.javac.code.Types$4.visitClassType(Types.java:918)
at com.sun.tools.javac.code.Types$4.visitClassType(Types.java:841)
at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:778)
at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4451)
at com.sun.tools.javac.code.Types.isSubtype(Types.java:837)
at com.sun.tools.javac.code.Types.isSubtype(Types.java:801)
at com.sun.tools.javac.code.Types.isSubtypeUncheckedInternal(Types.java:754)
at com.sun.tools.javac.code.Types.isSubtypeUnchecked(Types.java:738)
at com.sun.tools.javac.code.Types.isConvertible(Types.java:296)
at com.sun.tools.javac.code.Types.isAssignable(Types.java:2154)
at com.sun.tools.javac.code.Types.isAssignable(Types.java:2115)
at com.sun.tools.javac.model.JavacTypes.isAssignable(JavacTypes.java:104)
at org.springframework.boot.configurationprocessor.TypeUtils.isCollectionOrMap(TypeUtils.java:153)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processSimpleTypes(ConfigurationMetadataAnnotationProcessor.java:221)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processTypeElement(ConfigurationMetadataAnnotationProcessor.java:201)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedType(ConfigurationMetadataAnnotationProcessor.java:331)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedTypes(ConfigurationMetadataAnnotationProcessor.java:286)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processTypeElement(ConfigurationMetadataAnnotationProcessor.java:203)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedType(ConfigurationMetadataAnnotationProcessor.java:331)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedTypes(ConfigurationMetadataAnnotationProcessor.java:286)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processTypeElement(ConfigurationMetadataAnnotationProcessor.java:203)
[............almost 1000 of the same calls looping between them......]
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedType(ConfigurationMetadataAnnotationProcessor.java:331)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedTypes(ConfigurationMetadataAnnotationProcessor.java:286)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processTypeElement(ConfigurationMetadataAnnotationProcessor.java:203)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedType(ConfigurationMetadataAnnotationProcessor.java:331)
at org.springframework.boot.configurationprocessor.ConfigurationMetadataAnnotationProcessor.processNestedTypes(ConfigurationMetadataAnnotationProcessor.java:286)
2018-08-09 15:00:13,287 [ 118953] INFO - brains.jps.incremental.Builder - Dependency analysis found 0 affected files
2018-08-09 15:00:13,289 [ 118955] INFO - s.incremental.java.JavaBuilder - javac 1.8.0_25 was used to compile [PROJECT_XXX_MODULE1]
2018-08-09 15:00:13,972 [ 0] INFO - etbrains.jps.cmdline.BuildMain - ==================================================
2018-08-09 15:00:13,973 [ 1] INFO - etbrains.jps.cmdline.BuildMain - Build process started. Classpath: C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2018.1.6/lib/jps-launcher.jar;C:/jdk/jdk1.8.0_25-windows-i586/lib/tools.jar;C:/Program Files/JetBrains/IntelliJ IDEA Community Edition 2018.1.6/lib/optimizedFileManager.jar
2018-08-09 15:00:14,351 [ 379] INFO - etbrains.jps.cmdline.BuildMain - Connection to IDE established in 348 ms
2018-08-09 15:00:14,370 [ 398] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2018-08-09 15:00:14,415 [ 443] INFO - jps.cmdline.JpsModelLoaderImpl - Loading model: project path = C:/PROJECT_XXX, global options path = C:/Users/me/.IdeaIC2018.1/config/options
2018-08-09 15:00:14,828 [ 856] INFO - jps.cmdline.JpsModelLoaderImpl - Model loaded in 413 ms
2018-08-09 15:00:14,829 [ 857] INFO - jps.cmdline.JpsModelLoaderImpl - Project has 6 modules, 176 libraries
2018-08-09 15:00:14,970 [ 998] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=656
2018-08-09 15:00:15,223 [ 1251] INFO - etbrains.jps.cmdline.BuildMain - Pre-loaded process ready in 1252 ms
```
Update 2: As suggested by Wiciaq123 I set Xmx to 4G but didn't change the behaviour. My vm options are:
# custom IntelliJ IDEA VM options
-Xms512m
-Xmx4096m
-Xss512m
-XX:ReservedCodeCacheSize=240m
-XX:+UseG1GC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
Related
codeql java analysis is failing with ant build without giving proper hint
Any pointer why my codeql analysis is failing ? I am not getting any indication in log. Once Analysis ends, it also deletes all files from _work/_temp thus I am unable to see what's happening. Here is my yml to start the code ql analysis name: "CodeQL CI Workflow" env: CATALINA_HOME: "/apps/tomcat/apache-tomcat-9.0.44" JAVA_HOME: "/apps/jdk1.8.0_231" on: push: branches: - master - support/* pull_request: branches: - master - support/* jobs: code_ql_scan: runs-on: [ rhelcicd ] environment: dev strategy: fail-fast: false matrix: language: [ 'java' ] steps: - run: env - uses: actions/checkout#v2 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init#v1 with: debug: true languages: ${{ matrix.language }} config-file: ./.github/codeql/codeql-config.yml - name: Building application using ant run: ant -f build.xml -Dfile.encoding=ISO-8859-1 -Ddir.javadevlib=./javadevlib -Ddir.deploy=./built_artifact -Dapp.name=my-webapp # Perform the CodeQL Analysis on compiled code by Ant - name: Perform CodeQL Analysis uses: github/codeql-action/analyze#v1 with: debug: true - name: Cleanup if: ${{ always() }} run: docker ps -q | xargs -n 1 -P 8 -I {} docker stop {} - run : pwd - run : ls Here is my query config file ( ./.github/codeql/codeql-config.yml ) name: "CodeQL config" queries: - uses: security-and-quality - uses: security-extended paths-ignore: - .idea - .m2 - conf - etc - public_html - ssccloud - xmlfiles - lib - javadevlib Here is the log ...................................... lots of other CWE processing logs ........................................................... 2022-02-04T20:51:05.1870388Z [27/178] Found in cache: /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-502/UnsafeDeserialization.ql. 2022-02-04T20:51:05.1871797Z Compiling query plan for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-611/XXE.ql. 2022-02-04T20:51:05.1873100Z Resolving imports for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-611/XXE.ql. 2022-02-04T20:51:05.1874485Z Compiling query plan for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-614/InsecureCookie.ql. 2022-02-04T20:51:05.1876013Z Resolving imports for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-614/InsecureCookie.ql. 2022-02-04T20:51:05.1877647Z Compilation cache hit for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-614/InsecureCookie.ql. 2022-02-04T20:51:05.1879200Z [28/178] Found in cache: /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-614/InsecureCookie.ql. 2022-02-04T20:51:05.1880653Z Compiling query plan for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-643/XPathInjection.ql. 2022-02-04T20:51:05.1882101Z Resolving imports for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-643/XPathInjection.ql. 2022-02-04T20:51:05.1883909Z Compilation cache hit for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-611/XXE.ql. 2022-02-04T20:51:05.1885185Z [29/178] Found in cache: /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-611/XXE.ql. 2022-02-04T20:51:05.1886658Z Compiling query plan for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-java/Security/CWE/CWE-681/NumericCastTainted.ql. 2022-02-04T20:51:05.1887950Z Resolving imports for /home/actions/actions-runner/_work/_tool/CodeQL/0.0.0-20211005/x64/codeql/qlpacks/codeql-j 2022-02-04T20:51:05.1889117Z at runQueries (/home/actions/actions-runner/_work/_actions/github/codeql-action/v1/lib/analyze.js:193:19) 2022-02-04T20:51:05.1890035Z at processTicksAndRejections (internal/process/task_queues.js:93:5) { 2022-02-04T20:51:05.1890832Z name: 'CodeQLAnalysisError', 2022-02-04T20:51:05.1891564Z queriesStatusReport: { analyze_failure_language: 'java' } 2022-02-04T20:51:05.1892054Z } 2022-02-04T20:51:05.3776434Z Post job cleanup. 2022-02-04T20:51:05.8506780Z Cleaning up orphan processes
soapui window disappears after few sec
I have installed SoapUI 5.5.0 in rhel 7.8 server and trying to open it via MobaXterm on windows 10 local desktop. When i run soapui.sh, soapui window opens up and display below messages on server, #./soapui.sh ================================ = = SOAPUI_HOME = /opt/SoapUI-5.5.0 = ================================ Configuring log4j from [/opt/SoapUI-5.5.0/bin/soapui-log4j.xml] 16:52:38,534 INFO [DefaultSoapUICore] Creating new settings at [/root/soapui-settings.xml] 16:52:39,328 INFO [PluginManager] 0 plugins loaded in 2 ms 16:52:39,328 INFO [DefaultSoapUICore] All plugins loaded Configuring log4j from [/opt/SoapUI-5.5.0/bin/soapui-log4j.xml] 16:52:39,556 INFO [DefaultSoapUICore] Creating new settings at [/root/soapui-settings.xml] 16:52:39,601 INFO [PluginManager] 0 plugins loaded in 11 ms 16:52:39,601 INFO [DefaultSoapUICore] All plugins loaded 16:52:39,844 INFO [SoapUI] Used java version: 1.8.0_221 It opens another window called as 'Stay Tuned!'. As soon as i click on 'Yes, I want to know' or 'skip' button it gives below error on linux server and soapui window disappears. Exception in thread "Thread-12" sun.reflect.generics.reflectiveObjects.NotImplementedException at com.smartbear.analytics.impl.SoapUIOSMixpanelProvider.trackError(SoapUIOSMixpanelProvider.java:53) at com.smartbear.analytics.AnalyticsManager$1.run(AnalyticsManager.java:55) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) libGL error: unable to load driver: swrast_dri.so libGL error: failed to load driver: swrast Prism-ES2 Error : GL_VERSION (major.minor) = 1.4 java.lang.UnsupportedOperationException: Internal Error at com.sun.glass.ui.gtk.GtkApplication.lambda$new$5(GtkApplication.java:158) at java.security.AccessController.doPrivileged(Native Method) at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:140) at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41) at com.sun.glass.ui.Application.run(Application.java:146) at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:278) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:211) at javafx.embed.swing.JFXPanel.lambda$initFx$2(JFXPanel.java:232) at java.lang.Thread.run(Thread.java:748) Its a vm on vmware platform and have driver as below. 00:0f.0 VGA compatible controller: VMware SVGA II Adapter (prog-if 00 [VGA controller]) Subsystem: VMware SVGA II Adapter Flags: bus master, medium devsel, latency 64, IRQ 16 I/O ports at 1070 [size=16] Memory at e8000000 (32-bit, prefetchable) [size=128M] Memory at fe000000 (32-bit, non-prefetchable) [size=8M] [virtual] Expansion ROM at c0400000 [disabled] [size=32K] Capabilities: [40] Vendor Specific Information: Len=00 <?> Capabilities: [44] PCI Advanced Features Kernel driver in use: vmwgfx Kernel modules: vmwgfx I have below libgl related packages installed on server. # rpm -qa |grep -i libGL libglvnd-1.0.1-0.8.git5baa1e5.el7.x86_64 libglvnd-opengl-1.0.1-0.8.git5baa1e5.el7.x86_64 mesa-libGL-18.3.4-10.el7.x86_64 mesa-libglapi-18.3.4-10.el7.x86_64 libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64 libglvnd-egl-1.0.1-0.8.git5baa1e5.el7.x86_64 libglvnd-gles-1.0.1-0.8.git5baa1e5.el7.x86_64 libglvnd-core-devel-1.0.1-0.8.git5baa1e5.el7.x86_64 mesa-libGLU-devel-9.0.0-4.el7.x86_64 libglvnd-devel-1.0.1-0.8.git5baa1e5.el7.x86_64 mesa-libGL-devel-18.3.4-10.el7.x86_64 mesa-libGLU-9.0.0-4.el7.x86_64 Can you please let me know how to fix this issue? Thanks,
The below line in /opt/SoapUI-5.5.0/bin/soapui.sh was uncommented to disable the browser component. After his, the SoapUI was no longer crashing as before. #uncomment to disable browser component JAVA_OPTS="$JAVA_OPTS -Dsoapui.browser.disabled=true"
Weblogic fails when launched from IntelliJ Idea: Error: Could not find or load main class :
I was hoping to get help with getting IntelliJ Idea to launch Weblogic 12.1.3.0.0. It was working fine until my project upgraded it's version of Java from 1.7 to 1.8. The server and application works fine when being started from the Weblogic scripts, but I am unable to debug this way. Note I can't launch the server even with nothing set up to deploy. Other members of my team were able to upgrade just fine without an issue like this, so it's not the code base. I've upgraded the project's version in IntelliJ and that did not work. Here is the exception from the IntelliJ log, but it's not helpful. WARN - erver.JavaeeServerInstanceImpl - Unable to ping server at localhost:7001 2018-03-02 08:42:41,600 [ 113611] WARN - erver.JavaeeServerInstanceImpl - Unable to ping server at localhost:7001 2018-03-02 08:42:41,601 [ 113612] INFO - notification.NotificationGroup - Notification group JavaEE is already registered java.lang.Throwable at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:65) at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:50) at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:82) at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:87) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.createConnectErrorNotification(JavaeeServerInstanceImpl.java:356) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl$ConnectLogger.reportError(JavaeeServerInstanceImpl.java:542) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.disconnect(JavaeeServerInstanceImpl.java:183) at com.intellij.javaee.oss.server.JavaeeServerConnector$1.processTerminated(JavaeeServerConnector.java:29) at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99) at com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35) at com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79) at com.sun.proxy.$Proxy16.processTerminated(Unknown Source) at com.intellij.javaee.run.execution.J2EEProcessHandlerWrapper$2.processTerminated(J2EEProcessHandlerWrapper.java:104) at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.execution.process.ProcessHandler$4.invoke(ProcessHandler.java:227) at com.sun.proxy.$Proxy16.processTerminated(Unknown Source) at com.intellij.execution.process.ProcessHandler$3.run(ProcessHandler.java:184) at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:260) at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:165) at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:161) at com.intellij.execution.process.BaseOSProcessHandler.onOSProcessTerminated(BaseOSProcessHandler.java:192) at com.intellij.execution.process.OSProcessHandler.onOSProcessTerminated(OSProcessHandler.java:92) at com.intellij.javaee.run.execution.LocalJavaeeServerProcessHandler.onOSProcessTerminated(LocalJavaeeServerProcessHandler.java:89) at com.intellij.execution.process.BaseOSProcessHandler$2$1.consume(BaseOSProcessHandler.java:155) at com.intellij.execution.process.BaseOSProcessHandler$2$1.consume(BaseOSProcessHandler.java:140) at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:62) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) 2018-03-02 08:43:46,027 [ 178038] WARN - erver.JavaeeServerInstanceImpl - Unable to ping server at localhost:7001 2018-03-02 08:43:46,027 [ 178038] INFO - notification.NotificationGroup - Notification group JavaEE is already registered java.lang.Throwable at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:65) at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:50) at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:82) at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:87) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.createConnectErrorNotification(JavaeeServerInstanceImpl.java:356) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl$ConnectLogger.reportError(JavaeeServerInstanceImpl.java:542) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.disconnect(JavaeeServerInstanceImpl.java:183) at com.intellij.javaee.oss.server.JavaeeServerConnector$1.processTerminated(JavaeeServerConnector.java:29) at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:99) at com.intellij.util.EventDispatcher.access$200(EventDispatcher.java:35) at com.intellij.util.EventDispatcher$2.invoke(EventDispatcher.java:79) at com.sun.proxy.$Proxy16.processTerminated(Unknown Source) at com.intellij.javaee.run.execution.J2EEProcessHandlerWrapper$2.processTerminated(J2EEProcessHandlerWrapper.java:104) at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.execution.process.ProcessHandler$4.invoke(ProcessHandler.java:227) at com.sun.proxy.$Proxy16.processTerminated(Unknown Source) at com.intellij.execution.process.ProcessHandler$3.run(ProcessHandler.java:184) at com.intellij.execution.process.ProcessHandler$TasksRunner.execute(ProcessHandler.java:260) at com.intellij.execution.process.ProcessHandler.notifyTerminated(ProcessHandler.java:165) at com.intellij.execution.process.ProcessHandler.notifyProcessTerminated(ProcessHandler.java:161) at com.intellij.execution.process.BaseOSProcessHandler.onOSProcessTerminated(BaseOSProcessHandler.java:192) at com.intellij.execution.process.OSProcessHandler.onOSProcessTerminated(OSProcessHandler.java:92) at com.intellij.javaee.run.execution.LocalJavaeeServerProcessHandler.onOSProcessTerminated(LocalJavaeeServerProcessHandler.java:89) at com.intellij.execution.process.BaseOSProcessHandler$2$1.consume(BaseOSProcessHandler.java:155) at com.intellij.execution.process.BaseOSProcessHandler$2$1.consume(BaseOSProcessHandler.java:140) at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:62) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) In the console, I see this: C:\Oracle\Middleware\Oracle_Home\user_projects\domains\project\startWebLogic.cmd "C:\Program Files\Java\jdk1.8.0_162\bin\java" -Dfile.encoding=windows-1252 -classpath "C:\Oracle\Middleware\Odracle_Home\wlserver\server\lib\weblogic.jar;C:\Oracle\Middleware\Oracle_Home\wlserver\server\lib\wljmxclient.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\plugins\weblogicIntegration\lib\weblogicIntegration.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\plugins\JavaEE\lib\javaee-impl.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\lib\openapi.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\lib\util.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2017.2.1\plugins\weblogicIntegration\lib\specifics\weblogicSpecifics.jar" com.intellij.javaee.oss.process.JavaeeProcess 50145 com.intellij.javaee.weblogic.agent.WebLogicAgent9 [2018-03-02 09:06:03,645] Artifact project3:ear: Waiting for server connection to start artifact deployment... Detected server http port: 7001 [2018-03-02 09:06:03,645] Artifact project2:ear: Waiting for server connection to start artifact deployment... java version "1.8.0_162" [2018-03-02 09:06:03,646] Artifact project1:ear: Waiting for server connection to start artifact deployment... Java(TM) SE Runtime Environment (build 1.8.0_162-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode) . . JAVA Memory arguments: : -Xms3072m -Xmx3072m -XX:PermSize=1024M -XX:MaxPermSize=1024M . CLASSPATH=C:\PROGRA~1\Java\JDK18~1.0_1\lib\tools.jar;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic_sp.jar;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.jar;C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\net.sf.antcontrib_1.1.0.0_1-0b3\lib\ant-contrib.jar;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\modules\features\oracle.wls.common.nodemanager_2.0.0.0.jar;C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\com.oracle.cie.config-wls-online_8.1.0.0.jar;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derbyclient.jar;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\common\derby\lib\derby.jar;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\xqrl.jar . PATH=;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\native\win\x64;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\bin;C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\org.apache.ant_1.9.2\bin;C:\PROGRA~1\Java\JDK18~1.0_1\jre\bin;C:\PROGRA~1\Java\JDK18~1.0_1\bin;C:\PROGRA~3\Oracle\Java\javapath;C:\PROGRA~2\Intel\ICLSCL~1\;C:\PROGRA~1\Intel\ICLSCL~1\;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WINDOW~1\v1.0\;C:\PROGRA~2\Intel\INTEL(~1\DAL;C:\PROGRA~1\Intel\INTEL(~3\DAL;C:\PROGRA~2\Intel\INTEL(~1\IPT;C:\PROGRA~1\Intel\INTEL(~3\IPT;C:\PROGRA~1\TORTOI~1\bin;C:\PROGRA~1\Git\cmd;C:\PROGRA~1\Maven\APACHE~1.0\bin;C:\PROGRA~1\Java\JDK18~1.0_1\bin;C:\HASHIC~1\Vagrant\bin;C:\PROGRA~2\OpenSSH\bin;C:\PROGRA~1\PuTTY\;C:\Users\jorell\AppData\Local\MICROS~1\WINDOW~1;C:\PROGRA~1\Java\JDK18~1.0_1\bin;C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\native\win\x64\oci920_8 . *************************************************** * To start WebLogic Server, use a username and * * password assigned to an admin-level user. For * * server administration, use the WebLogic Server * * console at http:\\hostname:port\console * *************************************************** starting weblogic with Java version: Starting WLS with line: C:\PROGRA~1\Java\JDK18~1.0_1\bin\java -server : -Xms3072m -Xmx3072m -XX:PermSize=1024M -XX:MaxPermSize=1024M -Dweblogic.Name=AdminServer -Djava.security.policy=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server\lib\weblogic.policy -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:54748,suspend=y,server=n -Xverify:none -Djava.endorsed.dirs=C:\PROGRA~1\Java\JDK18~1.0_1\jre\lib\endorsed;C:\Oracle\MIDDLE~1\ORACLE~1\oracle_common\modules\endorsed -da -Dwls.home=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server -Dweblogic.home=C:\Oracle\MIDDLE~1\ORACLE~1\wlserver\server -Djava.security.egd=file:/dev/./urandom -Dlog4j.configuration=file:var/project/log4j2.xml weblogic.Server Error: Could not find or load main class : Disconnected from server Here is the full IntelliJ Log as requested 2018-03-09 08:34:29,717 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 2018-03-09 08:34:29,730 [ 13] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0 2018-03-09 08:34:29,730 [ 13] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.0 (IDE-managed HiDPI) 2018-03-09 08:34:29,739 [ 22] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-173.4548.28, 29 Jan 2018 17:29) 2018-03-09 08:34:29,739 [ 22] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64) 2018-03-09 08:34:29,739 [ 22] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1024-b11 (JetBrains s.r.o) 2018-03-09 08:34:29,741 [ 24] INFO - #com.intellij.idea.Main - JVM: 25.152-b11 (OpenJDK 64-Bit Server VM) 2018-03-09 08:34:29,744 [ 27] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\bin \idea64.exe.vmoptions -Xbootclasspath/a:C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\lib\boot.jar -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IntelliJIdea2017.3 -XX:ErrorFile=C:\Users\jorell \java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\jorell \java_error_in_idea.hprof 2018-03-09 08:34:29,746 [ 29] INFO - #com.intellij.idea.Main - ForkJoinPool.commonPool: java.util.concurrent.ForkJoinPool#ea1ab27[Running, parallelism = 7, size = 0, active = 0, running = 0, steals = 0, tasks = 0, submissions = 0] 2018-03-09 08:34:29,747 [ 30] INFO - #com.intellij.idea.Main - ext: C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\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] 2018-03-09 08:34:29,747 [ 30] INFO - #com.intellij.idea.Main - JNU charset: Cp1252 2018-03-09 08:34:29,781 [ 64] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 34 ms 2018-03-09 08:34:29,783 [ 66] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational 2018-03-09 08:34:31,623 [ 1906] INFO - llij.ide.plugins.PluginManager - 130 plugins initialized in 1101 ms 2018-03-09 08:34:31,640 [ 1923] INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: ASP (0.1), Android Support (10.2.3), AngularJS (173.4548.28), Ant Support (1.0), Application Servers View (0.2.0), AspectJ Support (1.2), Bytecode Viewer (0.1), CFML Support (3.53), CSS Support (173.4548.28), CVS Integration (11), Cloud Foundry integration (1.0), CloudBees integration (1.0), CoffeeScript (2.0), Copyright (8.1), Coverage (173.4548.28), Cucumber for Groovy (999.999), Cucumber for Java (999.999), DSM Analysis (1.0.0), Database Tools and SQL (173.4548.28), Eclipse Integration (3.0), EditorConfig (173.4548.28), Emma (173.4548.28), Flash/Flex Support (173.4548.28), FreeMarker support (1.0), GWT Support (1.0), Geronimo Integration (1.0), Gherkin (999.999), Git Integration (8.1), GitHub (173.4548.28), GlassFish Integration (1.0), Google App Engine Integration (1.1.4), Gradle (173.4548.28), Grails (9.0), Groovy (9.0), Guice (8.0), HTML Tools (2.0), Haml (173.4548.28), Heroku integration (173.4548.28), Hibernate Support (1.0), I18n for Java (173.4548.28), IDE Settings Sync (173.4548.28), IDEA CORE (173.4548.28), 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 (173.4548.28), 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 (173.4548.28), JavaFX (1.0), JavaScript Debugger (1.0), JavaScript Intention Power Pack (0.9.4), JavaScript Support (1.0), Jetty Integration (1.0), Kotlin (1.2.10-release- IJ2017.3-1), Less support (173.4548.28), Markdown support (173.4548.28), Maven Integration (173.4548.28), Maven Integration Extension (173.4548.28), Mercurial Integration (10.0), OpenShift integration (1.0), Osmorc (1.4.11), Perforce Integration (2.0), Persistence Frameworks Support (1.0), Playframework Support (1.0), Plugin DevKit (1.0), Properties Support (173.4548.28), QuirksMode (173.4548.28), REST Client (173.4548.28), Refactor-X (2.01), Remote Hosts Access (0.1), Resin Integration (8.1), SSH Remote Run (0.1), Sass support (173.4548.28), Settings Repository (173.4548.28), 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 (173.4548.28), Struts 1.x (2.0), Struts 2 (1.0), Stylus support (999.999), Subversion Integration (1.1), TFS Integration (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 (173.4548.28), UML Support (1.0), Vaadin Support (1.0), Velocity support (1.0), W3C Validators (2.0), WebLogic Integration (1.0), WebSphere Integration (1.0), XPathView + XSLT Support (4), XSLT-Debugger (1.4), YAML (173.4548.28), ZKM-Unscramble (1.0), dmServer Support (0.9.5), tslint (173.4548.28) 2018-03-09 08:34:33,200 [ 3483] INFO - cloudConfig.CloudConfigManager - === Start.updateInitStatus === 2018-03-09 08:34:33,204 [ 3487] INFO - cloudConfig.CloudConfigManager - === Start: JBA_NOT_CONNECTED === 2018-03-09 08:34:33,204 [ 3487] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus === 2018-03-09 08:34:33,246 [ 3529] INFO - til.net.ssl.CertificateManager - Default SSL context initialized 2018-03-09 08:34:33,288 [ 3571] INFO - ellij.util.io.PagedFileStorage - lower=100; upper=500; buffer=10; max=705 2018-03-09 08:34:33,350 [ 3633] INFO - pl.local.NativeFileWatcherImpl - Starting file watcher: C:\Program Files\JetBrains\IntelliJ IDEA 2017.3.4\bin\fsnotifier64.exe 2018-03-09 08:34:33,366 [ 3649] INFO - pl.local.NativeFileWatcherImpl - Native file watcher is operational. 2018-03-09 08:34:33,847 [ 4130] INFO - .cloudConfig.CloudConfigClient - === Get cloud config URL: https://cloudconfig.jetbrains.com/cloudconfig/files === 2018-03-09 08:34:34,038 [ 4321] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=0.0; restored: fontSize=12, fontScale=1.0 2018-03-09 08:34:34,327 [ 4610] INFO - cloudConfig.CloudConfigManager - === calculateInitStatus.value: JBA_NOT_CONNECTED === 2018-03-09 08:34:34,397 [ 4680] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.OptionsTopHitProvider$Activity#1b915f3a 2018-03-09 08:34:34,547 [ 4830] INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342 2018-03-09 08:34:34,588 [ 4871] INFO - gs.impl.UpdateCheckerComponent - channel: release 2018-03-09 08:34:34,831 [ 5114] INFO - il.indexing.FileBasedIndexImpl - Index exts enumerated:198 2018-03-09 08:34:34,839 [ 5122] INFO - il.indexing.FileBasedIndexImpl - Index scheduled:7 2018-03-09 08:34:34,875 [ 5158] INFO - tellij.psi.stubs.StubIndexImpl - All stub exts enumerated:30 2018-03-09 08:34:34,875 [ 5158] INFO - tellij.psi.stubs.StubIndexImpl - stub exts update scheduled:0 2018-03-09 08:34:35,374 [ 5657] INFO - plication.impl.ApplicationImpl - 98 application components initialized in 4856ms 2018-03-09 08:34:35,388 [ 5671] INFO - .intellij.idea.IdeaApplication - App initialization took 6600 ms 2018-03-09 08:34:36,482 [ 6765] INFO - pl$FileIndexDataInitialization - Initialization done:1643 2018-03-09 08:34:36,741 [ 7024] INFO - exImpl$StubIndexInitialization - Initialization done:258 2018-03-09 08:34:36,864 [ 7147] INFO - com.intellij.ide.ui.UISettings - Loaded: fontSize=12, fontScale=1.0; restored: fontSize=12, fontScale=1.0 2018-03-09 08:34:37,256 [ 7539] INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader#3babebcd 2018-03-09 08:34:37,257 [ 7540] INFO - CompilerWorkspaceConfiguration - Available processors: 8 2018-03-09 08:34:37,271 [ 7554] INFO - pl.projectlevelman.NewMappings - VCS Root: [] - [<Project>] 2018-03-09 08:34:37,274 [ 7557] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [C:/Users/jorell/gitlab/project] 2018-03-09 08:34:38,959 [ 9242] INFO - ellij.project.impl.ProjectImpl - 177 project components initialized in 2883 ms 2018-03-09 08:34:39,474 [ 9757] INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader#56f19300 2018-03-09 08:34:39,650 [ 9933] INFO - le.impl.ModuleManagerComponent - 36 module(s) loaded in 690 ms 2018-03-09 08:34:39,956 [ 10239] INFO - .openapi.application.Preloader - Finished preloading com.intellij.codeInsight.completion.CompletionPreloader#b9b8dc3 2018-03-09 08:34:39,969 [ 10252] INFO - j.ide.script.IdeStartupScripts - 0 startup script(s) found 2018-03-09 08:34:40,237 [ 10520] WARN - om.intellij.util.ProfilingUtil - Profiling agent is not enabled. Add -agentlib:yjpagent to idea.vmoptions if necessary to profile IDEA. 2018-03-09 08:34:41,135 [ 11418] INFO - CompilerBackwardReferenceIndex - backward reference index version differ due to: class java.io.FileNotFoundException 2018-03-09 08:34:41,465 [ 11748] INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 22 ms 2018-03-09 08:34:42,065 [ 12348] INFO - .diagnostic.PerformanceWatcher - Pushing properties took 593ms; general responsiveness: ok; EDT responsiveness: ok 2018-03-09 08:34:42,382 [ 12665] INFO - ScriptTemplatesProviders - [kts] loading script definitions [] using cp: 2018-03-09 08:34:42,387 [ 12670] INFO - ScriptTemplatesProviders - Templates provider KotlinCompilerScriptTemplatesSettings is invalid: 2018-03-09 08:34:42,423 [ 12706] INFO - ScriptTemplatesProviders - Templates provider Gradle Kotlin DSL is invalid: Unable to get Gradle home directory 2018-03-09 08:34:42,424 [ 12707] INFO - ScriptTemplatesProviders - Templates provider Gradle Kotlin DSL is invalid: Unable to get Gradle home directory 2018-03-09 08:34:42,424 [ 12707] INFO - ScriptTemplatesProviders - Templates provider Gradle Script Kotlin is invalid: Unable to get Gradle home directory 2018-03-09 08:34:42,424 [ 12707] INFO - ScriptTemplatesProviders - [kts] loading script definitions [kotlin.script.templates.standard.ScriptTemplateWithArgs] using cp: 2018-03-09 08:34:43,909 [ 14192] INFO - tartup.impl.StartupManagerImpl - OpenFilesActivity run in 2473ms under project opening modal progress 2018-03-09 08:34:44,080 [ 14363] INFO - .diagnostic.PerformanceWatcher - Post-startup activities under progress took 2687ms; general responsiveness: ok; EDT responsiveness: 1/3 sluggish 2018-03-09 08:34:44,305 [ 14588] INFO - cloudConfig.CloudConfigManager - === StatusBar.update create === 2018-03-09 08:34:44,306 [ 14589] INFO - cloudConfig.CloudConfigManager - === End.updateInitStatus === 2018-03-09 08:34:44,828 [ 15111] INFO - j.ide.ui.OptionsTopHitProvider - 304 ms spent to cache options in application 2018-03-09 08:34:44,900 [ 15183] INFO - tartup.impl.StartupManagerImpl - C:/Users/jorell/gitlab/project/maven-project/project/.idea case-sensitivity: expected=false actual=false 2018-03-09 08:34:45,287 [ 15570] INFO - git4idea.GitVcs - Git version: 2.13.3.0 (CYGWIN) 2018-03-09 08:34:45,520 [ 15803] INFO - pl.projectlevelman.NewMappings - VCS Root: [Git] - [C:/Users/jorell/gitlab/project] 2018-03-09 08:34:46,638 [ 16921] INFO - tor.impl.FileEditorManagerImpl - Project opening took 10763 ms 2018-03-09 08:34:49,954 [ 20237] INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 7888ms; general responsiveness: ok; EDT responsiveness: 5/8 sluggish, 1/8 very slow 2018-03-09 08:34:50,396 [ 20679] INFO - cloudConfig.CloudConfigManager - === StatusBar.start another widget: com.intellij.cloudConfig.StatusBarInfoManager$InfoComponent#2f6d50d1 === 2018-03-09 08:34:51,313 [ 21596] INFO - j.ide.ui.OptionsTopHitProvider - 202 ms spent to cache options in project 2018-03-09 08:34:53,789 [ 24072] INFO - tellij.xml.Html5SchemaProvider - HTML5_SCHEMA_LOCATION = C:/Program Files/JetBrains/IntelliJ IDEA 2017.3.4/lib/idea.jar!/resources/html5-schema/html5.rnc 2018-03-09 08:34:53,790 [ 24073] INFO - tellij.xml.Html5SchemaProvider - XHTML5_SCHEMA_LOCATION = C:/Program Files/JetBrains/IntelliJ IDEA 2017.3.4/lib/idea.jar!/resources/html5-schema/xhtml5.rnc 2018-03-09 08:34:53,790 [ 24073] INFO - tellij.xml.Html5SchemaProvider - CHARS_DTD_LOCATION = C:/Program Files/JetBrains/IntelliJ IDEA 2017.3.4/lib/idea.jar!/resources/html5-schema/html5chars.ent 2018-03-09 08:35:02,026 [ 32309] WARN - erver.JavaeeServerInstanceImpl - Unable to ping server at localhost:7001 2018-03-09 08:35:32,164 [ 62447] WARN - erver.JavaeeServerInstanceImpl - Unable to ping server at localhost:7001 2018-03-09 08:35:32,166 [ 62449] INFO - notification.NotificationGroup - Notification group JavaEE is already registered java.lang.Throwable at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:65) at com.intellij.notification.NotificationGroup.<init>(NotificationGroup.java:50) at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:82) at com.intellij.notification.NotificationGroup.toolWindowGroup(NotificationGroup.java:87) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl.createConnectErrorNotification(JavaeeServerInstanceImpl.java:357) at com.intellij.javaee.oss.server.JavaeeServerInstanceImpl$ConnectLogger.lambda$reportError$0(JavaeeServerInstanceImpl.java:544) at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:315) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.a(LaterInvocator.java:424) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:407) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:762) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:732) at com.intellij.ide.IdeEventQueue.j(IdeEventQueue.java:822) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:366) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Any help would be appreciated. Thanks in advance.
Android Studio 1.3 Beta 1 bug when trying to create Google Cloud Module
I was using Android Studio 1.3 from Canary channel and it was working totally find until I tried to create Google Cloud Module. Regardless of which type and client app the Android Studio just hangs. Here is the error code from Terminal: [ 121126] ERROR - plication.impl.ApplicationImpl - Read access is allowed from event dispatch thread or inside read-action only (see com.intellij.openapi.application.Application.runReadAction()) Details: Current thread: Thread[ApplicationImpl pooled thread 6,4,main] 314219946 ; dispatch thread: false; isDispatchThread(): false SystemEventQueueThread: Thread[AWT-EventQueue-0 1.3#AI-141.2017176, eap:true,6,main] 686742728 java.lang.Throwable at com.intellij.openapi.diagnostic.Logger.error(Logger.java:126) at com.intellij.openapi.application.impl.ApplicationImpl.assertReadAccessAllowed(ApplicationImpl.java:976) at com.intellij.openapi.module.impl.ModuleManagerImpl.findModuleByName(ModuleManagerImpl.java:525) at com.google.gct.idea.appengine.wizard.CloudModuleUtils.createModule(CloudModuleUtils.java:112) at com.google.gct.idea.appengine.wizard.NewCloudModuleDynamicWizardPath.performFinishingActions(NewCloudModuleDynamicWizardPath.java:91) at com.android.tools.idea.wizard.DynamicWizard.doFinish(DynamicWizard.java:648) at com.android.tools.idea.wizard.DynamicWizard$1.run(DynamicWizard.java:428) at com.intellij.openapi.progress.impl.CoreProgressManager$5.run(CoreProgressManager.java:237) at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563) at com.intellij.openapi.progress.impl.CoreProgressManager$8.run(CoreProgressManager.java:367) at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:152) at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:452) at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:402) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:137) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:617) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56) [ 121131] ERROR - plication.impl.ApplicationImpl - Android Studio AI-141.2017176 Build #AI-141.2017176 [ 121131] ERROR - plication.impl.ApplicationImpl - JDK: 1.8.0_40 [ 121131] ERROR - plication.impl.ApplicationImpl - VM: Java HotSpot(TM) 64-Bit Server VM [ 121131] ERROR - plication.impl.ApplicationImpl - Vendor: Oracle Corporation [ 121131] ERROR - plication.impl.ApplicationImpl - OS: Linux [ 121134] ERROR - plication.impl.ApplicationImpl - Last Action: NewModuleInGroup
https://code.google.com/p/android/issues/detail?id=177427 This should be fixed in the next release.
I managed to fix it by removing Android Studio 1.3 and make clean install of 1.2.2 from stable channel. But maybe there is a solution to fix it using 1.3? Thanks!
Not able to execute java-custom-rules plugin in SonarQube
I am a newbie to SonarQube and I am working on creating a new Metrics for SOnarQube. As a part of learning am trying the examples in the SonarQube site. I was trying the example given here I used maven clean and maven build in eclipse and created the jar file. I placed the jar file in the "extension/plugins" directory in the SonarQube server (I have locally installed the server in my Win 7 machine). Then I used SonarQube Runner to link my project with SonarQube. How ever am getting this error: C:\xxx\Desktop\Workspace\sonar-test>sonar-runner -e C:\sonar-runner-2.4 SonarQube Runner 2.4 Java 1.6.0_21 Sun Microsystems Inc. (32-bit) Windows 7 6.1 x86 INFO: Error stacktraces are turned on. INFO: Runner configuration file: C:\sonar-runner-2.4\conf\sonar-runner.propertie s INFO: Project configuration file: C:\xxx\Desktop\Workspace\sona r-test\sonar-project.properties INFO: Default locale: "en_US", source code encoding: "UTF-8" INFO: Work directory: C:\xxx\Desktop\Workspace\sonar-test\.\.so nar INFO: SonarQube Server 4.5.1 13:47:39.244 INFO - Load global referentials... 13:47:39.546 INFO - Load global referentials done: 308 ms 13:47:39.570 INFO - User cache: C:\xxx\.sonar\cache 13:47:39.597 INFO - Install plugins 13:47:39.994 INFO - Install JDBC driver 13:47:40.012 INFO - Create JDBC datasource for jdbc:h2:tcp://localhost/sonar 13:47:42.259 INFO - Initializing Hibernate 13:47:45.201 INFO - Load project referentials... 13:47:45.894 INFO - Load project referentials done: 693 ms 13:47:45.896 INFO - Load project settings 13:47:47.144 INFO - Loading technical debt model... 13:47:47.195 INFO - Loading technical debt model done: 51 ms 13:47:47.208 INFO - Apply project exclusions 13:47:47.920 INFO - ------------- Scan sonar-test 13:47:47.947 INFO - Load module settings 13:47:49.148 INFO - Loading rules... 13:47:50.030 INFO - Loading rules done: 882 ms 13:47:50.106 INFO - Configure Maven plugins 13:47:50.327 INFO - Compare to previous analysis (2014-11-06) 13:47:50.352 INFO - Compare over 30 days (2014-10-07, analysis of 2014-11-06 12 :28:06.816) 13:47:50.356 INFO - No quality gate is configured. 13:47:50.840 INFO - Base dir: C:\xxx\Desktop\Workspace\sonar-t est\. 13:47:50.841 INFO - Working dir: C:\xxx\Desktop\Workspace\sona r-test\.\.sonar 13:47:50.846 INFO - Source paths: src 13:47:50.847 INFO - Source encoding: UTF-8, default locale: en_US 13:47:50.849 INFO - Index files 13:47:51.001 INFO - 2 files indexed 13:47:51.146 INFO - Quality profile for java: Sonar way 13:47:51.171 INFO - Sensor JavaSquidSensor... 13:47:51.363 INFO - Java Main Files AST scan... 13:47:51.377 INFO - 2 source files to be analyzed INFO: ------------------------------------------------------------------------ INFO: EXECUTION FAILURE INFO: ------------------------------------------------------------------------ Total time: 13.831s Final Memory: 8M/99M 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) 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.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102 ) at org.sonar.runner.api.Runner.execute(Runner.java:100) at org.sonar.runner.Main.executeTask(Main.java:70) at org.sonar.runner.Main.execute(Main.java:59) at org.sonar.runner.Main.main(Main.java:53) Caused by: java.lang.NoSuchMethodError: org.sonar.plugins.java.api.tree.Tree.is( [Lorg/sonar/plugins/java/api/tree/Tree$Kind;)Z at org.sonar.samples.java.ExampleCheck.visitMethod(ExampleCheck.java:69) at org.sonar.java.model.declaration.MethodTreeImpl.accept(MethodTreeImpl .java:118) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor. java:41) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor. java:35) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitClass(BaseTreeVi sitor.java:64) at org.sonar.java.model.declaration.ClassTreeImpl.accept(ClassTreeImpl.j ava:107) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor. java:41) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor. java:35) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitCompilationUnit( BaseTreeVisitor.java:50) at org.sonar.java.model.JavaTree$CompilationUnitTreeImpl.accept(JavaTree .java:120) at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor. java:41) at org.sonar.samples.java.ExampleCheck.scanFile(ExampleCheck.java:51) at org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:91) at com.sonar.sslr.impl.ast.AstWalker.walkAndVisit(AstWalker.java:67) at org.sonar.java.ast.AstScanner.simpleScan(AstScanner.java:118) at org.sonar.java.ast.AstScanner.scan(AstScanner.java:83) at org.sonar.java.JavaSquid.scanSources(JavaSquid.java:135) at org.sonar.java.JavaSquid.scan(JavaSquid.java:128) at org.sonar.plugins.java.JavaSquidSensor.analyse(JavaSquidSensor.java:8 6) at org.sonar.batch.phases.SensorsExecutor.executeSensor(SensorsExecutor. java:79) at org.sonar.batch.phases.SensorsExecutor.execute(SensorsExecutor.java:7 0) at org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:119) at org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanConta iner.java:194) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo ntainer.java:92) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer. java:77) at org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.j ava:233) at org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScan Container.java:228) at org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanCon tainer.java:221) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo ntainer.java:92) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer. java:77) at org.sonar.batch.scan.ScanTask.scan(ScanTask.java:64) at org.sonar.batch.scan.ScanTask.execute(ScanTask.java:51) at org.sonar.batch.bootstrap.TaskContainer.doAfterStart(TaskContainer.ja va:125) at org.sonar.api.platform.ComponentContainer.startComponents(ComponentCo ntainer.java:92) at org.sonar.api.platform.ComponentContainer.execute(ComponentContainer. java:77) at org.sonar.batch.bootstrap.BootstrapContainer.executeTask(BootstrapCon tainer.java:173) at org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:95) at org.sonar.batch.bootstrapper.Batch.execute(Batch.java:67) at org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java :48) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.sonar.runner.impl.BatchLauncher$1.delegateExecution(BatchLauncher .java:87) ... 9 more ERROR: ERROR: Re-run SonarQube Runner using the -X switch to enable full debug logging. According to this example this must create a issue whenever it encounters a method and a annotation starting with a letter 'Z'. I tried creating a class with such inputs: sample.java package test; public class Sample { public static void main(String[] args) { System.out.println("Test"); } #Ztest(val="hi") public static void add() { System.out.println("Add Method"); } } I also created an annotation file: Ztest.java package test; public #interface Ztest { String val(); } But when I execute with the SonarQube Runner am getting the above error. Kindly help me with this.
NoSuchMethodError means that a class is found by the classloader, but the method is missing. This occurs when you are using an older or newer version of a library at runtime, than your rule was compiled with. If you have multiple versions of the same library on your classpath, this still can occur, since the classloader will only load the class once, and I'm not sure if one can tell which version it will use. If you look at the dependencies of java-custom-rule, it depends on sonar-java-plugin version 2.5, please check if your sonarqube instance has the same version of this plugin. EDIT tl;dr update your sonarqube java plugin