This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 243243 - org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Editor Parsing Loop (201403101706)
Summary: org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Ed...
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: CDI (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-25 09:15 UTC by jherkel
Modified: 2016-07-07 08:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 208669


Attachments
stacktrace (5.94 KB, text/plain)
2014-03-25 09:15 UTC, jherkel
Details
All screenshots mentioned + the sample NetBeans project to reproduce the bug (1.08 MB, application/x-zip-compressed)
2014-08-29 11:08 UTC, zmirc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jherkel 2014-03-25 09:15:56 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
jherkel: I compiled source files from command line via maven clean install




Stacktrace: 
org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Editor Parsing Loop (201403101706)
   at org.netbeans.api.java.classpath.ClassPath$Entry.getRoot(ClassPath.java:776)
   at org.netbeans.api.java.classpath.ClassPath.createRoots(ClassPath.java:284)
   at org.netbeans.api.java.classpath.ClassPath.getRoots(ClassPath.java:268)
   at org.netbeans.api.java.classpath.ClassPath.findResource(ClassPath.java:448)
   at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasResource(WebBeansActionHelper.java:272)
   at org.netbeans.modules.web.beans.navigation.actions.WebBeansActionHelper.hasJsr330(WebBeansActionHelper.java:209)
Comment 1 jherkel 2014-03-25 09:15:58 UTC
Created attachment 146292 [details]
stacktrace
Comment 2 zmirc 2014-08-29 11:06:52 UTC
I didn't get any stack trace, but I used VisualVM to sample the CPU usage and I saw that Editor Parsing Loop (201403101706) is blocking 1 CPU core forever, so I think it's relevant to this bug report.

Problem: when I have some specific files opened in NetBeans in split mode (left right - see screenshot), NetBeans blocks 1 core of my CPU for ever.
The only solution is to close the opened files. It also happened without split mode.

The attached zip file is a NetBeans Maven web app project that contains a sample of the real project in which I encountered this bug.

Steps to reproduce:
1. Start NetBeans on Windows 8 x64 Jdk 8 u05 x32. I have the latest NetBeans with the latest updates.
2. Import the project
3. Open those 3 xhtml documents as shown in the screenshot.
4. Click through them a few times to activate the editor. I mean to click somewhere in the shown code in all 3 of the files, one by one.
5. You should see that NetBeans is blocking one core now with the Editor Parsing Loop (201403101706) if you activate the sampler in VisualVM

!!! All attached files starting with zmirc* are related to this comment.

I hope this will reproduce the error because it's extremely annoying because it heats up my laptop and it kills the battery very fast due to the useless 100% cpu usage.
Comment 3 zmirc 2014-08-29 11:08:52 UTC
Created attachment 148953 [details]
All screenshots mentioned + the sample NetBeans project to reproduce the bug
Comment 4 zmirc 2014-08-29 11:25:54 UTC
Additional information for reproducing:
- You should also download the dependencies specified in the pom.xml project through NetBeans, so that you will not have errors in the editor view.


(In reply to zmirc from comment #2)
> I didn't get any stack trace, but I used VisualVM to sample the CPU usage
> and I saw that Editor Parsing Loop (201403101706) is blocking 1 CPU core
> forever, so I think it's relevant to this bug report.
> 
> Problem: when I have some specific files opened in NetBeans in split mode
> (left right - see screenshot), NetBeans blocks 1 core of my CPU for ever.
> The only solution is to close the opened files. It also happened without
> split mode.
> 
> The attached zip file is a NetBeans Maven web app project that contains a
> sample of the real project in which I encountered this bug.
> 
> Steps to reproduce:
> 1. Start NetBeans on Windows 8 x64 Jdk 8 u05 x32. I have the latest NetBeans
> with the latest updates.
> 2. Import the project
> 3. Open those 3 xhtml documents as shown in the screenshot.
> 4. Click through them a few times to activate the editor. I mean to click
> somewhere in the shown code in all 3 of the files, one by one.
> 5. You should see that NetBeans is blocking one core now with the Editor
> Parsing Loop (201403101706) if you activate the sampler in VisualVM
> 
> !!! All attached files starting with zmirc* are related to this comment.
> 
> I hope this will reproduce the error because it's extremely annoying because
> it heats up my laptop and it kills the battery very fast due to the useless
> 100% cpu usage.
Comment 5 zmirc 2014-08-29 12:27:48 UTC
To make your life eaasier...

Locations of the 3 xhtml files that have to be opened in order to reproduce the bug:
src\main\webapp\resources\pages\medic\profile.xhtml
src\main\webapp\resources\pages\home.xhtml
src\main\webapp\WEB-INF\templates\master.xhtml

Open them and put them in split view (left-right), as in the attached screenshot.

(In reply to zmirc from comment #4)
> Additional information for reproducing:
> - You should also download the dependencies specified in the pom.xml project
> through NetBeans, so that you will not have errors in the editor view.
> 
> 
> (In reply to zmirc from comment #2)
> > I didn't get any stack trace, but I used VisualVM to sample the CPU usage
> > and I saw that Editor Parsing Loop (201403101706) is blocking 1 CPU core
> > forever, so I think it's relevant to this bug report.
> > 
> > Problem: when I have some specific files opened in NetBeans in split mode
> > (left right - see screenshot), NetBeans blocks 1 core of my CPU for ever.
> > The only solution is to close the opened files. It also happened without
> > split mode.
> > 
> > The attached zip file is a NetBeans Maven web app project that contains a
> > sample of the real project in which I encountered this bug.
> > 
> > Steps to reproduce:
> > 1. Start NetBeans on Windows 8 x64 Jdk 8 u05 x32. I have the latest NetBeans
> > with the latest updates.
> > 2. Import the project
> > 3. Open those 3 xhtml documents as shown in the screenshot.
> > 4. Click through them a few times to activate the editor. I mean to click
> > somewhere in the shown code in all 3 of the files, one by one.
> > 5. You should see that NetBeans is blocking one core now with the Editor
> > Parsing Loop (201403101706) if you activate the sampler in VisualVM
> > 
> > !!! All attached files starting with zmirc* are related to this comment.
> > 
> > I hope this will reproduce the error because it's extremely annoying because
> > it heats up my laptop and it kills the battery very fast due to the useless
> > 100% cpu usage.
Comment 6 Martin Balin 2016-07-07 08:54:06 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss