Comments (5)
@jansorg can you advise ?
from intellij-plugin.
Thanks for reporting and providing the stack dump!
The AWT event queue thread is processing the close of the current project:
at com.intellij.configurationStore.SaveAndSyncHandlerImpl.saveSettingsUnderModalProgress(SaveAndSyncHandlerImpl.kt:265)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject(ProjectManagerImpl.kt:370)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeProject$default(ProjectManagerImpl.kt:316)
at com.intellij.openapi.project.impl.ProjectManagerImpl.closeAndDispose(ProjectManagerImpl.kt:416)
at com.intellij.ide.actions.CloseProjectsActionBase.actionPerformed(CloseProjectsActionBase.kt:26)
It's launching a WriteAction and is waiting for ReadActions to finish.
Even though the KarateLexer is currently processing a file (as part of the indexing), it's unclear if it's the cause of the freeze or if it's working as intended and the dump was just taken at a moment when it was processing a .feature file.
AFAIK, the problems view is also executing a read action:
"Alarm Pool" prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: TIMED_WAITING
on com.intellij.openapi.application.impl.ReadMostlyRWLock@3c753be7
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
at [email protected]/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:252)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.waitABit(ReadMostlyRWLock.java:164)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.startRead(ReadMostlyRWLock.java:128)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:921)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:76)
at com.intellij.analysis.problemsView.toolWindow.HighlightingPanel.updateStatus(HighlightingPanel.kt:150)
I checked KarateLexer
and couldn't spot an obvious bug.
Even if Karate is the culprit of this freeze, we're unable to fix it without the content of the indexed .feature file. AFAIK this file is unavailable.
from intellij-plugin.
Even though the KarateLexer is currently processing a file (as part of the indexing), it's unclear if it's the cause of the freeze or if it's working as intended and the dump was just taken at a moment when it was processing a .feature file.
I have attached all thread dump files here. In some thread dumps, you can see it stuck in Karate related code for more than 30 seconds. Some are near 100 seconds.
IntelliJIdea2023.zip
Even if Karate is the culprit of this freeze, we're unable to fix it without the content of the indexed .feature file. AFAIK this file is unavailable.
We will ask the user about it. If we can get it, we will share it here.
from intellij-plugin.
Thanks! I've found and fixed a cause of an endless lexer loop. It'll be published ASAP.
from intellij-plugin.
new version 1.7.6.356-232 has been approved and is available: https://plugins.jetbrains.com/plugin/19232-karate/versions
from intellij-plugin.
Related Issues (20)
- Bug: Structure not complete HOT 3
- New run config should take working dir and default to module wd HOT 1
- Jump to test failure HOT 9
- Endless Formatting Bug HOT 7
- Formatter flattens JavaScript HOT 6
- Warnings due to missing semi-colon HOT 5
- JavaScript invalid warning HOT 1
- Cmd+Click to Source
- Ternary assignment erratic warning HOT 1
- Error messages HOT 5
- 'match header' formatting breaks HOT 1
- Karate.env overwrite Tags propterty HOT 2
- Incorrect warning/error message HOT 2
- Environment variables field missing with latest plugin HOT 5
- Code reformatting does not reformat Examples and JSON request data tables HOT 1
- Cannot set breakpoints for features in jars HOT 1
- Formatting is inconsistent HOT 3
- Failed to Perform Operation Cannot perform operation. Too complex, sorry. HOT 2
- Unable to run/debug code for karate 1.2.0
- Do not format graphql/multiline text HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from intellij-plugin.