Giter VIP home page Giter VIP logo

gradle-qodana-plugin's Introduction

Gradle Qodana Plugin

official JetBrains project Gradle Plugin Portal Build GitHub Discussions Twitter Follow

Gradle interface to run code inspections from IntelliJ IDEA.

Important: This project requires Gradle 6.6 or newer, however it is recommended to use the latest Gradle available. Update it with:

./gradlew wrapper --gradle-version=VERSION

Issue Tracker

All the issues, feature requests, and support related to the Gradle Qodana Plugin is handled on YouTrack.

If you'd like to file a new issue, please use the following YouTrack | New Issue link.

Docker Image with Qodana tool

Docker Hub: https://hub.docker.com/r/jetbrains/qodana-jvm-community

Gradle Qodana Configuration

Note: Make sure you have docker already installed and available in your environment.

Apply Gradle plugin org.jetbrains.qodana in Gradle configuration file:

  • Groovy โ€“ build.gradle

    plugins {
        id "org.jetbrains.qodana" version "..."
    }
  • Kotlin DSL โ€“ build.gradle.kts

    plugins {
        id("org.jetbrains.qodana") version "..."
    }

Note: The latest version is: Gradle Plugin Portal

qodana { } extension configuration

Properties available for configuration in the qodana { } top level configuration closure:

Name Description Type Default Value
autoUpdate Automatically pull the latest Docker image before running the inspection. Boolean true
baselinePath Run in baseline mode. Provide the path to an existing SARIF report to be used in the baseline state calculation. String null
baselineIncludeAbsent Include in the output report the results from the baseline run that are absent in the current run. Boolean false
cachePath Path to the cache directory. String null
dockerContainerName Name of the Qodana Docker container. String idea-inspections
dockerImageName Name of the Qodana Docker image. String jetbrains/qodana-jvm-community:latest
executable Docker executable name. String docker
projectPath Path to the project folder to inspect. String project.projectDir
failThreshold A number of problems that will serve as a quality gate. If this number is reached, the inspection run is terminated. Int 10000
resultsPath Path to directory to store results of the task. String "${projectPath}/build/results"
reportPath Path to the directory to store the generated report. String "${projectPath}/build/results/report"
saveReport Generate HTML report. Boolean false
showReport Serve an HTML report on showReportPort port. Boolean false
showReportPort Default port used to show an HTML report. Int 8080

Gradle Qodana Tasks

runInspections

Starts Qodana Inspections in a Docker container.

Task relies on the qodana { } extension configuration, however it provides also additional properties and helper methods to configure the Docker image.

Properties

Name Description Type Default Value
disabledPluginsPath Path to the list of plugins to be disabled in the Qodana IDE instance to be mounted as /root/.config/idea/disabled_plugins.txt. String null
changes Inspect uncommitted changes and report new problems. Boolean false
jvmParameters JVM parameters to start IDEA JVM. List<String> empty
profilePath Path to the profile file to be mounted as /data/profile.xml. String null

Helper methods

Name Description
bind(outerPort: Int, dockerPort: Int) Adds new port binding.
mount(outerPath: String, dockerPath: String) Mounts local directory to the given Docker path.
env(name: String, value: String) Adds an environment variable.
dockerArg(argument: String) Adds a Docker argument to the executed command.
arg(argument: String) Adds a Docker image argument to the executed command.

updateInspections

Pulls the latest Qodana Inspections Docker container.

Task will be run automatically before the runInspections if the qodana.autoUpdate property will be set to true.

stopInspections

Stops the Qodana Inspections Docker container.

cleanInspections

Cleans up the Qodana Inspections output directory.

Example

