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.
Summary: | Race condition in ModuleLayersFS.setURLs | ||
---|---|---|---|
Product: | ide | Reporter: | Petr Cyhelsky <cyhelsky> |
Component: | Features On Demand | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anebuzelsky, jiriprox, jlahoda, jrechtacek, jskrivanek, marfous, musilt2, pjiricka, ralphbenjamin, stezeb, ttokoly, tzezula, vkvashin, yardus |
Priority: | P1 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 184974 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
Petr Cyhelsky
2012-02-10 10:04:26 UTC
Created attachment 115566 [details]
stacktrace
this exception occurs when J2EE is enabled via creating new web project The same happens for me when activating Java SE through New Project wizard. Created attachment 115570 [details]
stacktrace
Fresh trunk build (20120208), jdk 7u3, Linux. First start with a new userdir, closed Start Page, opened New Projects wizard and started creating AnagramGame sample.
For me it was same steps as Tonda, but with opening of web project instead of anagram and using ergonomics repo instead of trunk... Increasing priority. I needed to manually disable Java SE (which was presented as active in Plugins manager, but it was not) and manually enable. Without this I was unable to work with Java SE projects. *** Bug 208243 has been marked as a duplicate of this bug. *** Another way to make it work is to restart the IDE Created attachment 115621 [details]
stacktrace
Created attachment 115654 [details]
stacktrace
Activating Java EE features during the New Web Project wizard.
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=184974 Created attachment 115655 [details]
stacktrace
Created attachment 115669 [details]
stacktrace
NPE when creating new project
Created attachment 115821 [details]
stacktrace
Just open Mobile Application in fresh build of IDE (fresh userdir too).
Created attachment 115926 [details]
stacktrace
Opened a full IDE (userdir wasn't empty, I don't remember what was there), tried creating C/C++ project- got an exception
Created attachment 115927 [details]
stacktrace
Opened IDE with empy userdir, tries creating C/C++ project
Created attachment 115931 [details]
stacktrace
1, started IDE with clean userdir
2, create new web application
-> exception thrown during enabling/finding web&ee
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=184974 Created attachment 116019 [details]
stacktrace
To reproduce:
- install IDE from zip
- start IDE
- open new project wizard
- choose Java|Java Application
- while finding feature is in progress it throws this exception
Created attachment 116020 [details]
stacktrace
Product Version: NetBeans IDE Dev (Build 201202220400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb)
Activating Mobility support.
I was hoping all manipulation with modules must be done with ModuleManager.mutex(), but it does not seem to be fully true. Trying to enforce that: ergonomics#ea0417e828c3 Created attachment 116054 [details]
stacktrace
created new project
Integrated into 'main-golden', will be available in build *201202260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ea0417e828c3 User: Jaroslav Tulach <jtulach@netbeans.org> Log: #208234: Allow changes of layers only under ModuleManager.mutex().writeAccess Created attachment 116131 [details]
stacktrace
activating PHP by having new userdir
I haven't #ea0417e828c3 in web-main yet, so it's OK. *** Bug 208388 has been marked as a duplicate of this bug. *** |