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 248902 - Deadlock when closing project properties after enabling NodeJS
Summary: Deadlock when closing project properties after enabling NodeJS
Status: RESOLVED DUPLICATE of bug 248122
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2014-11-25 20:56 UTC by Vladimir Riha
Modified: 2014-11-26 04:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
thread dump (43.01 KB, text/plain)
2014-11-25 20:56 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-11-25 20:56:42 UTC
Created attachment 150706 [details]
thread dump

What caused it (I'm sorry it is a bit ugly use case I was trying for sake of testing...)
 - clone https://github.com/tastejs/todomvc
 - in some text editor, open todomvc/samples/batman/package.json and replace it with following ( I put the \n to project name):

{
  "name": "todomv\nc-batman",
  "description": "TodoMVC todo app using batman.js",
  "version": "0.0.0",
  "dependencies": {},
  "devDependencies": {
    "coffee-script": "~1.6.2"
  },
  "scripts": {
    "compile": "coffee -c app.coffee",
    "watch": "coffee -wc app.coffee"
  },
  "private": true
}
 - start IDE
 - open this folder as project 
 - go to project properties and enable NodeJS support and check the package.json configuration checkbox
 - press OK to close project properties
=> deadlock


Thank you



Build: NetBeans IDE Dev (Build web-main-1584-on-20141125)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux
Comment 1 Vladimir Riha 2014-11-25 21:11:19 UTC
It seems to be random/rare, I cannot reproduce it using same steps. Tomasi, could you please reassign if necessary? Based on the thread dump it might not be related to HTML project but perhaps a JDK problem, but I can't say for sure. Issue 248122 seems to be very similar. 

Thank you
Comment 2 Vladimir Riha 2014-11-26 00:06:58 UTC

*** This bug has been marked as a duplicate of bug 248122 ***
Comment 3 Tomas Mysik 2014-11-26 04:48:39 UTC
Yes, it seems to be a JDK problem.

Thanks.