Add this to your Gradle configuration file:

  • Groovy โ€“ build.gradle

    plugins {
        // applies Gradle Qodana plugin to use it in project
        id "org.jetbrains.qodana" version "..."
    }
    
    qodana {
        // by default result path is $projectPath/build/results
        resultsPath = "some/output/path"
    }
    
    runInspections {
        // by default qodana.recommended will be used
        profilePath = "./someExternallyStoredProfile.xml"  
    }
  • Kotlin โ€“ build.gradle.kts

    plugins {
        // applies Gradle Qodana plugin to use it in project
        id("org.jetbrains.qodana") version "..."
    }
    
    qodana {
        // by default result path is $projectPath/build/results
        resultsPath.set("some/output/path")
    }
    
    tasks {
        runInspections {
            // by default qodana.recommended will be used
            profilePath.set("./someExternallyStoredProfile.xml")
        }
    }

Note: Docker requires at least 4GB of memory. Set it in Docker Preferences > Resources > Memory section.

Now you can run inspections with runInspections Gradle task:

gradle runInspections 
// or
./gradlew runInspections

Full guide for options and configuration parameters could be found on qodana docs page.

Build Locally

Build

Execute Gradle task publishToMavenLocal to build Gradle Qodana Plugin and publish it into local Maven repository. By default, plugin will be published into ~/.mvn/org/jetbrains/qodana/ directory.

Apply

Add Maven local repository into available repositories in your Gradle project. For this you need to add following lines at the beginning of settings.gradle[.kts] file:

pluginManagement {
    repositories {
        mavenLocal()
        gradlePluginPortal()
    }
}

Apply Gradle Qodana Plugin with snapshot version in Gradle configuration file and mount the Maven Local directory:

  • Groovy โ€“ build.gradle

    plugins {
        id "org.jetbrains.qodana" version "0.1.0-SNAPSHOT"
    }
    
    qodana {
        mount("/Users/me/.m2", "/root/.m2")
    }
  • Kotlin DSL โ€“ build.gradle.kts

    plugins {
        id("org.jetbrains.qodana") version "0.1.0-SNAPSHOT"
    }
    
    qodana {
        mount("/Users/me/.m2", "/root/.m2")
    }

gradle-qodana-plugin's People

Contributors

avafanasiev avatar dependabot[bot] avatar hackermadcat avatar hsz avatar rillig avatar tiulpin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gradle-qodana-plugin's Issues

[Feature request] a way to set docker user (or docker run args)

Since the user it runs as is root, files generated by qodana are owned by root on the host file system as well, which stops you from cleaning directories without sudo.

I would like to specify a user, like dockerUser("1000:1000").
Or, even better, a way to add docker run cli args like dockerArgs(["-u", "1000:1000"])
Or maybe both?

Github Tags are missing

Hey,

I would be nice to have git tags about the releases to easy now whats the latest version

`Invalid Gradle JDK configuration found` error with custom java toolchain.

Kotlin Gradle project with custom java toolchain fails with Invalid Gradle JDK configuration found error. So what's the proper way to run the inspection with java toolchain?

  • Gradle config
ยป ./gradlew --version                                                                                                                               

------------------------------------------------------------
Gradle 7.2
------------------------------------------------------------

Build time:   2021-08-17 09:59:03 UTC
Revision:     a773786b58bb28710e3dc96c4d1a7063628952ad

Kotlin:       1.5.21
Groovy:       3.0.8
Ant:          Apache Ant(TM) version 1.10.9 compiled on September 27 2020
JVM:          18-loom (Oracle Corporation 18-loom+2-74)
OS:           Mac OS X 11.5.2 x86_64
  id("org.jetbrains.qodana") version "0.1.13"
 ....
  toolchain {
    languageVersion.set(JavaLanguageVersion.of("17"))
    vendor.set(JvmVendorSpec.ORACLE)
  }
