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 188309

Summary: Deadlock during closing a project
Product: php Reporter: Tomas Mysik <tmysik>
Component: EditorAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: normal CC: dstrupl
Priority: P2 Keywords: THREAD
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: thread dump

Description Tomas Mysik 2010-07-02 10:03:54 UTC
Created attachment 100566 [details]
thread dump

Deadlock during closing a project with several (PHP) files opened in the editor.

Product Version: NetBeans IDE Dev (Build 100702-a44c03e9ad9b)
Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01
System: Linux version 2.6.32-23-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 David Strupl 2010-07-08 14:54:14 UTC
I have honestly tried to figure out what's wrong. But the only thing that seems strange is that

        at org.netbeans.modules.php.project.util.PhpProjectUtils.getPhpProject(PhpProjectUtils.java:105)
        at org.netbeans.modules.php.project.api.PhpLanguageOptions.getProperties(PhpLanguageOptions.java:146)
        at org.netbeans.modules.php.editor.lexer.GSFPHPLexer.<init>(GSFPHPLexer.java:72)
        at org.netbeans.modules.php.editor.lexer.GSFPHPLexer.create(GSFPHPLexer.java:81)

while creating a lexer for PHP it needs a project. Is it really necessary (for creating a lexer) to know its project properties?
Comment 2 Tomas Mysik 2010-07-08 15:22:21 UTC
(In reply to comment #1)
> Is it really necessary (for creating a lexer) to know its project properties?

Radek will likely know more, please evaluate. Thanks.
Comment 4 Quality Engineering 2010-07-20 03:15:24 UTC
Integrated into 'main-golden', will be available in build *201007200001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/b734a5e4af64
User: Radek Matous <rmatous@netbeans.org>
Log: #188309 - Deadlock during closing a project