My IntelliJ is getting stuck while closing since more than a month I am facing this issue.

已回答
0

can some please help me in this, there are a lot of issue I am facing.
1- Not getting auto suggestion to import classes, variables
I am new user-
 

0
Hi Pankaj,

Things to try:
1. Disable all of the non-bundled plugins and restart the IDE: File | Settings | Plugins | ⚙ | Disable all downloaded plugins
2. File | Invalidate Caches -> check the first three boxes -> Invalidate and Restart
0

HI @...
Thanks for your suggestion, 
I have plugins for GitHub copilot and Snyk. my issue is resolved after performing step 1st and 2nd but I need both plugin as these is mandatory for my office project, so I enabled back and again I am getting same issue.

Please help me in this.
Thanks.
Pankaj

0
Hi Pankaj.

First, you need to figure out which plugin is causing the issue exactly. Try disabling one of them and restarting the IDE to see if the problem goes away.

Since neither of the plugins is developed by JetBrains, you will need to contact its owner once you've figured out which one is the culprit. 

- Snyk support: https://support.snyk.io/hc/en-us/requests/new
- Copilot issue tracker: https://github.com/orgs/community/discussions

Describe the problem and provide IDE logs for analysis if requested (or extracts with relevant exceptions): Help | Show Log in...
0

Hi @...,
After doing suggested steps I found that - 
If I keep anyone of them then also facing same issue, meaning if I keep zero downloaded plugin then only issue disappears now in this case what should I do? please suggest.

Current version of IntelliJ is- IntelliJ IDEA 2023.2.2 (Community Edition)
I can see option to upgrade to IntelliJ IDEA 2023.2.5 (Community Edition)
when I try to upgrade, I am getting below error.


FYI- I have tried with VPN and without VPN and my internet connection is stable as well.
Thanks.
Pankaj

0
Hi Pankaj. The plugins could be clashing with each other. 
I can take a look at the logs to determine which one is throwing exceptions. You can find the idea.log file via 'Help | Show Log in Explorer', upload it to https://uploads.jetbrains.com and provide the upload id here.

Status response code 407 indicates that the request has not been applied because it lacks valid authentication credentials for a proxy server that is between the browser and the server that can access the requested resource. Please check or configure your proxy server details under 'File | Settings | Appearance & Behavior | System Settings | HTTP Proxy'. See https://www.jetbrains.com/help/idea/settings-http-proxy.html
0

 same issue :(  after upgrading to 2023.2.5

0

Please follow my instructions to upload your idea.log file to our servers for analysis.

0

Upload id: 2023_12_28_2Ae4HSowokMJNGrSEMufdX (file: idea.log)

0

Thanks.

Looks like Snyk is the culprit. You can pass the stack trace below to Snyk support for analysis:

2023-12-28 20:19:48,741 [  34737]   WARN - #c.i.i.shutdown - Project Project(name=IntelliJT, containerState=COMPONENT_CREATED, componentStore=C:\IntelliJT): scope was not completed in 10s.
- "(ProjectImpl@375719459 x (ApplicationImpl@1994701455 x io.snyk.snyk-intellij-plugin))":StandaloneCoroutine{Cancelling}@3dbcdf0f, state: RUNNING [Dispatchers.Default]
    at com.intellij.util.CoroutineScopeKt$namedChildScope$1$1.invokeSuspend(coroutineScope.kt:44)
    at com.intellij.util.CoroutineScopeKt$namedChildScope$1.invokeSuspend(coroutineScope.kt:42)
    - "io.snyk.plugin.SnykPostStartupActivity":StandaloneCoroutine{Cancelling}@4f8c08da, state: RUNNING [Dispatchers.Default]
        at com.intellij.util.CoroutineScopeKt$namedChildScope$1$1.invokeSuspend(coroutineScope.kt:44)
        at com.intellij.util.CoroutineScopeKt$namedChildScope$1.invokeSuspend(coroutineScope.kt:42)
        - "io.snyk.plugin.SnykPostStartupActivity":StandaloneCoroutine{Cancelling}@5f0b4d66, state: RUNNING [Dispatchers.Default]
            at java.base@17.0.9/sun.nio.ch.Net.poll(Native Method)
            at java.base@17.0.9/sun.nio.ch.NioSocketImpl.park(NioSocketImpl.java:186)
            at java.base@17.0.9/sun.nio.ch.NioSocketImpl.timedRead(NioSocketImpl.java:290)
            at java.base@17.0.9/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:314)
            at java.base@17.0.9/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:355)
            at java.base@17.0.9/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:808)
            at java.base@17.0.9/java.net.Socket$SocketInputStream.read(Socket.java:966)
            at okio.InputStreamSource.read(JvmOkio.kt:94)
            at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:125)
            at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:427)
            at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:320)
            at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
            at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:180)
            at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.kt:457)
            at okhttp3.internal.connection.RealConnection.connectTunnel(RealConnection.kt:262)
            at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:201)
            at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
            at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
            at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
            at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
            at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at snyk.amplitude.api.AmplitudeApiKeyInterceptor.intercept(AmplitudeApiKeyInterceptor.kt:12)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at okhttp3.logging.HttpLoggingInterceptor.intercept(HttpLoggingInterceptor.kt:154)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at io.snyk.plugin.net.TokenInterceptor.intercept(TokenInterceptor.kt:49)
            at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
            at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
            at okhttp3.internal.connection.RealCall.execute(RealCall.kt:154)
            at retrofit2.OkHttpCall.execute(OkHttpCall.java:204)
            at snyk.amplitude.api.AmplitudeExperimentApiClient.allVariants(AmplitudeExperimentApiClient.kt:29)
            at snyk.amplitude.AmplitudeExperimentService.fetch(AmplitudeExperimentService.kt:57)
            at io.snyk.plugin.SnykPostStartupActivity.execute(SnykPostStartupActivity.kt:93)
            at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invokeSuspend(StartupManagerImpl.kt:534)
            at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invoke(StartupManagerImpl.kt)
            at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1$1.invoke(StartupManagerImpl.kt)
            at kotlinx.coroutines.intrinsics.UndispatchedKt.startUndispatchedOrReturn(Undispatched.kt:78)
            at kotlinx.coroutines.BuildersKt__Builders_commonKt.withContext(Builders.common.kt:167)
            at kotlinx.coroutines.BuildersKt.withContext(Unknown Source)
            at com.intellij.ide.startup.impl.StartupManagerImplKt$launchActivity$1.invokeSuspend(StartupManagerImpl.kt:532)
0

Thanks @... 
I have passed the stack trace to Snyk support team. waiting for their reply.

0

Same issue with 2024.2.3.
Occurs only when closing a project that was just opened for the first time.

I could fix my issue by disabling IDE Sync plugin.

Looks a deadlock :
(full thread dump available)

"AWT-EventQueue-0" #68 [16781] prio=6 os_prio=0 cpu=234615,65ms elapsed=11937,19s tid=0x00005a9f57020140 nid=16781 waiting on condition  [0x000079c8a0dfc000]
  java.lang.Thread.State: WAITING (parking)
       at jdk.internal.misc.Unsafe.park(java.base@21.0.4/Native Method)
       - parking to wait for  <0x000000070ac43598> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
       at java.util.concurrent.locks.LockSupport.park(java.base@21.0.4/LockSupport.java:371)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(java.base@21.0.4/AbstractQueuedSynchronizer.java:519)
       at java.util.concurrent.ForkJoinPool.unmanagedBlock(java.base@21.0.4/ForkJoinPool.java:4013)
       at java.util.concurrent.ForkJoinPool.managedBlock(java.base@21.0.4/ForkJoinPool.java:3961)
       at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(java.base@21.0.4/AbstractQueuedSynchronizer.java:1707)
       at java.awt.EventQueue.getNextEvent(java.desktop/EventQueue.java:573)
       at com.intellij.ide.IdeEventQueue.getNextEvent(IdeEventQueue.kt:467)
       at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.pumpEventsForHierarchy(PlatformTaskSupport.kt:396)
       at com.intellij.openapi.progress.impl.PlatformTaskSupportKt.access$pumpEventsForHierarchy(PlatformTaskSupport.kt:1)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:157)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$2.invoke(PlatformTaskSupport.kt:131)
       at com.intellij.openapi.application.impl.ModalityKt.inModalContext(modality.kt:12)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:131)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport.access$runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:44)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:116)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport$runWithModalProgressBlockingInternal$1.invoke(PlatformTaskSupport.kt:112)
       at com.intellij.openapi.progress.ContextKt.prepareThreadContext(context.kt:85)
       at com.intellij.openapi.progress.impl.PlatformTaskSupport.runWithModalProgressBlockingInternal(PlatformTaskSupport.kt:112)
       at com.intellij.platform.ide.progress.TasksKt.runWithModalProgressBlocking(tasks.kt:178)
       at com.intellij.configurationStore.SaveAndSyncHandlerImpl.saveSettingsUnderModalProgress(SaveAndSyncHandlerImpl.kt:282)
       at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.kt:384)
 

0
Could you please advise what the full official name of the plugin that you have disabled? Was it "https://plugins.jetbrains.com/plugin/15525-ide-settings-sync"? Is there a link to locate it in "https://plugins.jetbrains.com/"?
0

I guess yes.
Name: Setting Sync
Description: Synchronizes settings across all JetBrains IDE instances using your JetBrains account. The list of synced settings is customizable and includes UI, keymaps, code style, plugins, and much more.
Version : bundled 242.23339.11

0
Thank you for the update. If possible, would you please try this plugin in the latest release(Currently 2024.3, and 2024.3.1 is coming soon)? If the issue persists, please feel free to file a ticket in "https://youtrack.jetbrains.com/newIssue?project=IJPL" with the zipped log folder, which can be collected from "Help | Collect Logs and Diagnostic Data".

https://youtrack.jetbrains.com/newIssue?project=IJPL
0

My problem is back since some days. I create a dedicated ticket : https://youtrack.jetbrains.com/issue/IJPL-175136/IDE-does-not-close

We can't upgrade to 2024.3 for now because we have a blocking issue with SpringBootTest annotation  :
 java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...)

0
Thank you. Is it possible to perform the update on the IDE as a test?

Apart from the dump, could you please attach the idea.log also? The whole zipped log folder(Help | Collect Logs and Diagnostic Data) would be easier to collect.
0

请先登录再写评论。