2021-09-19 09:20:59,619 [  46187][AWT-EventQueue-0]   INFO - rationStore.ComponentStoreImpl - Saving Project(name=project, containerState=COMPONENT_CREATED, componentStore=/data/project)ExternalSystemProjectTracker took 15 ms, GradleLocalSettings took 11 ms, KotlinCommonCompilerArguments took 13 ms, KotlinScriptingSettings took 91 ms, RunManager took 27 ms, sourceFolderManager took 17 ms 
2021-09-19 09:20:59,848 [  46416][AWT-EventQueue-0]   INFO - plication.impl.ApplicationImpl - LONG VFS PROCESSING. Topic=BulkFileListener, offender=class com.intellij.openapi.vfs.newvfs.AsyncEventSupport$1, message=before, time=141ms 
2021-09-19 09:21:01,135 [  47703][JobScheduler FJ pool 2/6]  ERROR - tion.InspectionApplicationBase - java.lang.IllegalStateException: Gradle project project:15375f63 import failed. 
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Gradle project project:15375f63 import failed.
	at java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395)
	at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1999)
	at org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator$StateNotificationListener.waitForImportEnd(GradleCommandLineProjectConfigurator.kt:144)
	at org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator.configureProject(GradleCommandLineProjectConfigurator.kt:61)
	at com.intellij.codeInspection.InspectionApplicationBase.configureProject(InspectionApplicationBase.java:447)
	at org.jetbrains.plugins.staticAnalysis.inspections.runner.QodanaRunner.launchInspections(qodana.kt:202)
	at org.jetbrains.plugins.staticAnalysis.inspections.runner.QodanaRunner.launch(qodana.kt:184)
	at org.jetbrains.plugins.staticAnalysis.inspections.runner.QodanaRunner.run(qodana.kt:66)
	at org.jetbrains.plugins.staticAnalysis.inspections.runner.QodanaKt.runAnalysisByQodana(qodana.kt:264)
	at org.jetbrains.plugins.staticAnalysis.inspections.runner.QodanaInspectionApplication.run(QodanaInspectionApplication.kt:56)
	at com.intellij.codeInspection.InspectionApplicationBase.execute(InspectionApplicationBase.java:155)
	at com.intellij.codeInspection.InspectionApplicationBase.startup(InspectionApplicationBase.java:121)
	at com.intellij.codeInspection.InspectionMain.main(InspectionMain.java:108)
	at com.intellij.openapi.application.ApplicationStarter.main(ApplicationStarter.java:49)
	at com.intellij.idea.ApplicationLoader$startApp$3.run(ApplicationLoader.kt:185)
	at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
	at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1742)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1728)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: java.lang.IllegalStateException: Gradle project project:15375f63 import failed.
	at org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator$StateNotificationListener.onFailure(GradleCommandLineProjectConfigurator.kt:129)
	at com.intellij.openapi.externalSystem.service.remote.ExternalSystemProgressNotificationManagerImpl$TaskListenerWrapper.onFailure(ExternalSystemProgressNotificationManagerImpl.kt:106)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.intellij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:120)
	at com.intellij.util.EventDispatcher.lambda$createMulticaster$1(EventDispatcher.java:85)
	at com.sun.proxy.$Proxy128.onFailure(Unknown Source)
	at com.intellij.openapi.externalSystem.service.remote.ExternalSystemProgressNotificationManagerImpl$onFailure$1.invoke(ExternalSystemProgressNotificationManagerImpl.kt:65)
	at com.intellij.openapi.externalSystem.service.remote.ExternalSystemProgressNotificationManagerImpl$onFailure$1.invoke(ExternalSystemProgressNotificationManagerImpl.kt:17)
	at com.intellij.openapi.externalSystem.service.remote.ExternalSystemProgressNotificationManagerImpl.forEachListener(ExternalSystemProgressNotificationManagerImpl.kt:90)
	at com.intellij.openapi.externalSystem.service.remote.ExternalSystemProgressNotificationManagerImpl.onFailure(ExternalSystemProgressNotificationManagerImpl.kt:65)
	at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:107)
	at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:151)
	at com.intellij.openapi.externalSystem.service.internal.AbstractExternalSystemTask.execute(AbstractExternalSystemTask.java:135)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.executeImpl(ExternalSystemUtil.java:566)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.lambda$execute$0(ExternalSystemUtil.java:397)
	at com.intellij.openapi.project.DumbServiceHeavyActivities.suspendIndexingAndRun(DumbServiceHeavyActivities.java:21)
	at com.intellij.openapi.project.DumbServiceImpl.suspendIndexingAndRun(DumbServiceImpl.java:187)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$2.execute(ExternalSystemUtil.java:397)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil$4.run(ExternalSystemUtil.java:671)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressInCurrentThread$10(CoreProgressManager.java:591)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressInCurrentThread(CoreProgressManager.java:591)
	at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:394)
	at com.intellij.openapi.progress.Task.queue(Task.java:124)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil.refreshProject(ExternalSystemUtil.java:673)
	at com.intellij.openapi.externalSystem.util.ExternalSystemUtil.refreshProject(ExternalSystemUtil.java:350)
	at com.intellij.openapi.externalSystem.service.project.autoimport.ProjectAware.reloadProject(ProjectAware.kt:51)
	at com.intellij.openapi.externalSystem.autoimport.AutoImportProjectTracker.refreshProject(AutoImportProjectTracker.kt:150)
	at com.intellij.openapi.externalSystem.autoimport.AutoImportProjectTracker.access$refreshProject(AutoImportProjectTracker.kt:40)
	at com.intellij.openapi.externalSystem.autoimport.AutoImportProjectTracker$scheduleProjectRefresh$1.invoke(AutoImportProjectTracker.kt:88)
	at com.intellij.openapi.externalSystem.autoimport.AutoImportProjectTracker$scheduleProjectRefresh$1.invoke(AutoImportProjectTracker.kt:40)
	at com.intellij.openapi.externalSystem.autoimport.update.PriorityEatUpdate$Companion$invoke$1.run(PriorityEatUpdate.kt:15)
	at com.intellij.util.ui.update.MergingUpdateQueue.queue(MergingUpdateQueue.java:348)
	at com.intellij.openapi.externalSystem.autoimport.AutoImportProjectTracker.scheduleProjectRefresh(AutoImportProjectTracker.kt:87)
	at org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator.importProjects(GradleCommandLineProjectConfigurator.kt:77)
	at org.jetbrains.plugins.gradle.GradleCommandLineProjectConfigurator.configureProject(GradleCommandLineProjectConfigurator.kt:60)
	... 20 more
Caused by: com.intellij.openapi.externalSystem.service.execution.ExternalSystemJdkException: Invalid Gradle JDK configuration found. <a href='#open_external_system_settings'>Open Gradle Settings</a> 

	at org.jetbrains.plugins.gradle.service.execution.LocalGradleExecutionAware.jdkConfigurationException(LocalGradleExecutionAware.kt:170)
	at org.jetbrains.plugins.gradle.service.execution.LocalGradleExecutionAware.prepareJvmForExecution(LocalGradleExecutionAware.kt:114)
	at org.jetbrains.plugins.gradle.service.execution.LocalGradleExecutionAware.prepareExecution(LocalGradleExecutionAware.kt:60)
	at com.intellij.openapi.externalSystem.service.internal.ExternalSystemResolveProjectTask.doExecute(ExternalSystemResolveProjectTask.java:90)
	... 51 more
2021-09-19 09:21:01,139 [  47707][JobScheduler FJ pool 2/6]  ERROR - tion.InspectionApplicationBase - IntelliJ IDEA 2021.2.2  Build #IJCA-212.5407 
2021-09-19 09:21:01,140 [  47708][JobScheduler FJ pool 2/6]  ERROR - tion.InspectionApplicationBase - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o. 
2021-09-19 09:21:01,141 [  47709][JobScheduler FJ pool 2/6]  ERROR - tion.InspectionApplicationBase - OS: Linux 

Support composite projects.

I'm trying to run Qodana with my projects and find it nice that there is a Gradle plugin to easily include it to them.
I found though that the Gradle plugin has not the same functionality that I have when running the Docker Image manually. This restricts me from using the Gradle plugin with my composite projects.

