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 246119 - org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Code Model Parser 0: Parsing C:\Users\maggi_000\Dropbox\Entwicklung\Projekte\Cpp\Progger\main.cpp
Summary: org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Co...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
: 241510 246552 247101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-30 05:31 UTC by Exceptions Reporter
Modified: 2015-09-03 10:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 210961


Attachments
stacktrace (6.13 KB, text/plain)
2014-07-30 05:32 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-07-30 05:31:58 UTC
This issue was reported manually by alexvsimon.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 201407280405)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 8

User Comments:
GUEST: It happened after i fiddled a while to get a git repository running. After trying to rebase my files where corrupted (at least thats what netbeans said) and the ide would deadlock every time -any- prject would be parsed. Even after uninstalling, the problem prevailed
The issue was solved by clearing the cache in appdata/local




Stacktrace: 
org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Code Model Parser 0: Parsing C:\Users\maggi_000\Dropbox\Entwicklung\Projekte\Cpp\Progger\main.cpp
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.createUID(LibraryManager.java:623)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.getLibrary(LibraryManager.java:616)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager$LibraryEntry.access$200(LibraryManager.java:591)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.getLibrary(LibraryManager.java:406)
   at org.netbeans.modules.cnd.modelimpl.csm.core.LibraryManager.resolveFileProjectOnInclude(LibraryManager.java:238)
   at org.netbeans.modules.cnd.modelimpl.parser.apt.APTProjectFileBasedWalker.include(APTProjectFileBasedWalker.java:95)
Comment 1 Exceptions Reporter 2014-07-30 05:32:00 UTC
Created attachment 148398 [details]
stacktrace
Comment 2 Alexander Simon 2014-07-30 14:55:57 UTC
Looks like repository is broken:
LibraryManager creates new instance of LibProjectImpl which is read from repository. Repository by mistake read ProjectImpl instead of LibProjectImpl. It result in deadlock in LibraryManager because ProjectImpl requires to  instantiate own libraries.
Comment 3 Alexander Simon 2014-08-19 15:04:16 UTC
*** Bug 246552 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Simon 2014-08-19 15:29:22 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/3a30ee9e7d9d
Comment 5 Quality Engineering 2014-08-20 02:21:15 UTC
Integrated into 'main-silver', will be available in build *201408200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3a30ee9e7d9d
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246119 org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Code Model Parser 0: Parsing C:\Users\maggi_000\Dropbox\Entwicklung\Projekte\Cpp\Progger\main.cpp
Comment 6 Alexander Simon 2014-08-21 12:34:11 UTC
See bug #246608
Comment 7 Alexander Simon 2014-08-21 12:43:36 UTC
transplanted in releases branch release801, change set:
286979:6d58febb15a5
Comment 8 Quality Engineering 2014-08-22 02:22:05 UTC
Integrated into 'releases/release801', will be available in build *201408212300* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/6d58febb15a5
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #246119 org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException: Code Model Parser 0: Parsing C:\Users\maggi_000\Dropbox\Entwicklung\Projekte\Cpp\Progger\main.cpp
(transplanted from 3a30ee9e7d9de16cc880ffcbf9d575ceb38a070f)
Comment 9 Alexander Simon 2014-09-15 06:08:18 UTC
*** Bug 247101 has been marked as a duplicate of this bug. ***
Comment 10 Alexander Simon 2015-09-03 10:04:55 UTC
*** Bug 241510 has been marked as a duplicate of this bug. ***