Running this Docker command will have the wanted effect of running the inspections for one project:

docker run --rm \
    -v /CompositeProjects/:/data/project/ \
    -v /CompositeProjects/sub-project/results:/data/results/ \
    jetbrains/qodana-jvm-community \
    --project-dir=/data/project/sub-project

The equivalent of this Docker command would be the following configuration in the Gradle plugin. The "projectDir" value is though not supported as a String for the path in the Docker container but requires a File/Folder on the local machine and would replace the "projectPath" variable.

qodana {
    // The folder which contains all required composite repositories.
    projectPath.set(project.projectDir.parentFile.toString())
    // The folder to write the results.
    resultsPath.set(project.projectDir.resolve("results").toString())
}

tasks {
    runInspections {
        // The project in the Docker container to inspect.
        projectDir.set("/data/project/${project.name}")
    }
}

Is there a way to do this with the Gradle plugin that I'm not aware of? When not, can the "projectDir" be changed to reflect a folder in the Docker container?

Thanks in advance.

runInspection resulted in SIGSEGV memory error (maybe caused by the Mac M1 chip?)

I often came along this issue when using docker containers on my new MacBook Air (M1). When running gradle runInspection unfortunately the the memory issue I had more often appeared in the report file.

> Task :runInspections
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Using this image you agree to JetBrains EAP user agreement (https://www.jetbrains.com/legal/docs/toolbox/user_eap/) and JetBrains privacy policy (https://www.jetbrains.com/legal/docs/privacy/privacy/). The docker image includes an evaluation license which will expire in 30-day. Please ensure you pull a new image on time.
Oct 21, 2021 11:29:37 AM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)

Oct 21, 2021 11:29:37 AM org.jline.utils.Log logr
WARNING: Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information)
                                        
     QQQQQQQ      DDDDDDDDDDD           
   QQ:::::::QQ    D::::::::::DDD        Qodana 2021.2.3 EAP
 QQ:::::::::::QQ  D:::::::::::::DD      Documentation:
Q::::::QQQ::::::Q DDD::::DDDDD::::D     https://jb.gg/qodana-docs
Q:::::O   Q:::::Q   D::::D    D::::D    Contact us at
Q::::O     Q::::Q   D::::D     D::::D   [email protected]
Q::::O     Q::::Q   D::::D     D::::D   Or via our issue tracker:
Q::::O   QQQ::::Q   D::::D     D::::D   https://jb.gg/qodana-issue
Q:::::O  Q::::::Q   D::::D    D:::DD    Or share your feedback in our Slack:
 QQ::::QQ::::::Q  DDD::::DDDDD::DD      https://jb.gg/qodana-slack!
   QQ:::::::::Q   D::::::::::DDD        
     QQQQQQQ:::QQ DDDDDDDDDDD           
            QQQQQQ                      

Starting up IntelliJ IDEA 2021.2.3 EAP (build IJCA-212.5608.16) ...done.
Preparing for the Project opening stage ...
Opening project...Waiting on event queue... 50%
Keep running Project opening ... so far 30 s 201 ms
Indexing 'PHP Runtime' 46%
Keep running Project opening ... so far 1 m 0 s 243 ms
 100%
Keep running Project opening ... so far 1 m 30 s 253 ms
done.
The Project opening stage completed in 1 m 46 s 908 ms
Initializing project...Inspecting with the 'qodana.recommended' profile
Loaded the 'qodana.sanity' shared project profile
The 'qodana.sanity' profile is configured for sanity checks
The 'qodana.recommended' profile is configured for promo checks
Preparing for the Project configuration stage ...
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000401e5145ca, pid=17, tid=87
#
# JRE version: OpenJDK Runtime Environment JBR-11.0.12.7-1715.4-nomod (11.0.12+7) (build 11.0.12+7-b1715.4)
# Java VM: OpenJDK 64-Bit Server VM JBR-11.0.12.7-1715.4-nomod (11.0.12+7-b1715.4, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 6462 c2 com.intellij.util.io.PagedFileStorage.getBufferWrapper(JZ)Lcom/intellij/util/io/DirectBufferWrapper; (202 bytes) @ 0x000000401e5145ca [0x000000401e514580+0x000000000000004a]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /data/project/hs_err_pid17.log
Compiled method (c1)  151998 6814       2       com.intellij.util.indexing.IndexingStamp$Timestamps::set (88 bytes)
 total in heap  [0x0000004014311510,0x0000004014311b38] = 1576
 relocation     [0x0000004014311688,0x00000040143116f0] = 104
 constants      [0x0000004014311700,0x0000004014311720] = 32
 main code      [0x0000004014311720,0x00000040143119e0] = 704
 stub code      [0x00000040143119e0,0x0000004014311a50] = 112
 oops           [0x0000004014311a50,0x0000004014311a58] = 8
 metadata       [0x0000004014311a58,0x0000004014311a60] = 8
 scopes data    [0x0000004014311a60,0x0000004014311ab0] = 80
 scopes pcs     [0x0000004014311ab0,0x0000004014311b30] = 128
 dependencies   [0x0000004014311b30,0x0000004014311b38] = 8
Compiled method (c1)  152034 6814       2       com.intellij.util.indexing.IndexingStamp$Timestamps::set (88 bytes)
 total in heap  [0x0000004014311510,0x0000004014311b38] = 1576
 relocation     [0x0000004014311688,0x00000040143116f0] = 104
 constants      [0x0000004014311700,0x0000004014311720] = 32
 main code      [0x0000004014311720,0x00000040143119e0] = 704
 stub code      [0x00000040143119e0,0x0000004014311a50] = 112
 oops           [0x0000004014311a50,0x0000004014311a58] = 8
 metadata       [0x0000004014311a58,0x0000004014311a60] = 8
 scopes data    [0x0000004014311a60,0x0000004014311ab0] = 80
 scopes pcs     [0x0000004014311ab0,0x0000004014311b30] = 128
 dependencies   [0x0000004014311b30,0x0000004014311b38] = 8
Compiled method (c1)  152916 6388   !   2       com.intellij.openapi.vfs.impl.ArchiveHandler::getEntriesMap (156 bytes)
 total in heap  [0x0000004014236410,0x0000004014237aa8] = 5784
 relocation     [0x0000004014236588,0x00000040142366c0] = 312
 main code      [0x00000040142366c0,0x0000004014237280] = 3008
 stub code      [0x0000004014237280,0x00000040142373a0] = 288
 oops           [0x00000040142373a0,0x00000040142373b0] = 16
 metadata       [0x00000040142373b0,0x0000004014237448] = 152
 scopes data    [0x0000004014237448,0x00000040142376a8] = 608
 scopes pcs     [0x00000040142376a8,0x0000004014237878] = 464
 dependencies   [0x0000004014237878,0x00000040142378a0] = 40
 handler table  [0x00000040142378a0,0x0000004014237a90] = 496
 nul chk table  [0x0000004014237a90,0x0000004014237aa8] = 24
Could not load hsdis-amd64.so; library not loadable; PrintAssembly is disabled
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
qemu: uncaught target signal 6 (Aborted) - core dumped
2021/10/21 11:32:02 Process killed (OOM?)
2021/10/21 11:32:02 IDEA process exit code: 137
2021/10/21 11:32:02 Sync IDEA cache from: /data/project/.idea to: /data/cache/.idea
Statistics upload took 1.099084ms
> Task :runInspections FAILED

Execution failed for task ':runInspections'.
> Qodana inspection finished with failure. Check logs and Qodana report for more details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

Report File: https://pastebin.com/ZcqmtVjq

I really hope it's not an issue with the M1 again... cause I am getting pretty frustrated with it

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.